Bug 1024792 - rhevm-dwh-setup fails
Summary: rhevm-dwh-setup fails
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine-dwh
Version: 3.3.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 3.3.0
Assignee: Yaniv Lavi
QA Contact: Barak Dagan
URL:
Whiteboard: infra
Depends On:
Blocks: 3.3snap2
TreeView+ depends on / blocked
 
Reported: 2013-10-30 12:56 UTC by Lev Veyde
Modified: 2016-02-10 19:13 UTC (History)
7 users (show)

Fixed In Version: IS22 - rhevm-dwh-3.3.0-19.el6ev.noarch.rpm
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
is21 rhevm-3.3.0-0.29.beta1.el6ev.noarch rhevm-dwh-3.3.0-17.el6ev.noarch
Last Closed: 2014-01-21 15:01:32 UTC
oVirt Team: Infra
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2014:0036 0 normal SHIPPED_LIVE rhevm-dwh 3.3 bug fix and enhancement update 2014-01-21 19:53:35 UTC
oVirt gerrit 20700 0 None None None Never

Description Lev Veyde 2013-10-30 12:56:02 UTC
Description of problem:
rhevm-dwh-setup fails with error:

Welcome to ovirt-engine-dwh setup utility

Error encountered while installing rhevm-dwh, please consult the log file: /var/log/ovirt-engine/rhevm-dwh-setup-2013_10_30_14_49_01.log

The log file says:
2013-10-30 14:00:06::DEBUG::rhevm-dwh-setup::324::root:: starting main()
2013-10-30 14:00:06::DEBUG::common_utils::441::root:: running sql query on host: "localhost", port: "5432", db: "engine_20131030121337", user: "engine_20131030121337", query: 'copy (
        select option_value from vdc_options
        where option_name like 'MinimalETLVersion'
    ) to stdout with csv header;'.
2013-10-30 14:00:06::DEBUG::common_utils::807::root:: Executing command --> '/usr/bin/psql --pset=tuples_only=on --set ON_ERROR_STOP=1 --dbname "engine_20131030121337" --host "localhost" --port "5432" --username "engine_20131030121337" -w -c copy (
        select option_value from vdc_options
        where option_name like 'MinimalETLVersion'
    ) to stdout with csv header;' in working directory '/etc/logrotate.d'
2013-10-30 14:00:08::DEBUG::common_utils::849::root:: output = 
2013-10-30 14:00:08::DEBUG::common_utils::850::root:: stderr = psql: could not translate host name ""localhost"" to address: Name or service not known

2013-10-30 14:00:08::DEBUG::common_utils::851::root:: retcode = 2
2013-10-30 14:00:08::ERROR::rhevm-dwh-setup::520::root:: Exception caught!
2013-10-30 14:00:08::ERROR::rhevm-dwh-setup::521::root:: Traceback (most recent call last):
  File "/usr/bin/rhevm-dwh-setup", line 341, in main
    temp_pgpass=PGPASS_TEMP,
  File "/usr/share/ovirt-engine-dwh/common_utils.py", line 146, in getVDCOption
    envDict={'ENGINE_PGPASS': temp_pgpass}
  File "/usr/share/ovirt-engine-dwh/common_utils.py", line 427, in parseRemoteSqlCommand
    envDict,
  File "/usr/share/ovirt-engine-dwh/common_utils.py", line 454, in execSqlCmd
    return execCmd(cmdList=cmd, failOnError=fail_on_error, msg=err_msg, envDict=envDict)
  File "/usr/share/ovirt-engine-dwh/common_utils.py", line 854, in execCmd
    raise Exception(msg)
Exception: Failed running sql query

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. install rhevm-dwh
2. run rhevm-dwh-setup
3. the setup end with error

Actual results:
setup end with error.

Expected results:
setup should perform normally.

Additional info:

Comment 2 Barak Dagan 2013-11-13 15:10:19 UTC
Verified on IS22, rhevm-dwh-3.3.0-20.el6ev.noarch.

Tried several installation configurations:
is22 clean installation
3.2 -> is22 latest.
3.2 -> is20.1 -> is22.

Moving to verify since that bug didn't show up.

Comment 3 Charlie 2013-11-28 00:53:48 UTC
This bug is currently attached to errata RHEA-2013:15116. If this change is not to be documented in the text for this errata please either remove it from the errata, set the requires_doc_text flag to 
minus (-), or leave a "Doc Text" value of "--no tech note required" if you do not have permission to alter the flag.

Otherwise to aid in the development of relevant and accurate release documentation, please fill out the "Doc Text" field above with these four (4) pieces of information:

* Cause: What actions or circumstances cause this bug to present.
* Consequence: What happens when the bug presents.
* Fix: What was done to fix the bug.
* Result: What now happens when the actions or circumstances above occur. (NB: this is not the same as 'the bug doesn't present anymore')

Once filled out, please set the "Doc Type" field to the appropriate value for the type of change made and submit your edits to the bug.

For further details on the Cause, Consequence, Fix, Result format please refer to:

https://bugzilla.redhat.com/page.cgi?id=fields.html#cf_release_notes 

Thanks in advance.

Comment 5 errata-xmlrpc 2014-01-21 15:01:32 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2014-0036.html


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