Red Hat Bugzilla – Bug 1288929
service pacemaker_remote stop causes node to be fenced
Last modified: 2016-11-03 14:57:31 EDT
Description of problem: Graceful shutdown doesn't work Version-Release number of selected component (if applicable): How reproducible: 100% Steps to Reproduce: 1. Run: service pacemaker_remote stop Actual results: Fencing! Expected results: 1. Contacts/notifies peer cluster 2. Peer cluster stops all services 3. Peer cluster tells pacemaker_remote it can shut down 4. Peer cluster recognises that the remote node was expected to shutdown Additional info: Esp. relevant for OSP upgrades
As a side note, and as a workaround, the sequence of the commands we are using to avoid fencing is this one: 1) Reboot the compute node from console 2) Do a nova stop <computenodeid> from the undercloud 3) Do a nova start <computenodeid> from the undercloud 4) Do a cycle like this on one of the controller: $ while true; do sudo pcs resource cleanup overcloud-novacompute-0; sleep 5; done from a controller node 5) Once the machine is up, stop the cycle from step 4
Fixed upstream as of commit da17fd0
This bug was accidentally moved from POST to MODIFIED via an error in automation, please see mmccune@redhat.com with any questions
Verified on RHEL-OSP director 9.0 puddle - 2016-06-03.1 Using "systemctl stop pacemaker_remote.service" stopping the service and pacemaker change the status to stopped: overcloud-novacompute-1 (ocf::pacemaker:remote): Stopped When using kill command the status is changed to FAILED and the compute is fenced: overcloud-novacompute-1 (ocf::pacemaker:remote): FAILED rpm: pacemaker-debuginfo-1.1.13-10.el7_2.2.x86_64 pacemaker-1.1.13-10.el7_2.2.x86_64 pacemaker-libs-1.1.13-10.el7_2.2.x86_64 pacemaker-cluster-libs-1.1.13-10.el7_2.2.x86_64 pacemaker-cli-1.1.13-10.el7_2.2.x86_64 pacemaker-nagios-plugins-metadata-1.1.13-10.el7_2.2.x86_64 pacemaker-doc-1.1.13-10.el7_2.2.x86_64 pacemaker-remote-1.1.13-10.el7_2.2.x86_64
I'm putting in the same doc text that we had for this feature for RHEL 6.8 for the release notes.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHSA-2016-2578.html