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(a)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(a)redhat.com>
Gerrit-Reviewer: Allon Mureinik <amureini(a)redhat.com>
Gerrit-Reviewer: Federico Simoncelli <fsimonce(a)redhat.com>
Gerrit-Reviewer: Maor Lipchuk <mlipchuk(a)redhat.com>
Gerrit-Reviewer: Tal Nisan <tnisan(a)redhat.com>
Gerrit-Reviewer: automation(a)ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server