Description of problem: Talking with Mehdi Abaakouk about a customer case suggested some improvements that are worth to include on OSP. We had an issue where customer got the following error: ceilometer.coordination ToozError: You can't write against a read only slave Mehdi suggested the following improvement: """ You also need to ensure that your pacemaker configuration stop/kill redis when its depromoted from master, otherwise Ceilometer will stay connected to it even haproxy marks the node as DOWN. """ Version-Release number of selected component (if applicable): haproxy-1.5.4-4.el7_1.1.x86_64 openstack-puppet-modules-2015.1.8-21.el7ost.noarch pacemaker-1.1.12-22.el7_1.4.x86_64 pacemaker-cli-1.1.12-22.el7_1.4.x86_64 pacemaker-cluster-libs-1.1.12-22.el7_1.4.x86_64 pacemaker-libs-1.1.12-22.el7_1.4.x86_64 pacemaker-remote-1.1.12-22.el7_1.4.x86_64 puppet-3.6.2-2.el7.noarch rubygem-rdoc-4.0.0-25.el7_1.noarch How reproducible: not sure Steps to Reproduce: 1. setup openstack HA 2. make celiometer to connect to mongodb 3. promote a slave mongodb to master Actual results: Ceilometer trying to write to a slave with the following error ceilometer.coordination ToozError: You can't write against a read only slave Expected results: Ceilometer writing to the master mongodb server Additional info:
*** This bug has been marked as a duplicate of bug 1305549 ***