Fix MariaDB account removal race condition
authorJiri Stransky <jistr@redhat.com>
Fri, 2 Oct 2015 12:49:25 +0000 (14:49 +0200)
committerJiri Stransky <jistr@redhat.com>
Mon, 5 Oct 2015 10:58:30 +0000 (12:58 +0200)
commit7a5262fbb97f1759ba74e0897f9e5c6e4e61269d
treed399eec17cde467dfb845a88701915d2f27b3737
parentd29003ac6d1c61db65b4ca3272ecbde3ea0942be
Fix MariaDB account removal race condition

The removal of default MariaDB accounts was being triggered roughly at
the same time on all controllers, causing a race condition -- multiple
nodes found an account present and attempted deletion, but then only one
succeeded with the deletion, the others failed.

HA controller deletes the accounts only on bootstrap node now, which
fixes the issue.

Change-Id: Ieacd10a6ce26da50f6a37eaa3221d866c24353fa
puppet/hieradata/controller.yaml
puppet/manifests/overcloud_controller.pp
puppet/manifests/overcloud_controller_pacemaker.pp