Change in ovirt-engine[master]: core: Get initial Cinder volume to restore from.

mlipchuk at redhat.com mlipchuk at redhat.com
Tue Dec 8 06:29:50 UTC 2015


Maor Lipchuk has submitted this change and it was merged.

Change subject: core: Get initial Cinder volume to restore from.
......................................................................


core: Get initial Cinder volume to restore from.

Add a method which returns the initial Cinder volume the engine should
delete.
The restore process of the Cinder volume should use this volume to get
all its descendants and remove them all.

The initial volume is chosen by taking the previewed snapshot,
fetch the parent volume, and retun the other volume.

Change-Id: Iffaa62f703734f50208418786dc813bfe82106b9
Bug-Url: https://bugzilla.redhat.com/1256048
Bug-Url: https://bugzilla.redhat.com/1256049
Signed-off-by: Maor Lipchuk <mlipchuk at redhat.com>
---
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/snapshots/RestoreAllSnapshotsCommand.java
1 file changed, 17 insertions(+), 0 deletions(-)

Approvals:
  Daniel Erez: Looks good to me, approved
  Maor Lipchuk: Verified; Passed CI tests



-- 
To view, visit https://gerrit.ovirt.org/49413
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Iffaa62f703734f50208418786dc813bfe82106b9
Gerrit-PatchSet: 9
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Maor Lipchuk <mlipchuk at redhat.com>
Gerrit-Reviewer: Allon Mureinik <amureini at redhat.com>
Gerrit-Reviewer: Daniel Erez <derez at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Maor Lipchuk <mlipchuk at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>



More information about the Engine-commits mailing list