Change in ovirt-engine[ovirt-engine-3.6]: engine: Delete copied disk delete source disk

tnisan at redhat.com tnisan at redhat.com
Mon Dec 21 10:32:02 UTC 2015


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 at 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 at redhat.com>
Gerrit-Reviewer: Freddy Rolland <frolland at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Tal Nisan <tnisan at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>



More information about the Engine-commits mailing list