Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1130205

Summary: Error encountered while installing rhevm-dwh
Product: Red Hat Enterprise Virtualization Manager Reporter: Petr Beňas <pbenas>
Component: ovirt-engine-dwhAssignee: Shirly Radco <sradco>
Status: CLOSED NOTABUG QA Contact: Pavel Stehlik <pstehlik>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 3.3.0CC: acathrow, ecohen, gklein, iheim, pstehlik, Rhev-m-bugs, yeylon
Target Milestone: ---Keywords: AutomationBlocker, AutomationTriaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-08-14 16:04:12 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
archived logs none

Description Petr Beňas 2014-08-14 14:23:24 UTC
Created attachment 926823 [details]
archived logs

Description of problem:
psql: FATAL:  Ident authentication failed for user "engine_history"

Version-Release number of selected component (if applicable):
3.3.4-2.el6ev

How reproducible:
2/2 automated, 0/2 manually

Steps to Reproduce:
not sure
1. run rhevm-dwh-setup with an answerfile thru ssh connection


Actual results:
Creating DB Schema...                                 [ ERROR 

Expected results:
successful installation

Additional info:
2014-08-14 14:27:56::DEBUG::common_utils::972::root:: retcode = 2
2014-08-14 14:27:56::ERROR::decorators::27::root:: Traceback (most recent call last):
  File "/usr/share/ovirt-engine-dwh/decorators.py", line 20, in wrapped_f
    output = f(*args)
  File "/usr/bin/rhevm-dwh-setup", line 162, in createDbSchema
    envDict={'ENGINE_PGPASS': PGPASS_TEMP},
  File "/usr/share/ovirt-engine-dwh/common_utils.py", line 975, in execCmd
    raise Exception(msg)
Exception: Error while trying to create ovirt_engine_history db

2014-08-14 14:27:56::ERROR::rhevm-dwh-setup::703::root:: Exception caught!
2014-08-14 14:27:56::ERROR::rhevm-dwh-setup::704::root:: Traceback (most recent call last):
  File "/usr/bin/rhevm-dwh-setup", line 635, in main
    createDbSchema(db_dict)
  File "/usr/share/ovirt-engine-dwh/decorators.py", line 28, in wrapped_f
    raise Exception(instance)
Exception: Error while trying to create ovirt_engine_history db

Comment 1 Petr Beňas 2014-08-14 16:04:12 UTC
Failed due to workaround in testing code. We were creating the tables and roles and setting the otopi db provisioning option to false. Seems like 3.3 dwh setup (not using otopi) has a problem when the DB and role already exists.