Bug 785705 - [ovirt-dwh] - create_db.sh asks for password twice
Summary: [ovirt-dwh] - create_db.sh asks for password twice
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: oVirt
Classification: Retired
Component: ovirt-engine-dwh
Version: unspecified
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Yaniv Lavi
QA Contact: David Botzer
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-01-30 12:15 UTC by David Botzer
Modified: 2014-01-14 00:02 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-04-24 10:28:14 UTC
oVirt Team: ---


Attachments (Terms of Use)

Description David Botzer 2012-01-30 12:15:07 UTC
Description of problem:
The script should dropdb if exists and recreate it, though it should use the ~/.pgpass file that holds the user postgres password

Version-Release number of selected component (if applicable):
ovirt-engine-3.0.0_0001-1.4, ovier-dwh 3.0.0 

How reproducible:
Always

Steps to Reproduce:
1.create setup with ovirt_history DB
2.run the script /ovirt-dwh/data-warehouse/historydbscripts_postgres/create_db.sh
  
Actual results:
Asks password twice - 1.for dropdb & 2.for create db

Expected results:
Should not ask for any password.

Additional info:

Comment 1 Yaniv Lavi 2012-04-24 10:28:14 UTC
Please setup a .pspass file to prevent password prompt.



Yaniv


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