You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by bh...@apache.org on 2016/12/23 12:21:44 UTC

[15/19] git commit: updated refs/heads/4.9 to 20986ba

Merge pull request #1828 from sateesh-chodapuneedi/pr-cloudstack-9676

CLOUDSTACK-9676 Start instance fails after reverting to a VM snapshot when there are child VM snapshotsJira
===
CLOUDSTACK-9676 Start instance fails after reverting to a VM snapshot when there are child VM snapshots

Issue
====
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.
Per the code, the method hasSnapshot() is supposed to detect the presence of any snapshot for the VM. But we are checking for only current snapshot instead of checking presence of any snapshot in the snapshot tree.
The failure to detect all snapshots means ACP reconfigures the VM in wrong way assuming there are no snapshots for the VM.
This results in start failure.

Fix
===
Ensure correct detection of VM snapshots in the VM snapshot tree

* pr/1828:
  CLOUDSTACK-9676 Start instance fails after reverting to a VM snapshot, when there are child VM snapshots

Signed-off-by: Rohit Yadav <ro...@shapeblue.com>


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/23df5be2
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/23df5be2
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/23df5be2

Branch: refs/heads/4.9
Commit: 23df5be29e7af2a3a3b0f6c7862933e9addf77b8
Parents: 0a42f01 674bb06
Author: Rohit Yadav <ro...@shapeblue.com>
Authored: Thu Dec 22 15:11:36 2016 +0530
Committer: Rohit Yadav <ro...@shapeblue.com>
Committed: Thu Dec 22 15:11:36 2016 +0530

----------------------------------------------------------------------

----------------------------------------------------------------------