Trivial fix nova's healthchecks

Kolla-ansible upgrade task is calling different
handlers as deploy task and these handlers are
missing healthcheck key. This patch is fixing
this.

Closes-Bug: #1939679
Change-Id: Id83d20bfd89c27ccf70a3a79938f428cdb5d40fc
(cherry picked from commit 85879afc0b)
This commit is contained in:
Michal Arbet 2021-08-12 13:06:06 +02:00 committed by Radosław Piliszek
parent e879cfe2da
commit 61eee50330
4 changed files with 8 additions and 0 deletions

View File

@ -33,6 +33,7 @@
privileged: "{{ service.privileged | default(False) }}"
volumes: "{{ service.volumes|reject('equalto', '')|list }}"
dimensions: "{{ service.dimensions }}"
healthcheck: "{{ service.healthcheck | default(omit) }}"
when:
- kolla_action == 'upgrade'
- inventory_hostname in groups[service.group]

View File

@ -14,6 +14,7 @@
privileged: "{{ service.privileged | default(False) }}"
volumes: "{{ service.volumes|reject('equalto', '')|list }}"
dimensions: "{{ service.dimensions }}"
healthcheck: "{{ service.healthcheck | default(omit) }}"
when:
- kolla_action == 'upgrade'
- inventory_hostname in groups[service.group]

View File

@ -14,6 +14,7 @@
privileged: "{{ service.privileged | default(False) }}"
volumes: "{{ service.volumes|reject('equalto', '')|list }}"
dimensions: "{{ service.dimensions }}"
healthcheck: "{{ service.healthcheck | default(omit) }}"
when:
- kolla_action == 'upgrade'
- inventory_hostname in groups[service.group]

View File

@ -0,0 +1,5 @@
---
fixes:
- |
Fixes nova's healthchecks when upgrading from previous version.
`LP#1939679 <https://launchpad.net/bugs/1939679>`__