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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.