Bug 1719884
Summary: | pcp plugin for sosreport treats pmlogger binaries over 100MB as a file with string and corrupts it (be default) | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 8 | Reporter: | Pavel Moravec <pmoravec> |
Component: | sos | Assignee: | Pavel Moravec <pmoravec> |
Status: | CLOSED ERRATA | QA Contact: | Miroslav HradĂlek <mhradile> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 8.1 | CC: | agk, bmr, chorn, fche, gavin, jrfuller, mhradile, plambri, pmoravec, sbradley, yuokada |
Target Milestone: | rc | Keywords: | OtherQA |
Target Release: | 8.1 | Flags: | pm-rhel:
mirror+
|
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | sos-3.7-1.el8 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | 1639166 | Environment: | |
Last Closed: | 2019-11-05 22:32:24 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: | 1639166 | ||
Bug Blocks: |
Comment 2
Pavel Moravec
2019-06-13 10:20:19 UTC
I had yesterday setup to install 8.1 nightly composes into KVM guests, that directly gave me that sos version. [root@rhel8u1a rhel8u1a]# rpm -q sos sos-3.7-1.el8.noarch [root@rhel8u1a rhel8u1a]# Original host directory: [root@rhel8u1a rhel8u1a]# ls -al /var/log/pcp/pmlogger/rhel8u1a/|tail -15 -rw-r--r--. 1 pcp pcp 39290856 Jun 14 07:12 20190614.05.31.0 -rw-r--r--. 1 pcp pcp 6932 Jun 14 07:12 20190614.05.31.index -rw-r--r--. 1 pcp pcp 522717 Jun 14 07:12 20190614.05.31.meta -rw-r--r--. 1 root root 1123620 Jun 14 07:00 20190614.08.31.0.xz -rw-r--r--. 1 root root 7532 Jun 14 07:00 20190614.08.31.index -rw-r--r--. 1 root root 60260 Jun 14 07:00 20190614.08.31.meta.xz -rw-r--r--. 1 root root 37060 Jun 14 07:00 20190614.09.30.0.xz -rw-r--r--. 1 root root 312 Jun 14 07:00 20190614.09.30.index -rw-r--r--. 1 root root 51936 Jun 14 07:00 20190614.09.30.meta.xz -rw-r--r--. 1 root root 329814648 Jun 14 07:00 20190614.09.31.0 -rw-r--r--. 1 root root 33692 Jun 14 07:00 20190614.09.31.index -rw-r--r--. 1 root root 3811015 Jun 14 07:00 20190614.09.31.meta -rw-r--r--. 1 pcp pcp 219 Jun 14 05:31 Latest -rw-r--r--. 1 pcp pcp 32222 Jun 14 05:31 pmlogger.log -rw-r--r--. 1 pcp pcp 32297 Jun 14 05:31 pmlogger.log.prior [root@rhel8u1a rhel8u1a]# sosreport captured directory: [root@rhel8u1a rhel8u1a]# ls -al /root/tmp/sosreport-rhel8u1a-2019-06-14-xoefkfn/var/log/pcp/pmlogger/rhel8u1a total 363068 drwxr-xr-x. 2 root root 4096 Jun 14 07:00 . drwxrwxr-x. 3 root root 124 Jun 14 06:55 .. -rw-r--r--. 1 pcp pcp 36256420 Jun 14 07:04 20190614.05.31.0 -rw-r--r--. 1 pcp pcp 6372 Jun 14 07:04 20190614.05.31.index -rw-r--r--. 1 pcp pcp 481964 Jun 14 07:04 20190614.05.31.meta -rw-r--r--. 1 root root 1123620 Jun 14 07:00 20190614.08.31.0.xz -rw-r--r--. 1 root root 7532 Jun 14 07:00 20190614.08.31.index -rw-r--r--. 1 root root 60260 Jun 14 07:00 20190614.08.31.meta.xz -rw-r--r--. 1 root root 37060 Jun 14 07:00 20190614.09.30.0.xz -rw-r--r--. 1 root root 312 Jun 14 07:00 20190614.09.30.index -rw-r--r--. 1 root root 51936 Jun 14 07:00 20190614.09.30.meta.xz -rw-r--r--. 1 root root 329814648 Jun 14 07:00 20190614.09.31.0 -rw-r--r--. 1 root root 33692 Jun 14 07:00 20190614.09.31.index -rw-r--r--. 1 root root 3811015 Jun 14 07:00 20190614.09.31.meta -rw-r--r--. 1 pcp pcp 32222 Jun 14 05:31 pmlogger.log -rw-r--r--. 1 pcp pcp 32297 Jun 14 05:31 pmlogger.log.prior [root@rhel8u1a rhel8u1a]# => We captured the most recent files. pmrep and pminfo tools can also access the archived files, the issue seems fixed to me. (Just for my reference, I opened bz1720440 , have hit that on the compose from last night.) 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-2019:3640 |