Change in ovirt-engine[master]: core: dropping sd_static luns fk

Code Review gerrit at ovirt.org
Thu Dec 15 00:25:22 UTC 2016


>From Liron Aravot <laravot at redhat.com>:

Liron Aravot has submitted this change and it was merged.

Change subject: core: dropping sd_static luns fk
......................................................................


core: dropping sd_static luns fk

Currently storage_domain_static has FKs to the luns table for its
metadata devices (relevant for block domains).
Some of the flows remove the lun before the sd, causing to FK
violation. As a quick fix, the FK is removed and we'll be able to
restore it after when those flows are fixed.

Change-Id: I5df3da87db06d7f9fb2cb48eb1d3af1d1aea3f2d
Signed-off-by: Liron Aravot <laravot at redhat.com>
---
A packaging/dbscripts/upgrade/04_01_0630_remove_sd_static_luns_fk.sql
1 file changed, 2 insertions(+), 0 deletions(-)

Approvals:
  Jenkins CI: Passed CI tests
  Maor Lipchuk: Looks good to me, approved
  Liron Aravot: Verified



-- 
To view, visit https://gerrit.ovirt.org/68492
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I5df3da87db06d7f9fb2cb48eb1d3af1d1aea3f2d
Gerrit-PatchSet: 4
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Liron Aravot <laravot at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Liron Aravot <laravot at redhat.com>
Gerrit-Reviewer: Maor Lipchuk <mlipchuk at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>



More information about the Engine-commits mailing list