Skip to content
This repository has been archived by the owner on Feb 29, 2024. It is now read-only.

Commit

Permalink
Merge "Update environment var for keystone bootstrap" into stable/train
Browse files Browse the repository at this point in the history
  • Loading branch information
Zuul authored and openstack-gerrit committed Dec 20, 2019
2 parents 7aff0b2 + 5852142 commit 06f5b9b
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions deployment/keystone/keystone-container-puppet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -657,15 +657,11 @@ outputs:
start_order: 3
action: exec
user: root
# NOTE(mwhahaha): We use $$ because we're executing in python to
# call as shell script and passing the command to run as arguments
# to that shell script. So when it is called via eval, the escaped
# $ properly evaulates
command:
[ 'keystone', '/usr/bin/bootstrap_host_exec', 'keystone' ,'keystone-manage', 'bootstrap', '--bootstrap-password', '$$KEYSTONE_BOOTSTRAP_PASSWORD' ]
[ 'keystone', '/usr/bin/bootstrap_host_exec', 'keystone' ,'keystone-manage', 'bootstrap' ]
environment:
KOLLA_BOOTSTRAP: true
KEYSTONE_BOOTSTRAP_PASSWORD: {get_param: AdminPassword}
OS_BOOTSTRAP_PASSWORD: {get_param: AdminPassword}
step_4:
# There are cases where we need to refresh keystone after the resource provisioning,
# such as the case of using LDAP backends for domains. So we trigger a graceful
Expand Down

0 comments on commit 06f5b9b

Please sign in to comment.