Bug 2174894
| Summary: | Drop yum plugin data collection from ovirt-log-collector | |||
|---|---|---|---|---|
| Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Sandro Bonazzola <sbonazzo> | |
| Component: | ovirt-log-collector | Assignee: | Sandro Bonazzola <sbonazzo> | |
| Status: | CLOSED ERRATA | QA Contact: | Barbora Dolezalova <bdolezal> | |
| Severity: | high | Docs Contact: | ||
| Priority: | high | |||
| Version: | 4.5.3 | CC: | emarcus, lleistne | |
| Target Milestone: | ovirt-4.5.3-1 | Keywords: | AutomationBlocker, Rebase, Regression, Reopened, ZStream | |
| Target Release: | 4.5.3 | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| 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.
|
Story Points: | --- | |
| Clone Of: | ||||
| : | 2175583 (view as bug list) | Environment: | ||
| Last Closed: | 2023-03-20 01:03:35 UTC | Type: | Bug | |
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | --- | ||
| oVirt Team: | Integration | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | --- | Target Upstream Version: | ||
| Embargoed: | ||||
| Bug Depends On: | ||||
| Bug Blocks: | 2166656, 2175583 | |||
This bug has low overall severity and is not going to be further verified by QE. This bug has low overall severity and passed an automated regression suite, and is not going to be further verified by QE. 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 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 |
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