Setup service users and endpoints before database setup
As part of the nova-status upgrade check process, it makes sure that the credentials setup for the service are working. Because we run that in nova_db_setup.yml, it means that the endpoints and users don't exist yet and it cannot validate it. This instead sets up the service much earlier in order to make sure that Nova can find it. Change-Id: Idf14240a9843a55575fd1816c78ba9d4a8a19632
This commit is contained in:
parent
9d558a5922
commit
4aa6c50056
@ -77,6 +77,13 @@
|
|||||||
tags:
|
tags:
|
||||||
- nova-config
|
- nova-config
|
||||||
|
|
||||||
|
- include_tasks: nova_service_setup.yml
|
||||||
|
when:
|
||||||
|
- "nova_services['nova-conductor']['group'] in group_names"
|
||||||
|
- "inventory_hostname == ((groups['nova_conductor'] | intersect(ansible_play_hosts)) | list)[0]"
|
||||||
|
tags:
|
||||||
|
- nova-config
|
||||||
|
|
||||||
- include_tasks: nova_db_setup.yml
|
- include_tasks: nova_db_setup.yml
|
||||||
when:
|
when:
|
||||||
- "nova_services['nova-conductor']['group'] in group_names"
|
- "nova_services['nova-conductor']['group'] in group_names"
|
||||||
@ -115,13 +122,6 @@
|
|||||||
tags:
|
tags:
|
||||||
- nova-config
|
- nova-config
|
||||||
|
|
||||||
- include_tasks: nova_service_setup.yml
|
|
||||||
when:
|
|
||||||
- "nova_services['nova-conductor']['group'] in group_names"
|
|
||||||
- "inventory_hostname == ((groups['nova_conductor'] | intersect(ansible_play_hosts)) | list)[0]"
|
|
||||||
tags:
|
|
||||||
- nova-config
|
|
||||||
|
|
||||||
- include_tasks: nova_compute.yml
|
- include_tasks: nova_compute.yml
|
||||||
when:
|
when:
|
||||||
- "nova_services['nova-compute']['group'] in group_names"
|
- "nova_services['nova-compute']['group'] in group_names"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user