fix deploy freezer failed when kolla_dev_mod enabled
we should clone freezer code before run bootstray, otherwise, the directory /opt/stack/freezer which is empty will mount into freezer_api container. Closes-Bug: #1888242 Change-Id: I7c22dd380fd5b1dff7b421109c4ae37bab11834a
This commit is contained in:
parent
376988125a
commit
7dc471323c
@ -6,14 +6,14 @@
|
|||||||
when: inventory_hostname in groups['freezer-api'] or
|
when: inventory_hostname in groups['freezer-api'] or
|
||||||
inventory_hostname in groups['freezer-scheduler']
|
inventory_hostname in groups['freezer-scheduler']
|
||||||
|
|
||||||
|
- include_tasks: clone.yml
|
||||||
|
when: freezer_dev_mode | bool
|
||||||
|
|
||||||
- include_tasks: bootstrap.yml
|
- include_tasks: bootstrap.yml
|
||||||
when: freezer_database_backend == 'mariadb' and inventory_hostname in groups['freezer-api']
|
when: freezer_database_backend == 'mariadb' and inventory_hostname in groups['freezer-api']
|
||||||
|
|
||||||
- include_tasks: bootstrap_service.yml
|
- include_tasks: bootstrap_service.yml
|
||||||
when: inventory_hostname in groups['freezer-api']
|
when: inventory_hostname in groups['freezer-api']
|
||||||
|
|
||||||
- include_tasks: clone.yml
|
|
||||||
when: freezer_dev_mode | bool
|
|
||||||
|
|
||||||
- name: Flush handlers
|
- name: Flush handlers
|
||||||
meta: flush_handlers
|
meta: flush_handlers
|
||||||
|
@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
fixes:
|
||||||
|
- |
|
||||||
|
fix deploy freezer failed when use kolla_dev_mod
|
||||||
|
`LP#1888242 <https://bugs.launchpad.net/kolla-ansible/+bug/1888242>`__
|
Loading…
Reference in New Issue
Block a user