You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Sateesh Chodapuneedi (JIRA)" <ji...@apache.org> on 2016/12/14 08:46:58 UTC
[jira] [Updated] (CLOUDSTACK-9676) Start instance fails after
reverting to a VM snapshot, when there are child VM snapshots
[ https://issues.apache.org/jira/browse/CLOUDSTACK-9676?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sateesh Chodapuneedi updated CLOUDSTACK-9676:
---------------------------------------------
Description:
Start instance fails after reverting to a VM snapshot, when there is 1 or more child VM snapshots in the snapshot tree of the VM.
```java
public boolean hasSnapshot() throws Exception {
VirtualMachineSnapshotInfo info = getSnapshotInfo();
if (info != null) {
return info.getCurrentSnapshot() != null;
```
Steps to reproduce
===============
# Prepare setup with esxi5.5
# Deploy a vm and create three snapshot i1,i2,i3.
# Delete i2. and stop vm
# Revert vm to i1
# Delete i1
# Start vm
Start vm is failing with error,
{noformat}
StartCommand failed due to Exception: java.lang.RuntimeException Message: Invalid configuration for device '0'.
{noformat}
was:
Steps to reproduce
===============
# Prepare setup with esxi5.5
# Deploy a vm and create three snapshot i1,i2,i3.
# Delete i2. and stop vm
# Revert vm to i1
# Delete i1
# Start vm
Start vm is failing with error,
{noformat}
StartCommand failed due to Exception: java.lang.RuntimeException Message: Invalid configuration for device '0'.
{noformat}
> Start instance fails after reverting to a VM snapshot, when there are child VM snapshots
> ----------------------------------------------------------------------------------------
>
> Key: CLOUDSTACK-9676
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9676
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the default.)
> Components: VMware
> Affects Versions: 4.9.0.1
> Environment: vSphere 5.5
> ACS master commit 17653a86fad67447a4f13e455e336694ad5c1735
> Reporter: Sateesh Chodapuneedi
> Assignee: Sateesh Chodapuneedi
> Priority: Critical
> Fix For: 4.10.0.0
>
>
> Start instance fails after reverting to a VM snapshot, when there is 1 or more child VM snapshots in the snapshot tree of the VM.
> ```java
> public boolean hasSnapshot() throws Exception {
> VirtualMachineSnapshotInfo info = getSnapshotInfo();
> if (info != null) {
> return info.getCurrentSnapshot() != null;
> ```
> Steps to reproduce
> ===============
> # Prepare setup with esxi5.5
> # Deploy a vm and create three snapshot i1,i2,i3.
> # Delete i2. and stop vm
> # Revert vm to i1
> # Delete i1
> # Start vm
> Start vm is failing with error,
> {noformat}
> StartCommand failed due to Exception: java.lang.RuntimeException Message: Invalid configuration for device '0'.
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)