cloudstack/api/src/com/cloud/storage
Abhinandan Prateek 64832fd70a CLOUDSTACK-4757: Support OVA files with multiple disks for templates (#2146)
CloudStack volumes and templates are one single virtual disk in case of XenServer/XCP and KVM hypervisors since the files used for templates and volumes are virtual disks (VHD, QCOW2). However, VMware volumes and templates are in OVA format, which are archives that can contain a complete VM including multiple VMDKs and other files such as ISOs. And currently, Cloudstack only supports Template creation based on OVA files containing a single disk. If a user creates a template from a OVA file containing more than 1 disk and launches an instance using this template, only the first disk is attached to the new instance and other disks are ignored.
Similarly with uploaded volumes, attaching an uploaded volume that contains multiple disks to a VM will result in only one VMDK to being attached to the VM.

FS: https://cwiki.apache.org/confluence/display/CLOUDSTACK/Support+OVA+files+containing+multiple+disks

This behavior needs to be improved in VMWare to support OVA files with multiple disks for both uploaded volumes and templates. i.e. If a user creates a template from a OVA file containing more than 1 disk and launches an instance using this template, the first disk should be attached to the new instance as the ROOT disk and volumes should be created based on other VMDK disks in the OVA file and should be attached to the instance.

Signed-off-by: Abhinandan Prateek <abhinandan.prateek@shapeblue.com>
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2018-01-10 22:10:41 +05:30
..
snapshot CLOUDSTACK-8746: vm snapshot implementation for KVM 2017-01-24 21:47:30 +01:00
template Refactor DownloadMonitorImpl code, move some functionalities to 2013-04-11 18:09:42 -07:00
DataStoreProviderApiService.java Reformat all source code. Added checkstyle to check the source code 2013-11-20 07:26:53 -08:00
DataStoreRole.java CLOUDSTACK-669: Convert volume snapshot orchestration flow to make it be serialized with other VM operations 2014-01-09 14:29:12 -08:00
GuestOS.java CLOUDSTACK-6437: 2014-04-25 13:10:10 -07:00
GuestOSHypervisor.java CLOUDSTACK-6437: 2014-04-25 13:10:10 -07:00
GuestOsCategory.java Reformat all source code. Added checkstyle to check the source code 2013-11-20 07:26:53 -08:00
ImageStore.java CLOUDSTACK-9998: Prometheus Exporter for CloudStack (#2287) 2017-10-11 17:24:22 +05:30
ScopeType.java Reformat all source code. Added checkstyle to check the source code 2013-11-20 07:26:53 -08:00
Snapshot.java This feature separates the snapshot creation on primary and its backing up on secondary. 2017-10-04 14:39:03 +05:30
Storage.java CLOUDSTACK-4757: Support OVA files with multiple disks for templates (#2146) 2018-01-10 22:10:41 +05:30
StorageGuru.java committing Chip Childers patches fixing licensing headers 2012-06-12 12:32:58 -04:00
StoragePool.java Adding support for cross-cluster storage migration for managed storage when using XenServer 2016-09-12 07:39:13 -06:00
StoragePoolDiscoverer.java Reformatted all of the code. 2013-11-21 06:15:26 -08:00
StoragePoolStatus.java Implementation for the ability to disable a storage pool for provisioning 2015-05-19 11:16:49 +01:00
StorageService.java CLOUDSTACK-9062: Improve S3 implementation. 2015-11-19 15:29:10 +01:00
StorageStats.java removed executable flags from java classes 2014-11-23 19:49:01 +01:00
Upload.java removed executable flags from java classes 2014-11-23 19:49:01 +01:00
VMTemplateStorageResourceAssoc.java CLOUDSTACK-10146: Bypass Secondary Storage for KVM templates (#2379) 2018-01-09 12:22:18 +05:30
Volume.java CLOUDSTACK-8862: Introduced new state attaching for volume. This will make sure that other attach operation on same volume will fail gracefully without calling access calls for managed storage like SolidFire 2017-04-17 15:40:02 +05:30
VolumeApiService.java This feature separates the snapshot creation on primary and its backing up on secondary. 2017-10-04 14:39:03 +05:30
VolumeStats.java CLOUDSTACK-9972: Enhance listVolume API to include physical size and … (#2158) 2017-11-05 21:44:43 +05:30