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

Solution Verified - Updated -

Issue

  • Resources restart when performing pcs resource cleanup
  • Whenever I run pcs resource cleanup, I see my resources all restarting
  • If I cleanup any stonith device, all my resources restart
  • A pcs resource cleanup seems 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 a cleanup
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 stonith devices that provide unfencing configured in a cluster
    • Many storage-based devices like fence_scsi, fence_brocade, and similar provide unfencing

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content