apache / apache/cloudstack

Support download of template which are registered as Direct Download

Đang mở
#7,703 8 bình luận 0 reaction 0 người được giao Xem trên GitHub
complexity:trivial component:kvm component:templates type:improvement
Ngôn ngữ chính
Java
Star
3.1k
Fork
1.4k
Merge trung bình
6 ngày 19 giờ
Pull request đã merge (30 ngày)
32

Mô tả

##### 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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Bắt đầu bằng cách lần theo quy trình tải xuống template được mô tả trong issue và so sánh cách xử lý các template trong bộ nhớ chính với các template trong bộ nhớ phụ. Tái hiện lỗi bằng một template qcow2 được đăng ký với Direct Download, sau đó xác minh rằng việc tải xuống template gốc thành công mà không làm hỏng đường dẫn bộ nhớ phụ hiện có.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
java
Lĩnh vực
cloud, infrastructure
Loại issue
Tính năng
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
35/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.