Change in ovirt-engine[master]: core: added snapshot id to attached disk (#834004)

mlipchuk at redhat.com mlipchuk at redhat.com
Sun Aug 5 10:08:19 UTC 2012


Maor Lipchuk has submitted this change and it was merged.

Change subject: core: added snapshot id to attached disk (#834004)
......................................................................


core: added snapshot id to attached disk (#834004)

https://bugzilla.redhat.com/834004

when attaching a disk to an existing vm, the active vm snapshot id
wasn't set to the disk which caused errors when trying to delete a
snapshot.

Change-Id: Ie0945cecc63dc041fdb56e2fd7b733b287a9904c
Signed-off-by: Liron Aravot <laravot at redhat.com>
---
M backend/manager/dbscripts/images_sp.sql
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/AbstractDiskVmCommand.java
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/AttachDiskToVmCommand.java
M backend/manager/modules/dal/src/main/java/org/ovirt/engine/core/dao/ImageDao.java
M backend/manager/modules/dal/src/main/java/org/ovirt/engine/core/dao/ImageDaoDbFacadeImpl.java
M backend/manager/modules/dal/src/test/java/org/ovirt/engine/core/dao/FixturesTool.java
M backend/manager/modules/dal/src/test/java/org/ovirt/engine/core/dao/ImageDaoTest.java
7 files changed, 92 insertions(+), 14 deletions(-)

Approvals:
  Maor Lipchuk: Verified; Looks good to me, approved


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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ie0945cecc63dc041fdb56e2fd7b733b287a9904c
Gerrit-PatchSet: 13
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: Ayal Baron <abaron 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: Michael Kublin <mkublin at redhat.com>



More information about the Engine-commits mailing list