Change in ovirt-engine[master]: core: wrong order of inserts when processing extrenally mana...

oourfali at redhat.com oourfali at redhat.com
Tue Sep 2 12:25:49 UTC 2014


Oved Ourfali has submitted this change and it was merged.

Change subject: core: wrong order of inserts when processing extrenally managed vms
......................................................................


core: wrong order of inserts when processing extrenally managed vms

When we attempt to insert discovered vm we get:

insert or update on table "vm_device" violates foreign key constraint
"fk_vm_device_vm_static"

which means that we need to insert VmStatic first and VmDevices later.

Bug-Url: https://bugzilla.redhat.com/1135959
Change-Id: I20230e23ca61f90b47a01ad9bd482a6fa7bf4b30
Signed-off-by: pkliczewski <piotr.kliczewski at gmail.com>
---
M backend/manager/modules/vdsbroker/src/main/java/org/ovirt/engine/core/vdsbroker/VdsUpdateRunTimeInfo.java
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Piotr Kliczewski: Verified
  Eli Mesika: Looks good to me, but someone else must approve
  Oved Ourfali: Looks good to me, approved



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

Gerrit-MessageType: merged
Gerrit-Change-Id: I20230e23ca61f90b47a01ad9bd482a6fa7bf4b30
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Piotr Kliczewski <piotr.kliczewski at gmail.com>
Gerrit-Reviewer: Barak Azulay <bazulay at redhat.com>
Gerrit-Reviewer: Eli Mesika <emesika at redhat.com>
Gerrit-Reviewer: Oved Ourfali <oourfali at redhat.com>
Gerrit-Reviewer: Piotr Kliczewski <piotr.kliczewski at gmail.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server



More information about the Engine-commits mailing list