mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
Problem: When a multi-disk OVA template is uploaded, only the root disk is recognized and VMs deployed using such template only get the root disk provisioned. Root Cause: The template processor for multi-disk OVA was not used in the template upload processor. Solution: Added support for local multi-disk OVA template upload. After a multi-disk OVA template is uploaded, the mechanism that worked on multi-disk OVA templates registered using URL is now also used to discovers and creates data-disk templates in cloud.vm_template table and on the secondary storage. To enable SSL on SSVMs : • Upload the certificates like you usually do via the API or UI->Infrastructure tab • Set the global settings secstorage.encrypt.copy, secstorage.ssl.cert.domain to appropriate values along with the CPVM ones • Restart management server (no need to destroy/restart SSVM (or the ssvm agent)) Test cases: - Upload template and check it creates multi-disk folders on secondary storage and entries in cloud.vm_template table - Upload template and kill/shutdown management server. Then restart MS to check if template sync works - Copy template across zone of an uploaded template Signed-off-by: Rohit Yadav rohit.yadav@shapeblue.com