Tal Nisan has submitted this change and it was merged.
Change subject: engine: Delete copied disk delete source disk
......................................................................
engine: Delete copied disk delete source disk
Deleting a copied disk also deletes the source disk in the case
the source disk is part of a VM snapshot.
In order to prevent this issue, the new disk should nullify
the VmSnapshotId and the ParentId and ImageTemplateId should
be Guid.Empty.
Change-Id: Icb2eccb1dec0c2326e47d44e2da79a3fdae399f6
Bug-Url:
https://bugzilla.redhat.com/1292196
Signed-off-by: Fred Rolland <frolland(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
Jenkins CI: Passed CI tests
Freddy Rolland: Verified
--
To view, visit
https://gerrit.ovirt.org/50788
To unsubscribe, visit
https://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Icb2eccb1dec0c2326e47d44e2da79a3fdae399f6
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-3.6
Gerrit-Owner: Freddy Rolland <frolland(a)redhat.com>
Gerrit-Reviewer: Freddy Rolland <frolland(a)redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Tal Nisan <tnisan(a)redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation(a)ovirt.org>