Skip to content
Snippets Groups Projects
Commit 40096b48 authored by wu.chunyang's avatar wu.chunyang Committed by caoyuan
Browse files

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
parent f1addfa3
No related branches found
No related tags found
No related merge requests found
...@@ -46,6 +46,9 @@ ...@@ -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 @@ ...@@ -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
......
---
fixes:
- |
fix deploy nova failed when use kolla_dev_mod.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment