diff --git a/ansible/roles/nova-cell/tasks/reload.yml b/ansible/roles/nova-cell/tasks/reload.yml index 45ede976d7..d55630a086 100644 --- a/ansible/roles/nova-cell/tasks/reload.yml +++ b/ansible/roles/nova-cell/tasks/reload.yml @@ -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] diff --git a/ansible/roles/nova/tasks/reload_api.yml b/ansible/roles/nova/tasks/reload_api.yml index 52c7446176..6006852e6a 100644 --- a/ansible/roles/nova/tasks/reload_api.yml +++ b/ansible/roles/nova/tasks/reload_api.yml @@ -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] diff --git a/ansible/roles/nova/tasks/reload_super_conductor.yml b/ansible/roles/nova/tasks/reload_super_conductor.yml index 687b2b0135..d745a464d1 100644 --- a/ansible/roles/nova/tasks/reload_super_conductor.yml +++ b/ansible/roles/nova/tasks/reload_super_conductor.yml @@ -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] diff --git a/releasenotes/notes/bug-1939679-a31bc2093a4c0000.yaml b/releasenotes/notes/bug-1939679-a31bc2093a4c0000.yaml new file mode 100644 index 0000000000..f5d4fdf7a4 --- /dev/null +++ b/releasenotes/notes/bug-1939679-a31bc2093a4c0000.yaml @@ -0,0 +1,5 @@ +--- +fixes: + - | + Fixes nova's healthchecks when upgrading from previous version. + `LP#1939679 `__