Bug #3464
vcenter driver is only able to restore the first snapshot
Status: | Closed | Start date: | 12/16/2014 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | Javi Fontan | % Done: | 0% | |
Category: | vCenter | |||
Target version: | Release 4.10.2 | |||
Resolution: | fixed | Pull request: | ||
Affected Versions: | OpenNebula 4.10 |
Description
Snapshots in vcenter are stored as a tree and the current revert snapshot code only searches at the first level. After one snapshot is created the new snapshots are children of this one:
VirtualMachineSnapshotTree( childSnapshotList: [VirtualMachineSnapshotTree( childSnapshotList: [], createTime: 2014-12-16 17:47:43 UTC, description: "OpenNebula Snapshot of VM 42189f71-303b-dabc-6de8-382279c40302", dynamicProperty: [], id: 2, name: "1", quiesced: false, replaySupported: false, snapshot: VirtualMachineSnapshot("snapshot-105"), state: "poweredOn", vm: VirtualMachine("vm-103") )], createTime: 2014-12-16 17:43:55 UTC, description: "OpenNebula Snapshot of VM 42189f71-303b-dabc-6de8-382279c40302", dynamicProperty: [], id: 1, name: "0", quiesced: false, replaySupported: false, snapshot: VirtualMachineSnapshot("snapshot-104"), state: "poweredOn", vm: VirtualMachine("vm-103") )
Associated revisions
bug #3464: deeps search the tree of snapshots
Also the delete method does not remove children so the snapshots
in that tree can be accessed when the parent is deleted.
bug #3464: deeps search the tree of snapshots
Also the delete method does not remove children so the snapshots
in that tree can be accessed when the parent is deleted.
(cherry picked from commit d62783a7f8d50ba48fd2931b19cd59e3380659e8)
History
#1 Updated by Ruben S. Montero over 6 years ago
- Status changed from Pending to New
- Target version set to Release 4.10.2
#2 Updated by Ruben S. Montero over 6 years ago
- Assignee set to Javi Fontan
#3 Updated by Javi Fontan over 6 years ago
- Status changed from New to Closed
- Resolution set to fixed