Merge "Update: clean keepalived and radvd instances after pcs cluster stop"
This commit is contained in:
commit
80d929c75f
@ -136,6 +136,13 @@ openstack-nova-scheduler"
|
||||
else
|
||||
pcs cluster stop
|
||||
fi
|
||||
|
||||
# clean leftover keepalived and radvd instances from neutron
|
||||
# (can be removed when we remove neutron-netns-cleanup from cluster services)
|
||||
# see https://review.gerrithub.io/#/c/248931/1/neutron-netns-cleanup.init
|
||||
killall neutron-keepalived-state-change 2>/dev/null || :
|
||||
kill $(ps ax | grep -e "keepalived.*\.pid-vrrp" | awk '{print $1}') 2>/dev/null || :
|
||||
kill $(ps ax | grep -e "radvd.*\.pid\.radvd" | awk '{print $1}') 2>/dev/null || :
|
||||
else
|
||||
echo "Excluding upgrading packages that are handled by config management tooling"
|
||||
command_arguments="$command_arguments --skip-broken"
|
||||
|
Loading…
x
Reference in New Issue
Block a user