Oved Ourfali has submitted this change and it was merged.
Change subject: core: db fix event renaming upgrade script.
......................................................................
core: db fix event renaming upgrade script.
db upgrade fails if there's a subscription to VDS_HIGH_NETWORK_USE event
Original upgrade script renamed an event without taking in account that
it may be used by subscribers. This patch updates both event_map and
event_sunscriber tables with the renamed event, in order to do that we
need to remove the FK before the update and adding it back again after
the update is finished.
Change-Id: I3ac7f33fad30aba5cc459ec05dc990a60bbc65e0
Bug-Url:
https://bugzilla.redhat.com/show_bug.cgi?id=1093283
Signed-off-by: Eli Mesika <emesika(a)redhat.com>
---
M packaging/dbscripts/upgrade/03_04_0720_add_host_interface_high_network_use_event.sql
1 file changed, 3 insertions(+), 0 deletions(-)
Approvals:
Oved Ourfali: Verified; Looks good to me, approved
--
To view, visit
http://gerrit.ovirt.org/27293
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I3ac7f33fad30aba5cc459ec05dc990a60bbc65e0
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-3.4.1
Gerrit-Owner: Oved Ourfali <oourfali(a)redhat.com>
Gerrit-Reviewer: Eli Mesika <emesika(a)redhat.com>
Gerrit-Reviewer: Oved Ourfali <oourfali(a)redhat.com>
Gerrit-Reviewer: automation(a)ovirt.org