Add KOLLA_BOOTSTRAP=True to 2 bootstrap containers
keystone_bootstrap and mysql_sync_credentials are containers which need to be run on the bootstrap node only, there is no need to run them on other controllers. It avoids useless verbosity when they fail to execute. Change-Id: I4acf992e41f60a5462f8fa35964c051ca15895ba Closes-Bug: #1840999
This commit is contained in:
parent
b3510328ba
commit
24a934de79
deployment
@ -210,6 +210,8 @@ outputs:
|
||||
user: root
|
||||
command:
|
||||
[ 'mysql', '/bin/bash', '-c', 'cp /var/lib/kolla/config_files/src/root/.my.cnf /root' ]
|
||||
environment:
|
||||
- KOLLA_BOOTSTRAP=True
|
||||
container_puppet_tasks:
|
||||
# MySQL database initialization occurs only on single node
|
||||
step_2:
|
||||
|
@ -747,6 +747,8 @@ outputs:
|
||||
user: root
|
||||
command:
|
||||
[ 'keystone', '/usr/bin/bootstrap_host_exec', 'keystone' ,'keystone-manage', 'bootstrap', '--bootstrap-password', {get_param: AdminPassword} ]
|
||||
environment:
|
||||
- KOLLA_BOOTSTRAP=True
|
||||
keystone_cron:
|
||||
start_order: 4
|
||||
image: *keystone_image
|
||||
|
Loading…
x
Reference in New Issue
Block a user