Bug 1468593

Summary: Check for blank password in database configuration to avoid postgres errors
Product: Red Hat CloudForms Management Engine Reporter: Satoe Imaishi <simaishi>
Component: ApplianceAssignee: Yuri Rudman <yrudman>
Status: CLOSED ERRATA QA Contact: Matouš Mojžíš <mmojzis>
Severity: medium Docs Contact:
Priority: high    
Version: 5.8.0CC: abellott, jhardy, jrafanie, mdahlgre, obarenbo, pakotvan, simaishi
Target Milestone: GAKeywords: ZStream
Target Release: 5.7.4   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.7.4.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1443689 Environment:
Last Closed: 2017-12-18 20:26:49 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: CFME Core Target Upstream Version:
Embargoed:
Bug Depends On: 1443689    
Bug Blocks:    

Comment 2 CFME Bot 2017-07-07 13:35:57 UTC
New commit detected on ManageIQ/manageiq/euwe:
https://github.com/ManageIQ/manageiq/commit/d923273c190015edc80191ab79598fe3bc0a36ba

commit d923273c190015edc80191ab79598fe3bc0a36ba
Author:     Nick Carboni <ncarboni>
AuthorDate: Tue Apr 25 09:14:40 2017 -0400
Commit:     Satoe Imaishi <simaishi>
CommitDate: Fri Jul 7 09:31:22 2017 -0400

    Merge pull request #125 from yrudman/do-not-allow-empty-password-for-db
    
    Do not allow to enter empty passwords when configuring DB
    (cherry picked from commit 728afb6a4e41cd7ad0c695cb467aed5311cb2a8d)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1468593

 gems/pending/appliance_console/database_configuration.rb  | 15 ++++++++++-----
 gems/pending/appliance_console/database_replication.rb    |  4 ++--
 .../spec/appliance_console/database_configuration_spec.rb |  9 ++++++++-
 .../spec/appliance_console/database_replication_spec.rb   |  3 +--
 4 files changed, 21 insertions(+), 10 deletions(-)

Comment 3 Matouš Mojžíš 2017-09-22 12:02:54 UTC
Verified in 5.7.4.0. There is password check for blank passwords when setting up database from appliance console.

Comment 6 errata-xmlrpc 2017-12-18 20:26:49 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.

https://access.redhat.com/errata/RHSA-2017:3484