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
This commit is contained in:
parent
61f2bd86b0
commit
85879afc0b
@ -33,6 +33,7 @@
|
|||||||
privileged: "{{ service.privileged | default(False) }}"
|
privileged: "{{ service.privileged | default(False) }}"
|
||||||
volumes: "{{ service.volumes|reject('equalto', '')|list }}"
|
volumes: "{{ service.volumes|reject('equalto', '')|list }}"
|
||||||
dimensions: "{{ service.dimensions }}"
|
dimensions: "{{ service.dimensions }}"
|
||||||
|
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
||||||
when:
|
when:
|
||||||
- kolla_action == 'upgrade'
|
- kolla_action == 'upgrade'
|
||||||
- inventory_hostname in groups[service.group]
|
- inventory_hostname in groups[service.group]
|
||||||
|
@ -14,6 +14,7 @@
|
|||||||
privileged: "{{ service.privileged | default(False) }}"
|
privileged: "{{ service.privileged | default(False) }}"
|
||||||
volumes: "{{ service.volumes|reject('equalto', '')|list }}"
|
volumes: "{{ service.volumes|reject('equalto', '')|list }}"
|
||||||
dimensions: "{{ service.dimensions }}"
|
dimensions: "{{ service.dimensions }}"
|
||||||
|
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
||||||
when:
|
when:
|
||||||
- kolla_action == 'upgrade'
|
- kolla_action == 'upgrade'
|
||||||
- inventory_hostname in groups[service.group]
|
- inventory_hostname in groups[service.group]
|
||||||
|
@ -14,6 +14,7 @@
|
|||||||
privileged: "{{ service.privileged | default(False) }}"
|
privileged: "{{ service.privileged | default(False) }}"
|
||||||
volumes: "{{ service.volumes|reject('equalto', '')|list }}"
|
volumes: "{{ service.volumes|reject('equalto', '')|list }}"
|
||||||
dimensions: "{{ service.dimensions }}"
|
dimensions: "{{ service.dimensions }}"
|
||||||
|
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
||||||
when:
|
when:
|
||||||
- kolla_action == 'upgrade'
|
- kolla_action == 'upgrade'
|
||||||
- inventory_hostname in groups[service.group]
|
- inventory_hostname in groups[service.group]
|
||||||
|
5
releasenotes/notes/bug-1939679-a31bc2093a4c0000.yaml
Normal file
5
releasenotes/notes/bug-1939679-a31bc2093a4c0000.yaml
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
fixes:
|
||||||
|
- |
|
||||||
|
Fixes nova's healthchecks when upgrading from previous version.
|
||||||
|
`LP#1939679 <https://launchpad.net/bugs/1939679>`__
|
Loading…
Reference in New Issue
Block a user