Disable VIPs before stopping cluster during version upgrade
authorIan Pilcher <arequipeno@gmail.com>
Mon, 2 May 2016 21:21:55 +0000 (16:21 -0500)
committerIan Pilcher <arequipeno@gmail.com>
Mon, 2 May 2016 21:26:49 +0000 (16:26 -0500)
commit6e65c8fc0a3c2b4025b08d1a2c8b03696e8fb7f6
tree80c1ccb5e169d10dcf78b0cb2f994b95f1e299f2
parentd2445af81d91659fb8faa394a5562546d4525410
Disable VIPs before stopping cluster during version upgrade

If "pcs cluster stop --all" is executed on a controller that
happens to have a VIP on the internal network, pcs may use the
VIP as the source address for communication with another cluster
node.  When pacemaker is stopped this VIP goes away, and pcs never
receives a response from the other node.  This causes pcs to hang
indefinitely; eventually the upgrade times out and fails.

Disabling the VIPs before stopping the cluster avoids this
situation.

Change-Id: I6bc59120211af28456018640033ce3763c373bbb
Closes-Bug: 1577570
extraconfig/tasks/major_upgrade_controller_pacemaker_1.sh
extraconfig/tasks/major_upgrade_controller_pacemaker_2.sh