Bug 2166656

Summary: [rebase] rebase sos to 4.5.0 [rhel-8.6.0.z]
Product: Red Hat Enterprise Linux 8 Reporter: RHEL Program Management Team <pgm-rhel-tools>
Component: sosAssignee: Jan Jansky <jjansky>
Status: CLOSED ERRATA QA Contact: Miroslav HradĂ­lek <mhradile>
Severity: high Docs Contact:
Priority: high    
Version: 8.8CC: agk, bmr, emarcus, jcastillo, jhunsaker, jjansky, kemyers, mhradile, michal.skrivanek, pelauter, plambri, pmoravec, sbradley, theute
Target Milestone: rcKeywords: Triaged, ZStream
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: sos-4.5.0-1.el8 Doc Type: Bug Fix
Doc Text:
The sos tool is upgraded to latest 4.5.0 upstream release, which includes a number of underlying improvements and fixes.
Story Points: ---
Clone Of: 2082614 Environment:
Last Closed: 2023-03-20 09:35:04 UTC Type: ---
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: 2082614, 2174894, 2175583    
Bug Blocks:    

Comment 5 Sandro Bonazzola 2023-03-01 15:21:23 UTC
sos 4.5.0 drops yum plugin causing ovirt-log-collector to fail.
This is breaking command line and shouldn't happen in EUS.
Moving back to NEW.

# rpm -qv sos ovirt-log-collector
sos-4.5.0-1.el8.noarch
ovirt-log-collector-4.4.7-2.el8ev.noarch

Comment 6 Sandro Bonazzola 2023-03-01 15:22:09 UTC
Details on ovirt-log-collector side:

DEBUG: STDOUT(b'\nsosreport (version 4.5.0)\n\nWARNING: unable to set option for disabled or non-existing plugin (dnf).\n\na non-existing plugin (yum) was specified in the command line.\n')
DEBUG: STDERR(b'')
Use the -h option to see usage.
DEBUG: Configuration:
DEBUG: command: collect
DEBUG: Traceback (most recent call last):
DEBUG:   File "/usr/lib/python3.6/site-packages/ovirt_log_collector/__main__.py", line 2163, in <module>
DEBUG:     collector.get_engine_data()
DEBUG:   File "/usr/lib/python3.6/site-packages/ovirt_log_collector/__main__.py", line 1709, in get_engine_data
DEBUG:     collector.sosreport()
DEBUG:   File "/usr/lib/python3.6/site-packages/ovirt_log_collector/__main__.py", line 1127, in sosreport
DEBUG:     %(sos_options)s"
DEBUG:   File "/usr/lib/python3.6/site-packages/ovirt_log_collector/__main__.py", line 276, in call
DEBUG:     raise Exception(stderr.decode("utf-8"))
DEBUG: Exception

Comment 8 Michal Skrivanek 2023-03-08 07:09:19 UTC
ovirt-log-collector 4.5.0 drops the yum plugin. That should resolve the RHV issue. Moving back to ON_QA

Comment 16 errata-xmlrpc 2023-03-20 09:35:04 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/RHBA-2023:1338