Bug 805957 - dbfunctions.sh does not recognize whether the "uuid-ossp" module is already installed in postgresql 9.x
Summary: dbfunctions.sh does not recognize whether the "uuid-ossp" module is already i...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: oVirt
Classification: Retired
Component: ovirt-engine-core
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: ---
Assignee: lpeer
QA Contact:
URL:
Whiteboard: infra
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-03-22 14:42 UTC by Rami Vaknin
Modified: 2014-01-12 23:54 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-12-13 08:12:53 UTC
oVirt Team: ---


Attachments (Terms of Use)

Description Rami Vaknin 2012-03-22 14:42:02 UTC
The check_and_install_uuid_osspa_pg9 function checks whehter the "uuid-ossp" module is already installed, and should install it if it's not installed already.
The issue is that the function does not recognize well whether the module is already installed and tries to install it only when it's already installed.

The side effect is that db creation can fail when trying to install that module using a non-privileged user, although the superuser already installed it.

The error:
ERROR:  extension "uuid-ossp" already exists

Comment 1 Itamar Heim 2012-12-13 08:12:53 UTC
Closing old bugs. If this issue is still relevant/important in current version, please re-open the bug.


Note You need to log in before you can comment on or make changes to this bug.