Support download of template which are registered as Direct Download
- Dominant language
- Java
- Stars
- 3.1k
- Forks
- 1.4k
- Avg merge
- 6d 19h
- Merged PRs (30d)
- 32
Description
##### 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


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
Contributor guide
Research direction
Start by tracing the template download workflow described in the issue and compare how templates in primary storage are handled with templates in secondary storage. Reproduce the failure using a qcow2 template registered with Direct Download, then verify that downloading the original template succeeds without breaking the existing secondary-storage path.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- cloud, infrastructure
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100