Bug 886153

Summary: crm_report uses unavailable crm_* commands
Product: Red Hat Enterprise Linux 6 Reporter: Jaroslav Kortus <jkortus>
Component: pacemakerAssignee: Andrew Beekhof <abeekhof>
Status: CLOSED NOTABUG QA Contact: Cluster QE <mspqa-list>
Severity: low Docs Contact:
Priority: high    
Version: 6.4CC: cluster-maint
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-12-13 22:48:30 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jaroslav Kortus 2012-12-11 16:09:59 UTC
Description of problem:
crm_report creates it's reports using no-longer-shipped crm_* tools:
cib.txt:/root/pcmk-Tue-11-Dec-2012/collector: line 999: crm: command not found
hb_uuid.txt:/root/pcmk-Tue-11-Dec-2012/collector: line 979: crm_uuid: command not found


Version-Release number of selected component (if applicable):
pacemaker-cli-1.1.8-4.el6.x86_64

How reproducible:
always

Steps to Reproduce:
1. crm_report -f "2012-12-11 09:50:00"
2. search the output for 'not found'
3. crm* commands found missing
  
Actual results:
* missing crm* commands being used
* probably incomplete report

Expected results:
* up2date commands used
* complete report

Additional info:

Comment 2 Andrew Beekhof 2012-12-12 03:16:30 UTC
The tool doesn't know what kind of installation it is talking to and just attempts to grab anything it can.

In the case of cib.txt, it is a more human readable version of cib.xml
hb_uuid.txt is specific to heartbeat based installations.

In both cases there is no harm done, but I can make a RHEL-specific patch that removes them if necessary.

Comment 3 Jaroslav Kortus 2012-12-12 16:18:15 UTC
Thanks for reply Andrew.

If you are happy with the output it produces (it still contains all the info you need for debugging), then it's OK and we don't need any RHEL specific patch.

Comment 4 Andrew Beekhof 2012-12-13 22:48:30 UTC
Ok, closing.
Thanks for noticing though :)