Bug 2030741

Summary: Please also collect /var/log/rhui/ in the RHUI plugin
Product: Red Hat Enterprise Linux 8 Reporter: Radek Bíba <rbiba>
Component: sosAssignee: Pavel Moravec <pmoravec>
Status: CLOSED ERRATA QA Contact: Miroslav Hradílek <mhradile>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: ---CC: agk, bmr, mhradile, plambri, sbradley, tasander, theute
Target Milestone: rcKeywords: OtherQA, Triaged
Target Release: ---Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: sos-4.2-8.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-05-10 15:16:36 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:

Description Radek Bíba 2021-12-09 15:49:47 UTC
Description of problem:
In the next minor version of RHUI, we're improving logging and creating new log files from Ansible playbooks in /var/log/rhui. Please make sure this directory is collected.

Version-Release number of selected component (if applicable):
sos-4.1-5.el8.noarch

How reproducible:
Always

Steps to Reproduce:
1. on a RHUI RHUA node, run sos report -o rhui --batch
(or just sos report)

I can help test the change.

Comment 2 Taft Sanders 2021-12-10 14:41:20 UTC
PR: https://github.com/sosreport/sos/pull/2796

Comment 3 Pavel Moravec 2021-12-12 19:15:08 UTC
I might try to get into 8.6 scope - assuming verification can be done by Taft or some (other) RHUI guy.

Please state that availability for testing / grant OtherQE, for that purpose.

Thanks for the PR!

Comment 4 Radek Bíba 2021-12-13 07:53:23 UTC
Thanks. I can definitely test the updated version, or Taft can. In fact, I verified on Friday that the directory was collected:

[root@rhua ~]# tar tvf /var/tmp/sosreport-rhua-2021-12-10-bzcdyab.tar.xz | grep -o '/var/log/rhui/.*'
/var/log/rhui/
/var/log/rhui/rhui-installer/
/var/log/rhui/rhui-installer/install_logger.log.20211209-062311
/var/log/rhui/rhui-installer/install_logger.log.latest -> install_logger.log.20211209-062311
/var/log/rhui/rhui-installer/install_logger.log.20211209-062052
/var/log/rhui/rhua_ansible.log

Comment 12 errata-xmlrpc 2022-05-10 15:16:36 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 (sos bug fix and enhancement update), 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-2022:1998