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:
wu.chunyang 2020-07-20 23:46:51 +08:00
parent 376988125a
commit 7dc471323c
2 changed files with 8 additions and 3 deletions

View File

@ -6,14 +6,14 @@
when: inventory_hostname in groups['freezer-api'] or
inventory_hostname in groups['freezer-scheduler']
- include_tasks: clone.yml
when: freezer_dev_mode | bool
- include_tasks: bootstrap.yml
when: freezer_database_backend == 'mariadb' and inventory_hostname in groups['freezer-api']
- include_tasks: bootstrap_service.yml
when: inventory_hostname in groups['freezer-api']
- include_tasks: clone.yml
when: freezer_dev_mode | bool
- name: Flush handlers
meta: flush_handlers

View File

@ -0,0 +1,5 @@
---
fixes:
- |
fix deploy freezer failed when use kolla_dev_mod
`LP#1888242 <https://bugs.launchpad.net/kolla-ansible/+bug/1888242>`__