Bug 1543329

Summary: 'None' appears instead of the database host name when the database is misconfigured when installing ovirt-engine
Product: [oVirt] ovirt-engine Reporter: Allon Mureinik <amureini>
Component: GeneralAssignee: Yedidyah Bar David <didi>
Status: CLOSED DUPLICATE QA Contact: Pavel Novotny <pnovotny>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.3.0CC: bugs, lsvaty, ylavi
Target Milestone: ovirt-4.3.0Flags: rule-engine: ovirt-4.3+
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-06-25 07:57:52 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Integration RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
log file none

Description Allon Mureinik 2018-02-08 09:34:45 UTC
Created attachment 1393095 [details]
log file

Description of problem:
I attempted to install oVirt Engine on my local machine with a database that does not adhere to the required specifications.
In the error message, I got 'None' instead of what I assumed should have been the machine's name:

"""
[ ERROR ] Please set:
          autovacuum_vacuum_scale_factor = 0.01
          autovacuum_analyze_scale_factor = 0.075
          autovacuum_max_workers = 6
          work_mem = 8192
          max_connections = 150
         in postgresql.conf on 'None'. Its location is usually /var/lib/pgsql/data , or somewhere under /etc/postgresql* .

"""

Version-Release number of selected component (if applicable):
- 1.1.5-0.0.master.20180131143442.git57b0f44.fc27 from the nightly snapshot
- oVirt Engine built from source from commit c67207ad112

How reproducible:
Tried once, happened once

Steps to Reproduce:
Attempt to install oVirt Engine with a misconfured postgresql database. Not sure what other preconditions are required.

Actual results:
'None' appears in the error message

Expected results:
The host name should appear in the error message


Additional info:
Note - I repaired the configuration error and retired, and had the installation fail due to an unrelated issue.
This appears in the attached log, but is not relevant to this BZ.

Comment 1 Yaniv Lavi 2018-06-25 07:57:52 UTC

*** This bug has been marked as a duplicate of bug 1463303 ***

Comment 2 Yedidyah Bar David 2018-06-25 08:05:56 UTC

*** This bug has been marked as a duplicate of bug 1578276 ***