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 摘要。