undercloud_upgrade: tear-down keepalived
Keepalived was deprecated and the VIPs are now deployed by
os-net-config.
When Keepalived is stopped, it brings down the VIPs which is
problematic since it'll remove the resources created by os-net-config
so let's teardown keepalived in the upgrade tasks here and later
during the deploy the os-net-config tool will re-create the VIPs.
Doing it at step 5 so upgrade steps which need API access still work.
Change-Id: Iee46d0394ad0b2b31da93d0a93dcfa53766fa246
Related-Bug: #1888411
(cherry picked from commit 357a3eeb29
)
This commit is contained in:
parent
e556ab51d3
commit
aaad2cd706
|
@ -81,4 +81,19 @@ outputs:
|
|||
name: '*'
|
||||
state: latest
|
||||
exclude: ansible
|
||||
|
||||
# Keepalived was deprecated and the VIPs are now deployed by
|
||||
# os-net-config.
|
||||
# When Keepalived is stopped, it brings down the VIPs which is
|
||||
# problematic since it'll remove the resources created by os-net-config
|
||||
# so let's teardown keepalived in the upgrade tasks here and later
|
||||
# during the deploy the os-net-config tool will re-create the VIPs.
|
||||
# Doing it at step 5 so upgrade steps which need API access still work.
|
||||
- name: Remove keepalived container
|
||||
include_role:
|
||||
name: tripleo_container_rm
|
||||
vars:
|
||||
tripleo_container_cli: "{{ container_cli }}"
|
||||
tripleo_containers_to_rm:
|
||||
- keepalived
|
||||
when:
|
||||
- step|int == 5
|
||||
|
|
Loading…
Reference in New Issue