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

Commit

Permalink
Update environment var for keystone bootstrap
Browse files Browse the repository at this point in the history
Related-Bug: #1855932

Change-Id: I6907729bca667459466834276513e9f0233d10d0
Depends-On: https://review.opendev.org/#/c/698928/
(cherry picked from commit 6f90cd8)
  • Loading branch information
mwhahaha committed Dec 13, 2019
1 parent f763f2e commit 5852142
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 5852142

Please sign in to comment.