Hide Forgot
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:
Created attachment 847744 [details] Pass a --from parameter when calling crm_report
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.
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