Liron Aravot has submitted this change and it was merged.
Change subject: core: MoveOrCopyDisk - attempt to perform rollback for vm/floating disk
......................................................................
core: MoveOrCopyDisk - attempt to perform rollback for vm/floating disk
Currently when executing MoveOrCopyDisk for a non template disk no rollback is
done and the disk will remain in the engine as a legit disk, while for
template disk the mapping of the disk on the other domain will be
deleted from the db.
This patch adds an attempt to perform a rollback when copying a non
template disk, the rollback when copying a template disk requires some
other modifications and will be handled on a different patch.
Change-Id: Id6727f513efca391ff843a1665dabb7826533706
Bug-Url:
https://bugzilla.redhat.com/1232396
Signed-off-by: Liron Aravot <laravot(a)redhat.com>
---
M
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/MoveOrCopyDiskCommand.java
1 file changed, 3 insertions(+), 0 deletions(-)
Approvals:
Tal Nisan: Looks good to me, approved
Liron Aravot: Verified; Looks good to me, approved; Passed CI tests
--
To view, visit
https://gerrit.ovirt.org/48635
To unsubscribe, visit
https://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Id6727f513efca391ff843a1665dabb7826533706
Gerrit-PatchSet: 6
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Liron Aravot <laravot(a)redhat.com>
Gerrit-Reviewer: Allon Mureinik <amureini(a)redhat.com>
Gerrit-Reviewer: Daniel Erez <derez(a)redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Liron Aravot <laravot(a)redhat.com>
Gerrit-Reviewer: Tal Nisan <tnisan(a)redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation(a)ovirt.org>