...
- To increase the number of parallel uploads, multiple SSVMs needs to be created. This will be handled automatically by the management server using the SSVM scale up mechanism (system.vm.auto.reserve.capacity, secstorage.capacity.standby and secstorage.session.max configuration variables). More uploads for a SSVM results in more polling related agent commands going to the SSVM and that should exhaust the session.max limit and result in spawning new SSVM. The SSVM selector logic then should pick up an SSVM during the request.
- TBD: number of parallel uploads a single SSVM can handle
Troubleshooting/logs
All On the SSVM all the upload server related logs will be from a thread with name format nioEventLoopGroup-%d-%d.
On the Management Server, the upload monitor related logs will be from a thread with name format Upload-Monitor-%1
log4j xml can be tuned both on management server and SSVM to get logs at different levels.
...
- User navigates to the Templates page then switches to ISO using the "Select view" selector, then the user clicks on "Register ISO" (existing screen)
- Register ISO form pops up (existing screen)
- User has now the choice to provide URL of the volume/ISO (existing functionality) or Upload File from Browser (new functionality)
- Selects File Upload from Browser then specifies the volume/ISO file (Browse...) to be uploaded
- User fills in other existing form fields
- User clicks OK to submit the form
- Browser UI requests an unique upload URL using the getUploadParamsForVolume api call
- Management server returns an upload url, encrypted metadata string which should be passed on to the upload url while doing the upload
- Browser starts uploading using POST request to the upload URL
- The post request completes once the template is uploaded or there was an error uploading.
- The user can close the dialog (POST request should still be active) and use listvolumes API result to check the status of it
Testing
Unit testing
...
Automation/marvin cases
To be updated by sailajahttps://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=commit;h=db7964fb11842ef008464e42e715838cbe46e72d
Manual Test Cases
To be updated by DeeptiBrowser-based Template / Volume upload Test Plan
Open Issues
- PSK length - for now it can be a fixed length, later on it can be made configurable.
Upload url should be active only for one call - Its partially handled now. The limitation needs to be addressed.
- Recommended configuration of SSVM and apache web server
...