All resources restart after executing 'pcs resource cleanup' in a cluster with a stonith device that provides unfencing in a RHEL 6 or 7 High Availability cluster with pacemaker
Issue
- Resources restart when performing
pcs resource cleanup - Whenever I run
pcs resource cleanup, I see my resources all restarting - If I cleanup any
stonithdevice, all my resources restart - A
pcs resource cleanupseems to trigger some resources to stop, which has been failing or timing out, and then a node gets fenced. Its not clear why those resources stop during acleanup
Feb 28 14:23:29 [23182] rhel6-pcmk-node1.example.com pengine: info: native_print: scsi (stonith:fence_scsi): Stopped
Feb 28 14:23:29 [23182] rhel6-pcmk-node1.example.com pengine: info: native_print: myResource (ocf::heartbeat:Dummy): Started rhel6-pcmk-node2.example.com
Feb 28 14:23:29 [23182] rhel6-pcmk-node1.example.com pengine: notice: trigger_unfencing: Unfencing rhel6-pcmk-node1.example.com: node discovery
Feb 28 14:23:29 [23182] rhel6-pcmk-node1.example.com pengine: notice: trigger_unfencing: Unfencing rhel6-pcmk-node2.example.com: node discovery
Feb 28 14:23:29 [23182] rhel6-pcmk-node1.example.com pengine: info: RecurringOp: Start recurring monitor (60s) for scsi on rhel6-pcmk-node1.example.com
Feb 28 14:23:29 [23182] rhel6-pcmk-node1.example.com pengine: info: RecurringOp: Start recurring monitor (10s) for myResource on rhel6-pcmk-node2.example.com
Feb 28 14:23:29 [23182] rhel6-pcmk-node1.example.com pengine: notice: LogActions: Start scsi (rhel6-pcmk-node1.example.com)
Feb 28 14:23:29 [23182] rhel6-pcmk-node1.example.com pengine: notice: LogActions: Restart myResource (Started rhel6-pcmk-node2.example.com)
Environment
- Red Hat Enterprise Linux (RHEL) 6 or 7 with the High Availability Add-On
pacemaker- One or more
stonithdevices that provide unfencing configured in a cluster- Many storage-based devices like
fence_scsi,fence_brocade, and similar provide unfencing
- Many storage-based devices like
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
