Change in ovirt-engine[master]: core:Can not upgrade from 3.1 to 3.2

emesika at redhat.com emesika at redhat.com
Mon Jan 7 18:26:57 UTC 2013


Eli Mesika has submitted this change and it was merged.

Change subject: core:Can not upgrade from 3.1 to 3.2
......................................................................


core:Can not upgrade from 3.1 to 3.2

This patch fix a bug that resulted from commit
6891171a906f708b8751cc583faffc94590e7948

In the above commit we had removed the external UUId package dependency
and replaced the implementation with our implementation keeping the same
function name.
But since the old original function was installed with user postgres and
we are trying to replace it with another user (engine), we got a message
that we have no privileges to drop the old function:
ERROR:  must be owner of function uuid_generate_v1

This fix runs a cleanup script that removes all old installed UUID
functions using the user postgres.

Change-Id: Iefbd051b30917827dd5dcf357cfcb5a6934ff589
Signed-off-by: Eli Mesika <emesika at redhat.com>
Bug-Url:https://bugzilla.redhat.com/show_bug.cgi?id=890324
Signed-off-by: Eli Mesika <emesika at redhat.com>
---
M backend/manager/dbscripts/dbfunctions.sh
A backend/manager/dbscripts/drop_old_uuid_functions.sql
2 files changed, 13 insertions(+), 0 deletions(-)

Approvals:
  Eli Mesika: Verified; Looks good to me, approved


--
To view, visit http://gerrit.ovirt.org/10690
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Iefbd051b30917827dd5dcf357cfcb5a6934ff589
Gerrit-PatchSet: 3
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: Kiril Nesenko <knesenko at redhat.com>
Gerrit-Reviewer: Yair Zaslavsky <yzaslavs at redhat.com>



More information about the Engine-commits mailing list