Bug 1035774 - cluster module needs to pass --from to crm_report
Summary: cluster module needs to pass --from to crm_report
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: sos
Version: 6.5
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: rc
: ---
Assignee: Bryn M. Reeves
QA Contact: David Kutálek
URL:
Whiteboard:
Depends On:
Blocks: 1085731 1085732
TreeView+ depends on / blocked
 
Reported: 2013-11-28 12:58 UTC by Bryn M. Reeves
Modified: 2014-10-14 07:22 UTC (History)
8 users (show)

Fixed In Version: sos-2.2-48.el6
Doc Type: Bug Fix
Doc Text:
No documentation needed.
Clone Of:
Environment:
Last Closed: 2014-10-14 07:22:41 UTC
Target Upstream Version:


Attachments (Terms of Use)
Pass a --from parameter when calling crm_report (2.29 KB, patch)
2014-01-09 17:38 UTC, Bryn M. Reeves
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2014:1528 0 normal SHIPPED_LIVE sos bug fix and enhancement update 2014-10-14 01:22:00 UTC

Description Bryn M. Reeves 2013-11-28 12:58:26 UTC
Description of problem:
sosreport attempts to collect data using the pacemaker crm_report tool however this does not collect any data unless given '--from "YYYY-MM-DD HH:MM:SS" to specify a start time:

# cat rhel6-clu1-pm-2013112812091385640584/sos_commands/cluster/crm_report_-S_--dest_.tmp.rhel6-clu1-pm-2013112812091385640584.s 
rhel6-clu1-pm:  ERROR: Not sure what to do, no tests or time ranges to extract


Version-Release number of selected component (if applicable):
sos-2.2-47.el6

How reproducible:
100%

Steps to Reproduce:
1. run sosreport on a pacemaker cluster
2. inspect sos_commands/cluster/ in the generated tarball


Actual results:
No output tarball/directory

Expected results:
crm_report output present in cluster output directory

Additional info:

Comment 1 Bryn M. Reeves 2014-01-09 17:38:38 UTC
Created attachment 847744 [details]
Pass a --from parameter when calling crm_report

Comment 2 Bryn M. Reeves 2014-01-09 17:39:54 UTC
The patch in comment #1 fixes this by defaulting to NOW-72hrs. A new option, 'crm_from' is also added to allow the user to override this with a valid "YYYY-MM-DD HH:MM:SS" date string if required.

Comment 11 errata-xmlrpc 2014-10-14 07:22:41 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2014-1528.html


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