Cluster service with lvm resource fails to start with error "Unable to get volume group attributes" in a RHEL 5 or 6 High Availability cluster with HA-LVM
Issue
- Service start up on secondary node failed after primary cluster node was fenced
- Attempts to start a cluster service fail with the
lvm
resource reporting "Unable to get volume group attributes"
Sep 21 16:29:46 node1 clurgmgrd[15823]: <notice> Starting stopped service service:svc1
Sep 21 16:29:47 node1 clurgmgrd: [15823]: <err> HA LVM: Unable to get volume group attributes for myVG
Sep 21 16:29:47 node1 clurgmgrd[15823]: <notice> start on lvm "lvm_myVG" returned 1 (generic error)
Sep 21 16:29:47 node1 clurgmgrd[15823]: <warning> #68: Failed to start service:svc1; return value: 1
Sep 21 16:29:47 node1 clurgmgrd[15823]: <notice> Stopping service service:svc1
Environment
- Red Hat Enterprise Linux (RHEL) 5 or 6 with the High Availability Add On
rgmanager
- HA-LVM
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.