Execute the keystone db setup earlier in the process
As the keystone credential_migrate command can access the keystone database in cases the os_keystone role stopped prematurely, the db setup playbook is moved in front of the `keystone_credential_create.yml` playbook to prevent and race condition. Change-Id: I8c89be0ffb4f23b79c0463bff2eb135b9769eb2a Closed-Bug: #1829438
This commit is contained in:
parent
c17062f3b4
commit
3afb763c10
@ -78,6 +78,12 @@
|
||||
tags:
|
||||
- keystone-config
|
||||
|
||||
- include_tasks: keystone_db_setup.yml
|
||||
when:
|
||||
- "keystone_database_enabled | bool"
|
||||
tags:
|
||||
- keystone-config
|
||||
|
||||
- include_tasks: keystone_credential.yml
|
||||
when: keystone_service_setup | bool
|
||||
tags:
|
||||
@ -105,12 +111,6 @@
|
||||
- common-mq
|
||||
- keystone-config
|
||||
|
||||
- include_tasks: keystone_db_setup.yml
|
||||
when:
|
||||
- "keystone_database_enabled | bool"
|
||||
tags:
|
||||
- keystone-config
|
||||
|
||||
- include_tasks: keystone_ssl.yml
|
||||
tags:
|
||||
- keystone-config
|
||||
|
Loading…
Reference in New Issue
Block a user