| Summary: | add option to disable tar archive creation to crm_report | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Bryn M. Reeves <bmr> |
| Component: | pacemaker | Assignee: | Andrew Beekhof <abeekhof> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Cluster QE <mspqa-list> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.5 | CC: | cluster-maint, dvossel |
| 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: | 2013-12-01 23:08:32 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: | |
You can achieve this with the existing packages by adding -d to the command line. For some reason it is not in the help text (but it wont be going away because I use it every day :-) Perfect, thanks! |
Description of problem: The man page for crm_report suggests an output directory can be passed with --dest: --dest a custom destination directory/file When crm_report is run from another data collector tool (e.g. sosreport) it's desirable to have the output written into a directory and not packaged into a tar archive. This avoids the need to create a tar archive with crm_report and then unpack it into the other tool's archive directory, or to including one tarball inside another (this is something we try to avoid as it complicates handling of reports by data consumers). Version-Release number of selected component (if applicable): pacemaker-1.1.8-7.el6.x86_64 How reproducible: 100% Steps to Reproduce: 1. crm_report -S --dest=/tmp/foo --from $DATE Actual results: /tmp/foo.tar.bz2 is created Expected results: Option available to set destination to be a directory and to skip tar archive creation. Additional info: