Eli Mesika has uploaded a new change for review. Change subject: core: fix auto registration default cluster id ......................................................................
core: fix auto registration default cluster id This patch insures that AutoRegistrationDefaultVdsGroupID value in vdc_config will point to the 'Default' cluster. Change-Id: Ida6b8ef0b417444cf5b7d96c9059a4262d4262f4 Signed-off-by: emesika <emes...@redhat.com> --- A packaging/dbscripts/upgrade/post_upgrade/0030_set_default_cluster_for_registration.sql 1 file changed, 5 insertions(+), 0 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/13/37813/1 diff --git a/packaging/dbscripts/upgrade/post_upgrade/0030_set_default_cluster_for_registration.sql b/packaging/dbscripts/upgrade/post_upgrade/0030_set_default_cluster_for_registration.sql new file mode 100644 index 0000000..d2fa463 --- /dev/null +++ b/packaging/dbscripts/upgrade/post_upgrade/0030_set_default_cluster_for_registration.sql @@ -0,0 +1,5 @@ + +update vdc_options +set option_value = (select vds_group_id from vds_groups where name ilike 'Default') +where option_name = 'AutoRegistrationDefaultVdsGroupID' and version = 'general'; + -- To view, visit http://gerrit.ovirt.org/37813 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ida6b8ef0b417444cf5b7d96c9059a4262d4262f4 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Eli Mesika <emes...@redhat.com> _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches