Cluster service with lvm resource using HA-LVM with tagging fails to stop with 'lv_exec_resilient failed' in RHEL 5 when using device-mapper-multipath

Solution Unverified - Updated -

Issue

  • When stopping or relocating a cluster service, it fails to stop an lvm resource with lv_exec_resilient failed
Sep 10 00:30:04 node1 clurgmgrd[21429]: Stopping service service:myService
Sep 10 00:30:49 node1 clurgmgrd: [21429]: Deactivating myVG/myLV
Sep 10 00:30:49 node1 clurgmgrd: [21429]: Making resilient : lvchange -an myVG/myLV
Sep 10 00:30:49 node1 clurgmgrd: [21429]: Resilient command: lvchange -an myVG/myLV --config devices{filter=["a|/dev/cciss/c0d0p2|","a|/dev/mpath/mpath1|","r|.*|"]}
Sep 10 00:30:49 node1 clurgmgrd: [21429]: lv_exec_resilient failed
Sep 10 00:30:49 node1 clurgmgrd: [21429]: lv_activate_resilient stop failed on myVG/myLV
Sep 10 00:30:49 node1 clurgmgrd: [21429]: Unable to deactivate myVG/myLV
Sep 10 00:30:49 node1 clurgmgrd: [21429]: Failed to stop myVG/myLV
Sep 10 00:30:49 node1 clurgmgrd: [21429]: Failed to stop myVG/myLV
Sep 10 00:30:49 node1 clurgmgrd[21429]: stop on lvm "myVG-myLV" returned 1 (generic error)
Sep 10 00:30:49 node1 clurgmgrd[21429]: #12: RG service:myService failed to stop; intervention required
Sep 10 00:30:49 node1 clurgmgrd[21429]: Service service:myService is failed
Sep 10 00:30:49 node1 sshd[2676881]: fatal: Read from socket failed: Connection reset by peer
Sep 10 00:30:50 node1 clurgmgrd[21429]: #2: Service service:myService returned failure code. Last Owner: node1.example.com
Sep 10 00:30:50 node1 clurgmgrd[21429]: #4: Administrator intervention required.

Environment

  • Red Hat Enterprise Linux (RHEL) 5 with the High Availability Add On
  • HA-LVM with tagging
    • One or more lvm resources in /etc/cluster/cluster.conf
    • volume_list specifying nodename tag in /etc/lvm/lvm.conf
  • Using device-mapper-multipath
    • multipathd has been started or restarted after the affected cluster service was last started (See Diagnostic Steps)
    • One or more of the conditions from this issue is present

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.