Bug 805957

Summary: dbfunctions.sh does not recognize whether the "uuid-ossp" module is already installed in postgresql 9.x
Product: [Retired] oVirt Reporter: Rami Vaknin <rvaknin>
Component: ovirt-engine-coreAssignee: lpeer <lpeer>
Status: CLOSED WONTFIX QA Contact:
Severity: medium Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: acathrow, bazulay, dyasny, iheim, mgoldboi, yeylon, ykaul
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: infra
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-12-13 08:12:53 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

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.