Add missing constraints in yum_update.sh
authorJames Slagle <jslagle@redhat.com>
Wed, 11 Nov 2015 20:46:52 +0000 (15:46 -0500)
committerJames Slagle <jslagle@redhat.com>
Wed, 11 Nov 2015 20:56:16 +0000 (15:56 -0500)
commitbfb698e82becf7f53c670618365311029b4f73b8
treede89903efbcfd7a4b4e10519d4f34855e717be48
parent1b22aed7054ca08e93d870bdc6103c36f97c4b17
Add missing constraints in yum_update.sh

Some missing pacemaker constraints were added in the following commits:

https://review.openstack.org/#/c/219770/
https://review.openstack.org/#/c/219665/
https://review.openstack.org/#/c/218931/
https://review.openstack.org/#/c/218930/

Overclouds that were deployed prior to these constraints being added to
tripleo-heat-templates still have the constraints missing. During an
update, stopping and starting the cluster can fail without these
constraints in place.  As a workaround, conditionally add these
contraints in yum_update.sh so that we're sure they're always present
before updating.

Change-Id: Id46c85dbbe5e85d362279661091b17ce1b697fe0
extraconfig/tasks/yum_update.sh