Bug 1108742

Summary: Allow specifying of a global --password option in packstack to set all keys/secrets/passwords to that value
Product: [Community] RDO Reporter: Perry Myers <pmyers>
Component: openstack-packstackAssignee: Javier Peña <jpena>
Status: CLOSED CURRENTRELEASE QA Contact: yeylon <yeylon>
Severity: unspecified Docs Contact: Ido Ovadia <iovadia>
Priority: unspecified    
Version: unspecifiedCC: aortega, derekh, ichavero, jpena, lbezdick, srevivo, yeylon
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-packstack-2014.2-0.17.dev1462.gbb05296.fc22 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-03-30 23:06:48 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Perry Myers 2014-06-12 13:56:53 UTC
Description of problem:
From a test/debug perspective, it would be nice if it was easy to set a global password for all services, databases, keys, etc.

This is something you can do manually for each specific password, but that is cumbersome on the command line.

So in short, a --password option that is used to fan out to all other relevant parameters would be good.

If this is impossible, a helper script could be used.  One that calls packstack under the covers with all of the appropriate individual password cli arguments.

Comment 1 Javier Peña 2014-09-17 14:34:10 UTC
Patch proposed for review -> https://review.openstack.org/122164

Comment 2 Ivan Chavero 2014-09-23 06:28:07 UTC
Just as an observation: it might just me being paranoid but it might be dangerous to have the same password for the mysql root user and passwords that are pottentialy to be given to other users. I know packstack is PoC tool but that shouldn't stop us for thinking about basic security if we can.