Hide Forgot
Description of problem: ocf:heartbeat:LVM resource did not start and when I tried pcs resource havg 'debug-start' it reports > stderr: /usr/lib/ocf/resource.d/heartbeat/LVM: line 597: ocf_log_err: command not found Version-Release number of selected component (if applicable): resource-agents-3.9.2-41.el6.x86_64 How reproducible: always Steps to Reproduce: 1. configure ocf:heartbeat:LVM resource as below 2. pcs resource debug-start <resource-id> Actual results: error in LVM script Expected results: explanation why the resource cannot start Additional info: virt-134$ rpm -q resource-agents resource-agents-3.9.2-41.el6.x86_64 virt-134# pcs status Cluster name: STSRHTS32009 Last updated: Wed Dec 4 19:34:41 2013 Last change: Wed Dec 4 17:17:15 2013 via cibadmin on virt-134 Stack: cman Current DC: virt-136 - partition with quorum Version: 1.1.10-14.el6-368c726 3 Nodes configured 6 Resources configured Online: [ virt-134 virt-135 virt-136 ] Full list of resources: virt-fencing (stonith:fence_xvm): Started virt-134 Resource Group: ha-nfsserver vip (ocf::heartbeat:IPaddr2): Started virt-135 havg (ocf::heartbeat:LVM): Stopped nfs-shared-fs (ocf::heartbeat:Filesystem): Stopped nfs-server (ocf::heartbeat:nfsserver): Stopped nfs-export (ocf::heartbeat:exportfs): Stopped Failed actions: havg_start_0 on virt-135 'not configured' (6): call=38, status=complete, last-rc-change='Wed Dec 4 17:17:18 2013', queued=189ms, exec=0ms virt-134$ pcs resource show havg Resource: havg (class=ocf provider=heartbeat type=LVM) Attributes: volgrpname=shared exclusive=true Operations: monitor interval=60s (havg-monitor-interval-60s) virt-134$ pcs resource debug-start havg Operation start for havg (ocf:heartbeat:LVM) returned 6 > stderr: /usr/lib/ocf/resource.d/heartbeat/LVM: line 597: ocf_log_err: command not found
Okay, just to be clear. This bug does not affect valid use-cases right? We can still start the volume group if everything is set up correctly?
That is correct. The reported bug is about the problem when running 'pcs debug-start <resource>' which does return command not found.
*** This bug has been marked as a duplicate of bug 1022277 ***