Why `fence_mpath` fails with `ERROR:root:Failed to verify X device(s)`?

Solution In Progress - Updated -

Issue

  • testing fencing with fence_mpath from pacemaker fails and following error can be seen in corosync.log

    stonith-ng:  warning: log_action:    fence_mpath[XXXX] stderr: [ ERROR:root:Failed to verify X device(s) ]
    
  • testing fence_mpath manually prints the following error

    # fence_mpath -o off -k YY -d /dev/mapper/mpathZ
    Failed to verify X device(s)
    

Environment

  • Red Hat Enterprise Linux 7 with High-Availability or Resilient Storage Add-on
  • fence-agents-mpath-4.0.11-86.el7_5.2 and possibly previous versions

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