Bug 2174894 - Drop yum plugin data collection from ovirt-log-collector
Summary: Drop yum plugin data collection from ovirt-log-collector
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-log-collector
Version: 4.5.3
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ovirt-4.5.3-1
: 4.5.3
Assignee: Sandro Bonazzola
QA Contact: Barbora Dolezalova
URL:
Whiteboard:
Depends On:
Blocks: 2166656 2175583
TreeView+ depends on / blocked
 
Reported: 2023-03-02 14:53 UTC by Sandro Bonazzola
Modified: 2023-03-20 01:03 UTC (History)
2 users (show)

Fixed In Version: ovirt-log-collector-4.5.0-1.el8ev
Doc Type: Rebase: Bug Fixes Only
Doc Text:
Previously, the sos rebase on upstream oVirt 4.5.0 dropped the yum plugin used by the ovirt-log-collector. As a result, ovirt-log-collector failed upon sos execution. With this release, the ovirt-log-collector works with sos 4.5.0.
Clone Of:
: 2175583 (view as bug list)
Environment:
Last Closed: 2023-03-20 01:03:35 UTC
oVirt Team: Integration
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github oVirt ovirt-log-collector pull 28 0 None open sos: drop yum plugin 2023-03-02 16:40:20 UTC
Red Hat Product Errata RHBA-2023:1320 0 None None None 2023-03-20 01:03:38 UTC

Internal Links: 2175583

Description Sandro Bonazzola 2023-03-02 14:53:11 UTC
Description of problem:
sos-4.5.0 dropped yum plugin and this causes a crash in ovirt-log-collector.
Removing the requirement on the plugin

Version-Release number of selected component (if applicable):
# rpm -qv sos ovirt-log-collector
sos-4.5.0-1.el8.noarch
ovirt-log-collector-4.4.7-2.el8ev.noarch

Steps to Reproduce:
1. ovirt-log-collector --verbose collect

Actual results:
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

Expected results:
no crash running ovirt-log-collector when using sos 4.5.0

Comment 2 Casper (RHV QE bot) 2023-03-02 17:00:41 UTC
This bug has low overall severity and is not going to be further verified by QE.

Comment 5 Casper (RHV QE bot) 2023-03-06 10:00:36 UTC
This bug has low overall severity and passed an automated regression suite, and is not going to be further verified by QE.

Comment 7 Barbora Dolezalova 2023-03-06 11:05:40 UTC
ovirt-log-collector runs without crashing when using sos 4.5.0

Verified in sos-4.5.0-1.el8.noarch and ovirt-log-collector-4.5.0-1.el8ev.noarch

Comment 9 errata-xmlrpc 2023-03-20 01:03:35 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 (ovirt-log-collector bug fix 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:1320


Note You need to log in before you can comment on or make changes to this bug.