ISSUE TYPE
COMPONENT NAME
CLOUDSTACK VERSION
OS / ENVIRONMENT
Instance deployed from deplo-as-is template. VMware vSphere 8.0
SUMMARY
While starting an instance created from deploy-as-is template cloudstack tries to tear down the data disks. Since the instance has data volumes attached before the instance snapshot vCenter declines the teardown. This design issue results in failure to start an instance having data volumes and instance snapshots.
2024-06-05 12:16:40,023 INFO [c.c.h.v.r.VmwareResource] (DirectAgent-101:ctx-79cfdac2 10.1.32.212, job-38/job-40, cmd: StartCommand) (logid:8e044e50) Tearing down datadisks for deploy-as-is VM
2024-06-05 12:16:40,121 ERROR [c.c.h.v.r.VmwareResource] (DirectAgent-101:ctx-79cfdac2 10.1.32.212, job-38/job-40, cmd: StartCommand) (logid:8e044e50) Error mapping deploy-as-is VM disks from cloned VM i-2-3-VM
java.lang.RuntimeException: Invalid configuration for device '0'.
at com.cloud.hypervisor.vmware.util.VmwareClient.waitForTask(VmwareClient.java:426)
STEPS TO REPRODUCE
1. Deploy an instance from a deploy-as-is template with a data volume( Read Instance settings from OVA selected for template).
2. Create an instance snapshot
3. Stop and then start the instance.
EXPECTED RESULTS
The user should be able to perform stop-and-start operations on instances deployed from deploy-as-is template types having data disks and instance snapshots.
ACTUAL RESULTS
The user is unable to stop and start the instance.
ISSUE TYPE
COMPONENT NAME
CLOUDSTACK VERSION
OS / ENVIRONMENT
Instance deployed from deplo-as-is template. VMware vSphere 8.0
SUMMARY
While starting an instance created from deploy-as-is template cloudstack tries to tear down the data disks. Since the instance has data volumes attached before the instance snapshot vCenter declines the teardown. This design issue results in failure to start an instance having data volumes and instance snapshots.
STEPS TO REPRODUCE
EXPECTED RESULTS
ACTUAL RESULTS