Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Unable to start instances with DATA volumes of deploy-as-is template having instance snapshots  #9180

Copy link
Copy link
@rajujith

Description

@rajujith
Issue body actions
ISSUE TYPE
  • Bug Report
COMPONENT NAME
Template, VMware
CLOUDSTACK VERSION
4.19
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. 
Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.