Bug 1461973

Summary: [RFE] Auto-generate PostgreSQL password for cfme-openshift pods
Product: Red Hat CloudForms Management Engine Reporter: Satoe Imaishi <simaishi>
Component: cfme-openshift-appAssignee: Satoe Imaishi <simaishi>
Status: CLOSED ERRATA QA Contact: Einat Pacifici <epacific>
Severity: unspecified Docs Contact: Red Hat CloudForms Documentation <cloudforms-docs>
Priority: unspecified    
Version: 5.8.0CC: bazulay, cpelland, jhardy
Target Milestone: GAKeywords: FutureFeature, ZStream
Target Release: 5.8.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.8.1.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-08-02 17:11:17 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: Container Management Target Upstream Version:
Embargoed:

Description Satoe Imaishi 2017-06-15 19:12:10 UTC
From: https://github.com/ManageIQ/manageiq-pods/issues/105

Current ability of configuring a password for PostgreSQL (DATABASE_PASSWORD) is handy but in case it's not defined it shouldn't be a known default password "smartvm" but rather a random generated one (and stored as a secret).

Comment 2 Satoe Imaishi 2017-06-15 19:14:37 UTC
Upstream fixed by Franco: https://github.com/ManageIQ/manageiq-pods/pull/118

Comment 4 Einat Pacifici 2017-08-01 07:50:43 UTC
Verified. 
Followed: 
https://github.com/ManageIQ/manageiq-pods/pull/118

After complete install of podified CFME on OCP3.5
Ran the command: 
[root@cmqe-podified-master ~]# oc describe pods cloudforms-0 | grep PASSW
Response: 
      POSTGRESQL_PASSWORD:		<set to the key 'pg-password' in secret 'cloudforms-secrets'>

Comment 6 errata-xmlrpc 2017-08-02 17:11:17 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/RHBA-2017:1757