Uh oh!
There was an error while loading. Please reload this page.
Add local ISO upload via UI - #3251
Conversation
DaanHoogland
commented
Apr 1, 2019
@blueorangutan package |
blueorangutan
commented
Apr 1, 2019
@DaanHoogland a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
blueorangutan
commented
Apr 1, 2019
Packaging result: ✔centos6 ✔centos7 ✔debian. JID-2666 |
DaanHoogland
left a comment
There was a problem hiding this comment.
looks ok, in spite of my comments. awaiting testing and such
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
borisstoyanov
commented
Apr 2, 2019
@blueorangutan package |
blueorangutan
commented
Apr 2, 2019
@borisstoyanov a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
blueorangutan
commented
Apr 2, 2019
Packaging result: ✔centos6 ✖centos7 ✔debian. JID-2669 |
nvazquez
commented
Apr 2, 2019
@blueorangutan package |
blueorangutan
commented
Apr 2, 2019
@nvazquez a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
blueorangutan
commented
Apr 2, 2019
Packaging result: ✔centos6 ✔centos7 ✔debian. JID-2670 |
nvazquez
commented
Apr 2, 2019
@blueorangutan test |
blueorangutan
commented
Apr 2, 2019
@nvazquez a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
blueorangutan
commented
Apr 3, 2019
Trillian test result (tid-3463)
|
borisstoyanov
left a comment
There was a problem hiding this comment.
LGTM, manually checked the upload is working
nvazquez
commented
Apr 4, 2019
@blueorangutan package |
blueorangutan
commented
Apr 4, 2019
@nvazquez a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
blueorangutan
commented
Apr 4, 2019
Packaging result: ✔centos6 ✔centos7 ✔debian. JID-2679 |
nvazquez
commented
Apr 4, 2019
@blueorangutan test |
blueorangutan
commented
Apr 4, 2019
@nvazquez a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
PaulAngus
commented
Apr 8, 2019
I just tried to upload an iso from my local machine and from a UI perspective it failed silently, after 20 mins it appeared to still be uploading. However from the logs, there was an immediate NPE: |
PaulAngus
commented
Apr 15, 2019
Not sure that this message should go to end users. This is good for logs. but end users should get something LESS specific. |
blueorangutan
commented
Apr 15, 2019
Trillian test result (tid-3495)
|
anuragaw
commented
Apr 17, 2019
Verified @borisstoyanov observation that when create button is clicked for templates or ISOs an entry is created in database and even in failed state a wrong entry is created. Logic seems to be separable but needs ~1 day for separation and testing. For message can we show something more generic like - "Error in uploading ISO. Please check system settings on SSVM." ? CC/ @PaulAngus , @rhtyd , @borisstoyanov |
yadvr
commented
Apr 17, 2019
@anuragaw I would prefer something like "Failed to upload {iso/template} due to system configuration please contact your administrator." and in the API that finds the URL of the remote endpoint simply check if we've setup the ssl certificate (from keystore table we can check if cpvm/ssvm certificate exists) and log a statement that upload will possibly fail due to missing SSL cert setup. |
yadvr
commented
Apr 17, 2019
The feature of uploading a volume/template and with this PR iso requires that the env has ssl/tls certificates setup. The failure to upload a template/volume/iso when endpoint is incorrectly setup with a wrong certificate (default) is a known case and should not limit the acceptance of the PR. Instead in a separate PR we can attempt to allow users to upload a template/volume/iso when admin has not setup a certs by providing it a non-https endpoint of the ssvm. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
yadvr
commented
May 23, 2019
@blueorangutan package |
blueorangutan
commented
May 23, 2019
@rhtyd a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
blueorangutan
commented
May 23, 2019
Packaging result: ✔centos6 ✔centos7 ✔debian. JID-2760 |
nvazquez
commented
May 30, 2019
Thanks @borisstoyanov @rhtyd, I'll close/open to re-kick Travis |
PaulAngus
left a comment
There was a problem hiding this comment.
LGTM - tested by uploading a VyOS iso from local machine and using it to create a new instance.
yadvr
commented
Jun 5, 2019
Merging based on last smoketests and reviews. |
Description
Problem: Users can register ISOs from URL but cannot upload local ISOs.
Root cause: CloudStack provides browser-based upload support for volumes and templates, but ISOs are not supported.
Solution:
The existing browser-based upload from local functionality for templates and volumes (https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=39620237) is extended to support uploading local ISOs.
Types of changes
Screenshots (if appropriate):
How Has This Been Tested?
Templates tab -> ISOs -> Upload from local -> Select file on local file system