Bug 1482278
| Summary: | crm_report no longer collects anything for sosreport | |||
|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Ken Gaillot <kgaillot> | |
| Component: | pacemaker | Assignee: | Ken Gaillot <kgaillot> | |
| Status: | CLOSED ERRATA | QA Contact: | cluster-qe <cluster-qe> | |
| Severity: | urgent | Docs Contact: | ||
| Priority: | urgent | |||
| Version: | 7.4 | CC: | abeekhof, aherr, cfeist, cluster-maint, djansa, jruemker, michele, mnovacek, rscarazz, sbradley, tbarron | |
| Target Milestone: | rc | Keywords: | ZStream | |
| Target Release: | 7.5 | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | pacemaker-1.1.18-1.el7 | Doc Type: | No Doc Update | |
| Doc Text: |
Prior to this update, the crm_report utility terminated with a fatal error if the user disabled searching for logs using the --sos-mode option without specifying any log files. Consequently, the sosreport tool was unable to collect any cluster log file. With this update, crm_report now correctly collects non-log information if no logs are found or specified, and the described problem no longer occurs.
|
Story Points: | --- | |
| Clone Of: | ||||
| : | 1482852 (view as bug list) | Environment: | ||
| Last Closed: | 2018-04-10 15:30:29 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: | ||||
| Bug Depends On: | ||||
| Bug Blocks: | 1482852 | |||
|
Description
Ken Gaillot
2017-08-17 00:11:56 UTC
Fixed upstream as of commit 6a387a3 I have verified that crm_report creates correct sos-mode reports with pacemaker-1.1.18-6.el7 --- > crm_mon --version Pacemaker 1.1.18-6.el7 Written by Andrew Beekhof > crm_report --sos-mode --from 14:00:00 --to 14:30:00 virt-265: Collecting data from virt-265.cluster-qe.lab.eng.brq.redhat.com (12/04/2017 02:00:00 PM to 12/04/2017 02:30:00 PM) virt-265: Searching for where Pacemaker daemons live... this may take a while virt-265: Pacemaker daemons found in: /usr/libexec/pacemaker virt-265: Pacemaker config files found in: /var/lib/pacemaker/cib virt-265: Pacemaker policy engine inputs found in: /var/lib/pacemaker/pengine virt-265: Systemd journal will be only log collected virt-265: No log files found or specified with --logfile /some/path virt-265: virt-265: Collected results are available in /root/pcmk-Mon-04-Dec-2017.tar.bz2 virt-265: virt-265: Please create a bug entry at virt-265: https://bugzilla.redhat.com/ virt-265: Include a description of your problem and attach this tarball virt-265: virt-265: Thank you for taking time to create this report. virt-265: > tar -C /tmp -xjvf /root/pcmk-Mon-04-Dec-2017.tar.bz2 pcmk-Mon-04-Dec-2017/ pcmk-Mon-04-Dec-2017/.env pcmk-Mon-04-Dec-2017/collector pcmk-Mon-04-Dec-2017/virt-265.cluster-qe.lab.eng.brq.redhat.com/ pcmk-Mon-04-Dec-2017/virt-265.cluster-qe.lab.eng.brq.redhat.com/sysinfo.txt ... pcmk-Mon-04-Dec-2017/analysis.txt pcmk-Mon-04-Dec-2017/report.summary > ls -ltR /tmp/pcmk-Mon-04-Dec-2017/ /tmp/pcmk-Mon-04-Dec-2017/: total 60 -rw-r--r--. 1 root root 279 Dec 4 14:50 analysis.txt -rw-r--r--. 1 root root 14 Dec 4 14:50 report.summary drwxr-xr-x. 3 root root 4096 Dec 4 14:50 virt-265.cluster-qe.lab.eng.brq.redhat.com -rw-r--r--. 1 root root 45500 Dec 4 14:49 collector /tmp/pcmk-Mon-04-Dec-2017/virt-265.cluster-qe.lab.eng.brq.redhat.com: total 2332 -rw-r--r--. 1 root root 69 Dec 4 14:50 analysis.txt -rw-r--r--. 1 root root 8763 Dec 4 14:50 journal.log -rw-r--r--. 1 root root 2637 Dec 4 14:49 cib.txt -rw-r--r--. 1 root root 2203402 Dec 4 14:49 corosync-blackbox-live.txt ... 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. https://access.redhat.com/errata/RHEA-2018:0860 |