apache / apache/cloudstack

Support download of template which are registered as Direct Download

オープン
#7,703 コメント 8 件 リアクション 0 件 担当者 0 名 GitHub で見る
complexity:trivial component:kvm component:templates type:improvement
主要言語
Java
スター
3.1k
フォーク
1.4k
平均マージ
6日 19時間
マージ済み PR(30日)
32

説明

##### ISSUE TYPE

* Improvement Request

##### COMPONENT NAME

~~~

Component: template, kvm

~~~

##### CLOUDSTACK VERSION

~~~
4.18

~~~

##### SUMMARY

Support download of template which are registered as Direct Download

Steps to reproduce the issue

1. Register a qcow2 template > select the Direct Download option

2. Launch a vm from the registered template

3. Try to download the template ( images> template> Download template

4. The download of template fails

Screenshot

![Screenshot 2023-06-28 at 4 53 58 PM](https://github.com/apache/cloudstack/assets/1401014/a9eece25-0918-4048-9943-fd3101b9ce1c)

![Screenshot 2023-06-28 at 4 36 44 PM](https://github.com/apache/cloudstack/assets/1401014/665a325c-4a01-4ba3-a24a-39143f683cd8)

Expected behavior
-----------

Currently we are storing the direct downloaded templates in primary storage

Cloudstack supports the download of templates only if they are present in the seconday storage.

There could be use-case scenario if a user wants to download the original template which is registered as direct download

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

まず、issue に記載されているテンプレートのダウンロードワークフローを追跡し、プライマリストレージのテンプレートとセカンダリストレージのテンプレートで処理方法がどのように異なるかを比較します。Direct Download で登録した qcow2 テンプレートを使って失敗を再現し、その後、既存のセカンダリストレージのパスを壊すことなく元のテンプレートを正常にダウンロードできることを確認します。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
java
領域
cloud, infrastructure
issue の種類
機能追加
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。