Change in ovirt-engine[master]: core: attempt revert when failing to add template

amureini at redhat.com amureini at redhat.com
Wed Feb 13 14:51:39 UTC 2013


Allon Mureinik has submitted this change and it was merged.

Change subject: core: attempt revert when failing to add template
......................................................................


core: attempt revert when failing to add template

When failing to add a template, delete the added template disks from the
db and attempt to delete the possibly added images from the storage to avoid
storage leak.

Change-Id: Ia0f40397f5fb9f7e1a3535796c07f5bed7bd5ac1
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=883921
Signed-off-by: Liron Aravot <laravot at redhat.com>
---
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/AddVmTemplateCommand.java
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/CreateImageTemplateCommand.java
2 files changed, 18 insertions(+), 5 deletions(-)

Approvals:
  Allon Mureinik: Verified; Looks good to me, approved


--
To view, visit http://gerrit.ovirt.org/12027
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ia0f40397f5fb9f7e1a3535796c07f5bed7bd5ac1
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Liron Aravot <laravot at redhat.com>
Gerrit-Reviewer: Allon Mureinik <amureini at redhat.com>
Gerrit-Reviewer: Daniel Erez <derez at redhat.com>
Gerrit-Reviewer: Liron Aravot <laravot at redhat.com>
Gerrit-Reviewer: Maor Lipchuk <mlipchuk at redhat.com>
Gerrit-Reviewer: Tal Nisan <tnisan at redhat.com>



More information about the Engine-commits mailing list