fix deploy nova failed when use kolla_dev_mod
There's a logic error here, we call nova role from nova.yml file under ansible folder. we should clone code before run bootstrap_service task. if not, /opt/stack/nova which is empty will mount to nova_api container. Change-Id: Icc54c15080db9c2dc92709480e00b990e5a88662
This commit is contained in:
parent
f1addfa300
commit
40096b4868
@ -46,6 +46,9 @@
|
|||||||
|
|
||||||
- import_tasks: config_bootstrap.yml
|
- import_tasks: config_bootstrap.yml
|
||||||
|
|
||||||
|
- include_tasks: clone.yml
|
||||||
|
when: nova_dev_mode | bool
|
||||||
|
|
||||||
- import_tasks: bootstrap_service.yml
|
- import_tasks: bootstrap_service.yml
|
||||||
|
|
||||||
- import_tasks: map_cell0.yml
|
- import_tasks: map_cell0.yml
|
||||||
|
@ -2,9 +2,6 @@
|
|||||||
- include_tasks: register.yml
|
- include_tasks: register.yml
|
||||||
when: inventory_hostname in groups['nova-api']
|
when: inventory_hostname in groups['nova-api']
|
||||||
|
|
||||||
- include_tasks: clone.yml
|
|
||||||
when: nova_dev_mode | bool
|
|
||||||
|
|
||||||
- include_tasks: config.yml
|
- include_tasks: config.yml
|
||||||
|
|
||||||
- name: Flush handlers
|
- name: Flush handlers
|
||||||
|
@ -0,0 +1,4 @@
|
|||||||
|
---
|
||||||
|
fixes:
|
||||||
|
- |
|
||||||
|
fix deploy nova failed when use kolla_dev_mod.
|
Loading…
Reference in New Issue
Block a user