Bug 818479 - RHEVM-Manage-Domains - Missing Details when there is no connection to the DB
Summary: RHEVM-Manage-Domains - Missing Details when there is no connection to the DB
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine
Version: 3.1.0
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
: ---
Assignee: Yaniv Bronhaim
QA Contact: David Botzer
URL:
Whiteboard: infra
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-05-03 08:28 UTC by Ortal
Modified: 2016-02-10 19:45 UTC (History)
9 users (show)

Fixed In Version: si16
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-12-04 20:06:56 UTC
oVirt Team: Infra
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Ortal 2012-05-03 08:28:30 UTC
Description of problem:

RHEVM-Manage-Domains - Missing Details when there is no connection to the DB

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

How reproducible:
Always

Steps to Reproduce:
1. Run the rhevm-manage-domain utility when connection to the DB is lost.
  
Actual results:

[root@ortal-rhevm3 ~]# engine-manage-domains -action=add -domain=qa.lab.tlv.redhat.com -user=ortal -interactive -addPermissions
Failure while connecting to database. Details:

Expected results:

Missing Details when there is not DB connection.

Comment 1 Yair Zaslavsky 2012-05-09 06:38:28 UTC
I would simply rephrase this to give a more detailed string on what to check (basically, in most cases this is what the PSQL Exception will show anyway in its detailed message).

Comment 2 Yaniv Bronhaim 2012-08-16 06:19:16 UTC
suggest patch: http://gerrit.ovirt.org/#/c/7202/

Comment 5 David Botzer 2012-08-30 13:13:27 UTC
Fixed, 3.1/si16
Message describes as follow:
Local - stop psql service
"
Failure while connecting to database. Details: Connection refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
"

Remote - no permissions in pg_hba.conf
"
Failure while connecting to database. Details: FATAL: no pg_hba.conf entry for host "10.35.113.63", user "postgres", database "engine", SSL off
"
Fixed, 3.1/si16


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