[GitHub] [cloudstack-primate] rhtyd commented on issue #62: Custom Upload Action - Template, ISO, volume
rhtyd commented on issue #62: URL: https://github.com/apache/cloudstack-primate/issues/62#issuecomment-631831526 Read the docs @Android1968 http://docs.cloudstack.apache.org/en/latest/adminguide/systemvm.html#using-a-ssl-certificate-for-the-console-proxy This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [cloudstack-primate] rhtyd commented on issue #62: Custom Upload Action - Template, ISO, volume
rhtyd commented on issue #62: URL: https://github.com/apache/cloudstack-primate/issues/62#issuecomment-631310762 @Android1968 this feature requires SSL/TLS certificates to be setup in the env for SSVM. The screen shots are from legacy UI, if SSVM is SSL enabled it should work with Primate. This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [cloudstack-primate] rhtyd commented on issue #62: Custom Upload Action - Template, ISO, volume
rhtyd commented on issue #62: Custom Upload Action - Template, ISO, volume URL: https://github.com/apache/cloudstack-primate/issues/62#issuecomment-580095487 @utchoang please carry on Florian's work of VM deployment wizard. This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[GitHub] [cloudstack-primate] rhtyd commented on issue #62: Custom Upload Action - Template, ISO, volume
rhtyd commented on issue #62: Custom Upload Action - Template, ISO, volume URL: https://github.com/apache/cloudstack-primate/issues/62#issuecomment-580092256 Assigned to @Pearl1594 Components that can be used: https://www.antdv.com/components/upload/ https://www.antdv.com/components/radio/ Old code reference: https://github.com/apache/cloudstack/blob/master/ui/scripts/templates.js#L796 (notice how post is sent). Here's an example on how to use `axios` for file upload: https://serversideup.net/uploading-files-vuejs-axios/ Open SSVM public IP in a new tab and open with `https://` end point and accept cert warning. Then test against old UI and primate. The existing form components for register template and iso can be extended. A new component for volume upload would be needed though. This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[GitHub] [cloudstack-primate] rhtyd commented on issue #62: Custom Upload Action - Template, ISO, volume
rhtyd commented on issue #62: Custom Upload Action - Template, ISO, volume URL: https://github.com/apache/cloudstack-primate/issues/62#issuecomment-578630830 @utchoang cc @svenvogel - any update/progress on this? If you're unable to work, please do share so I can assign it to someone else. This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[GitHub] [cloudstack-primate] rhtyd commented on issue #62: Custom Upload Action - Template, ISO, volume
rhtyd commented on issue #62: Custom Upload Action - Template, ISO, volume URL: https://github.com/apache/cloudstack-primate/issues/62#issuecomment-576599959 @utchoang are you able to work on it next? Thanks. This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[GitHub] [cloudstack-primate] rhtyd commented on issue #62: Custom Upload Action - Template, ISO, volume
rhtyd commented on issue #62: Custom Upload Action - Template, ISO, volume URL: https://github.com/apache/cloudstack-primate/issues/62#issuecomment-576195849 @utchoang I guess you can pick this one next, thanks. This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[GitHub] [cloudstack-primate] rhtyd commented on issue #62: Custom Upload Action - Template, ISO, volume
rhtyd commented on issue #62: Custom Upload Action - Template, ISO, volume URL: https://github.com/apache/cloudstack-primate/issues/62#issuecomment-574532034 @utchoang will you be able to work on it? Otherwise you may also have a look at: https://github.com/apache/cloudstack-primate/issues/39 (I can explain in detail, as it will a slightly complex task requiring some ldap setup) This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[GitHub] [cloudstack-primate] rhtyd commented on issue #62: Custom Upload Action - Template, ISO, volume
rhtyd commented on issue #62: Custom Upload Action - Template, ISO, volume URL: https://github.com/apache/cloudstack-primate/issues/62#issuecomment-571421608 @utchoang this is a tricky one as it requires an environment that can access SSVM public IP to upload the file, the reference/test server (acs.shapeblue.com) on port-forwards to the management server so you won't be able to access the internal ssvm public IP. The other issue is that this features requires the environment to be SSL enabled as the URL returned by the getUploadParamsForTemplate API is https enabled. For example as seen in dev tools: ![Screenshot from 2020-01-07 09-03-41](https://user-images.githubusercontent.com/95203/71866693-1db65780-312d-11ea-9cc8-a0d07df50efc.png) The code for all of the upload feature (for uploading template, iso and volume) roughly follows this pattern: - Call to register the template/iso/volume via the getUploadParamsForTemplate/getUploadParamsForIso/getUploadParamsForVolume - This API returns post URL, and some secrets/signatures - The UI makes a HTTP post request of the file and receives 'upload successful' or some suitable message ![Screenshot from 2020-01-07 09-17-48](https://user-images.githubusercontent.com/95203/71867083-b3061b80-312e-11ea-8113-0ecceb8dc774.png) ![Screenshot from 2020-01-07 09-17-58](https://user-images.githubusercontent.com/95203/71867084-b39eb200-312e-11ea-944b-c1580201c8c0.png) For code reference you can see: https://github.com/apache/cloudstack/blob/master/ui/scripts/templates.js#L796 You may try to implement this based on the above description and reference implementation from the old UI and I can help with testing. Let me know if you're unable to do so, in which case pick another task from the list (I'll ping you on the other tasks if you want)? This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[GitHub] [cloudstack-primate] rhtyd commented on issue #62: Custom Upload Action - Template, ISO, volume
rhtyd commented on issue #62: Custom Upload Action - Template, ISO, volume URL: https://github.com/apache/cloudstack-primate/issues/62#issuecomment-568911257 @utchoang @svenvogel it needs to be the full form with the upload button/component, as in the old UI. I advise you to start with the simpler task of #50 and #86 and reuse that form with the upload iso/template form (this ticket). By doing this you can get a feel for the action form and reuse parts of it in the upload iso/template form. What do you think @svenvogel ? This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[GitHub] [cloudstack-primate] rhtyd commented on issue #62: Custom Upload Action - Template, ISO, volume
rhtyd commented on issue #62: Custom Upload Action - Template, ISO, volume URL: https://github.com/apache/cloudstack-primate/issues/62#issuecomment-568706047 @utchoang cc @svenvogel tagged for next tasks to consider. Thanks. This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services