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.
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).
suggest patch: http://gerrit.ovirt.org/#/c/7202/
Merged upstream: http://gerrit.ovirt.org/gitweb?p=ovirt-engine.git;a=commit;h=64d7190218b9c952c4de6238704a1d79a23efe41
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