Roy Golan has submitted this change and it was merged.
Change subject: core: clear VM device address when changing a vm disk interface (#838462)
......................................................................
core: clear VM device address when changing a vm disk interface (#838462)
https://bugzilla.redhat.com/838462
when changing a disk interface and restarting a VM libvirt fails for the address
is already in use, thus we need to clear it so it will get allocated with a new one.
Change-Id: I7f28c2bf53bdadce38368d0f88e1a8f15208c9dc
Signed-off-by: Roy Golan <rgolan(a)redhat.com>
---
M backend/manager/dbscripts/vm_device_sp.sql
M
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/UpdateVmDiskCommand.java
M backend/manager/modules/dal/src/main/java/org/ovirt/engine/core/dao/VmDeviceDAO.java
M
backend/manager/modules/dal/src/main/java/org/ovirt/engine/core/dao/VmDeviceDAODbFacadeImpl.java
M
backend/manager/modules/dal/src/test/java/org/ovirt/engine/core/dao/VmDeviceDAOTest.java
5 files changed, 57 insertions(+), 0 deletions(-)
Approvals:
Roy Golan: Verified; Looks good to me, approved
--
To view, visit
http://gerrit.ovirt.org/6196
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I7f28c2bf53bdadce38368d0f88e1a8f15208c9dc
Gerrit-PatchSet: 5
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Roy Golan <rgolan(a)redhat.com>
Gerrit-Reviewer: Eli Mesika <emesika(a)redhat.com>
Gerrit-Reviewer: Roy Golan <rgolan(a)redhat.com>