Change in ovirt-engine[master]: db:set AutoRegistrationDefaultVdsGroupID correctly

emesika at redhat.com emesika at redhat.com
Thu Jun 4 08:37:48 UTC 2015


Eli Mesika has submitted this change and it was merged.

Change subject: db:set AutoRegistrationDefaultVdsGroupID correctly
......................................................................


db:set AutoRegistrationDefaultVdsGroupID correctly

This patch fixes an issue in post-upgrade when attempting to set
AutoRegistrationDefaultVdsGroupID in vdc_options to the value of the
default cluster fails and returns null when the default cluster name was
changed from 'Default' to something else.

In that case we will set the configuration value to the first cluster id
we can find.

Change-Id: If1aa05a0d24866dfad3a9d18d90262ec07d2fdac
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1226944
Signed-off-by: emesika <emesika at redhat.com>
---
M packaging/dbscripts/upgrade/post_upgrade/0030_set_default_cluster_for_registration.sql
1 file changed, 20 insertions(+), 3 deletions(-)

Approvals:
  Eli Mesika: Verified; Looks good to me, approved
  Jenkins CI: Verified; Looks good to me, but someone else must approve
  Moti Asayag: Looks good to me, but someone else must approve



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

Gerrit-MessageType: merged
Gerrit-Change-Id: If1aa05a0d24866dfad3a9d18d90262ec07d2fdac
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Eli Mesika <emesika at redhat.com>
Gerrit-Reviewer: Eli Mesika <emesika at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Moti Asayag <masayag at redhat.com>
Gerrit-Reviewer: Oved Ourfali <oourfali at redhat.com>
Gerrit-Reviewer: automation at ovirt.org



More information about the Engine-commits mailing list