Skip to content
Snippets Groups Projects
Commit 6f05f1b8 authored by Mark Goddard's avatar Mark Goddard
Browse files

Ensure keepalived is restarted during upgrade

During upgrade, we stop all slave keepalived containers. However, if the
keepalived container configuration has not changed, we never restart
them.

This change fixes the issue by notifying the restart handler when the
containers are stopped.

Change-Id: Ibe094b0c14a70a0eb811182d96f045027aa02c2a
Closes-Bug: #1836368
parent b7bbbae9
No related branches found
No related tags found
No related merge requests found
...@@ -10,6 +10,8 @@ ...@@ -10,6 +10,8 @@
common_options: "{{ docker_common_options }}" common_options: "{{ docker_common_options }}"
name: "keepalived" name: "keepalived"
when: kolla_internal_vip_address not in secondary_addresses when: kolla_internal_vip_address not in secondary_addresses
notify:
- Restart keepalived container
- name: Flush handlers - name: Flush handlers
meta: flush_handlers meta: flush_handlers
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment