How to recover from 'Failed (blocked)'/'Failed (unmanaged)' state when using `on-fail=block`?

Solution Unverified - Updated -

Issue

  • We use on-fail=block for some cluster resource operations and when that operation fails we need to recover the resource. How to achieve this?
  • When we use the on-fail=block we see some resource in following states. How to recover from this?

    # pcs status
    ...
    xxx     (ocf::heartbeat:Dummy): FAILED (unmanaged)[ node1 ]
    ...
    

    or

    # pcs status
    ...
    xxx     (ocf::heartbeat:Dummy): FAILED (blocked)[ node1 ]
    ...
    

Environment

  • Red Hat Enterprise Linux 6,7 with High Availability of Resilient Storage Add-on
  • resources that are using on-fail=block action

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