Monitor operation of the filesystem resource in pacemaker cluster fails with error : "/usr/lib/ocf/resource.d/heartbeat/Filesystem: line 271: /proc/mounts: No such file or directory"

Solution Verified - Updated -

Issue

  • Monitor operation of ocf:heartbeat:Filesystem resource fails with the stderr :

    Apr  8 01:41:40 node1 lrmd[2018]:  notice: filesystem-resource_monitor_30000:123456:stderr [ /usr/lib/ocf/resource.d/heartbeat/Filesystem: line 271: /proc/mounts: No such file or directory ]
    Apr  8 01:41:40 node1 crmd[2024]:  notice: node1-filesystem-resource_monitor_30000:234 [ /usr/lib/ocf/resource.d/heartbeat/Filesystem: line 271: /proc/mounts: No such file or directory\n ]
    
  • Monitor operation of ocf:heartbeat:LVM resource fails with the stderr :

    Apr  8 01:41:40 node1 LVM(lv_test)[109283]: ERROR: WARNING: vg_test is active without the cluster tag, "pacemaker"
    Apr  8 01:41:40 node1 lrmd[7521]:  notice: lv_test_monitor_10000:109283:stderr [   /proc/devices: fopen failed: No such file or directory ]
    Apr  8 01:41:40 node1 lrmd[7521]:  notice: lv_test_monitor_10000:109283:stderr [ ocf-exit-reason:WARNING: vg_test is active without the cluster tag, "pacemaker" ]
    

Environment

  • Red Hat Enterprise Linux 7.9 (with the High Availability Add-on)
  • seen on 3.10.0-1160.129.1.el7

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