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:
wu.chunyang 2020-06-14 00:41:43 +08:00 committed by caoyuan
parent f1addfa300
commit 40096b4868
3 changed files with 7 additions and 3 deletions

View File

@ -46,6 +46,9 @@
- import_tasks: config_bootstrap.yml
- include_tasks: clone.yml
when: nova_dev_mode | bool
- import_tasks: bootstrap_service.yml
- import_tasks: map_cell0.yml

View File

@ -2,9 +2,6 @@
- include_tasks: register.yml
when: inventory_hostname in groups['nova-api']
- include_tasks: clone.yml
when: nova_dev_mode | bool
- include_tasks: config.yml
- name: Flush handlers

View File

@ -0,0 +1,4 @@
---
fixes:
- |
fix deploy nova failed when use kolla_dev_mod.