apache / cloudstack

Apache CloudStack is an opensource Infrastructure as a Service (IaaS) cloud computing platform
https://cloudstack.apache.org/
Apache License 2.0
1.97k stars 1.09k forks source link

A button "resume download" is needed to finish-up template downloading under images/Templates/zones #6647

Open gg4126 opened 2 years ago

gg4126 commented 2 years ago
ISSUE TYPE
COMPONENT NAME
UI
CLOUDSTACK VERSION
4.17.0.1
CONFIGURATION

Advanced Networking

OS / ENVIRONMENT

RHEL-7.9

SUMMARY

While a template is being uploaded/pushed to a specific zone due to network issues the image/template was not fully downloaded onto that zone. Currently the download percentage is showing as 31%, and even though the management server was bounced yet the download is not getting completed and am looking for a button to resume the download but there is none.

STEPS TO REPRODUCE
step1: Navigate to images/templates and click "Register template from URL"
step2: Fill-up the form to download the template to the desired zone and click OK
step3: While the template is being downloaded - due to network outages or the apache server where qcow2 templates are kept suddenly goes down this will interrupt the template downloading to a specific zone(s).
step4: Once the network outage is resolved, the user should be in a position to "resume download" on images/Templates/zones tab which is NOT available at the moment, hence creating this enhancement request
EXPECTED RESULTS
As soon as the network issue is resolved, the user should be able to resume the template download by clicking "Resume Download" button. 
ACTUAL RESULTS
there is no button to resume the template download; 

template-download-issues

rohityadavcloud commented 2 years ago

I think if you're uploading an ISO or template and something goes wrong with SSVM and mgmt server, it might loose track of it and you'll need to redo the upload (there's a timeout after which the upload will be marked as fail).

gg4126 commented 2 years ago

Thanks Rohit for your response! the alternate solution works, and we are good with it for now, but please consider having this feature to resume the download if it is possible in the upcoming releases.

gitsan13 commented 2 years ago

I would like to contribute to this enhancement. Can you guide me through the process?

gg4126 commented 2 years ago

@gitsan13, Thanks for your interest on this enhancement, please get in touch with @rohityadavcloud - he can guide you thru...thanks!