Change in ovirt-engine[ovirt-engine-3.5]: core: avoid adding ovf store when register disk fails

tnisan at redhat.com tnisan at redhat.com
Thu Nov 27 13:52:15 UTC 2014


Tal Nisan has submitted this change and it was merged.

Change subject: core: avoid adding ovf store when register disk fails
......................................................................


core: avoid adding ovf store when register disk fails

Trying to add an ovf store when the disk registration failed it will
result in a low level sql error:

ERROR: insert or update on table "storage_domains_ovf_info"
violates foreign key constraint "storage_domains_ovf_info_ovf_disk_id_fkey"

Change-Id: I947a04e14305cd96afa8c455391f2084856d1fc5
Bug-Url: https://bugzilla.redhat.com/1168132
Signed-off-by: Maor Lipchuk <mlipchuk at redhat.com>
---
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/storage/AttachStorageDomainToPoolCommand.java
1 file changed, 9 insertions(+), 6 deletions(-)

Approvals:
  Allon Mureinik: Looks good to me, approved
  Maor Lipchuk: Verified



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

Gerrit-MessageType: merged
Gerrit-Change-Id: I947a04e14305cd96afa8c455391f2084856d1fc5
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-3.5
Gerrit-Owner: Maor Lipchuk <mlipchuk at redhat.com>
Gerrit-Reviewer: Allon Mureinik <amureini at redhat.com>
Gerrit-Reviewer: Federico Simoncelli <fsimonce at redhat.com>
Gerrit-Reviewer: Maor Lipchuk <mlipchuk at redhat.com>
Gerrit-Reviewer: Tal Nisan <tnisan at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server



More information about the Engine-commits mailing list