Bug 844703

Summary: [rhevm-reports] - Remote DB - Failed to run Reports-setup on a Remote DB Environment
Product: Red Hat Enterprise Virtualization Manager Reporter: David Botzer <dbotzer>
Component: ovirt-engine-reportsAssignee: Yaniv Lavi <ylavi>
Status: CLOSED CURRENTRELEASE QA Contact: David Botzer <dbotzer>
Severity: high Docs Contact:
Priority: high    
Version: 3.1.0CC: bazulay, dyasny, iheim, pstehlik, Rhev-m-bugs, sgrinber, ykaul
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: infra integration
Fixed In Version: SI14 - ovirt-engine-reports-3.1.0-6.noarch.rpm Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-12-04 19:58:51 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
reports-setup none

Description David Botzer 2012-07-31 12:42:15 UTC
Created attachment 601520 [details]
reports-setup

Description of problem:
in a remote db setup, Failed to run Reports-setup

Fails to start the installation and to fetch the reports
Also didnt created the rhevmreports db

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

How reproducible:
always

Steps to Reproduce:
1.install rhevm with remote db
2.install reports & jasperreports
3.run ovirt-engine-reports-setup
  
Actual results:
Setup fails

Expected results:
Should install & create rhevmreports db on remote server

Additional info:

2012-07-31 15:39:29::ERROR::decorators::26::root:: Traceback (most recent call last):
  File "/usr/share/ovirt-engine-reports/decorators.py", line 21, in wrapped_f
    output = f()
  File "/usr/share/ovirt-engine-reports/common_utils.py", line 401, in startPostgresService
    execExternalCmd(cmd, True, "Failed while trying to start the postgresql service")
  File "/usr/share/ovirt-engine-reports/common_utils.py", line 305, in execExternalCmd
    raise Exception(msg)
Exception: Failed while trying to start the postgresql service

2012-07-31 15:39:29::ERROR::ovirt-engine-reports-setup::762::root:: Exception caught!
2012-07-31 15:39:29::ERROR::ovirt-engine-reports-setup::763::root:: Traceback (most recent call last):
  File "/usr/bin/ovirt-engine-reports-setup", line 643, in main
    utils.startPostgres()
  File "/usr/share/ovirt-engine-reports/common_utils.py", line 395, in startPostgres
    startPostgresService()
  File "/usr/share/ovirt-engine-reports/decorators.py", line 27, in wrapped_f
    raise Exception(instance)
Exception: Failed while trying to start the postgresql service

Comment 3 David Botzer 2012-08-16 10:34:10 UTC
Fixed, 3.1/si14
am Able to install Reports Portal on rhevm with remote db
- Dashboards via webadmin Tab, and connect directly to reports
Fixed, 3.1/si14