Bug 1038264 - ocf:heartbeat:LVM pcs resource debug-start reports 'command not found'
Summary: ocf:heartbeat:LVM pcs resource debug-start reports 'command not found'
Keywords:
Status: CLOSED DUPLICATE of bug 1022277
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: resource-agents
Version: 6.5
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: David Vossel
QA Contact: Cluster QE
URL:
Whiteboard:
Depends On: 1022277
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-04 18:41 UTC by michal novacek
Modified: 2014-04-02 20:14 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-04-02 20:14:43 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description michal novacek 2013-12-04 18:41:25 UTC
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

Comment 1 David Vossel 2013-12-04 19:44:40 UTC
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?

Comment 2 michal novacek 2013-12-16 12:28:49 UTC
That is correct. 

The reported bug is about the problem when running 'pcs debug-start <resource>' which does return command not found.

Comment 4 David Vossel 2014-04-02 20:14:43 UTC

*** This bug has been marked as a duplicate of bug 1022277 ***


Note You need to log in before you can comment on or make changes to this bug.