RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 2041855 - virsh command timeouts cause sos report to take over 25 minutes
Summary: virsh command timeouts cause sos report to take over 25 minutes
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: sos
Version: 9.0
Hardware: All
OS: Linux
high
high
Target Milestone: rc
: ---
Assignee: Pavel Moravec
QA Contact: Miroslav Hradílek
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-01-18 11:51 UTC by Pavel Moravec
Modified: 2022-05-17 16:16 UTC (History)
6 users (show)

Fixed In Version: sos-4.2-13.el9
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-05-17 15:51:46 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github sosreport sos pull 2825 0 None Merged [virsh] Call virsh commands in the foreground / with a TTY 2022-01-18 11:52:51 UTC
Red Hat Issue Tracker RHELPLAN-108445 0 None None None 2022-01-18 11:55:00 UTC
Red Hat Product Errata RHBA-2022:3932 0 None None None 2022-05-17 15:51:56 UTC

Description Pavel Moravec 2022-01-18 11:51:15 UTC
This bug was initially created as a copy of Bug #2041488

I am copying this bug because: 

we need to have sos in 8.6 in par with 9.0


Description of problem:

When running the sosreport test from the redhat-certification suite, it was observed that the test is taking over 25 minutes to run on RHEL 8.6 systems.  This is not the case with RHEL 8.5 or RHEL 9.0 systems

I have reproduced the issue outside of redhat-certification with the sos report command.  The virsh commands are timing out after 300s each

[plugin:virsh] command 'virsh -r net-list' timed out after 300s
[plugin:virsh] command 'virsh -r nwfilter-list' timed out after 300s
[plugin:virsh] command 'virsh -r pool-list' timed out after 300s
[plugin:wireless] skipped command 'iw list': required kmods missing: cfg80211. 
[plugin:wireless] skipped command 'iw dev': required kmods missing: cfg80211. 
[plugin:wireless] skipped command 'iwconfig': required kmods missing: cfg80211. 
[plugin:wireless] skipped command 'iwlist scanning': required kmods missing: cfg80211. 
 Running plugins. Please wait ...

  Finishing plugins              [Running: virsh]                                         ager]
 Plugin virsh timed out

[plugin:virsh] command 'virsh -r list --all' timed out after 300s


Version-Release number of selected component (if applicable):
RHEL 8.6
sos 4.2-9.el8

How reproducible:
100%

Steps to Reproduce:
1.run sos report on RHEL 8.6 system
2.
3.

Actual results:
virsh commands timeout

Expected results:
virsh commands should complete quickly and sosreport should take under 5 minutes

Additional info:
Pavel Moravec has identified the issue and has a fix

emulate TTY / run timeout with --foreground option

Comment 4 errata-xmlrpc 2022-05-17 15:51:46 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 (new packages: sos), 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-2022:3932


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