apache / apache/cloudstack

Support download of template which are registered as Direct Download

未關閉
#7,703 8 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
complexity:trivial component:kvm component:templates type:improvement
主要語言
Java
星號
3.1k
分支
1.4k
平均合併
6 天 19 小時
30 天內合併 PR
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 摘要。