Bug 2041855

Summary: virsh command timeouts cause sos report to take over 25 minutes
Product: Red Hat Enterprise Linux 9 Reporter: Pavel Moravec <pmoravec>
Component: sosAssignee: Pavel Moravec <pmoravec>
Status: CLOSED ERRATA QA Contact: Miroslav HradĂ­lek <mhradile>
Severity: high Docs Contact:
Priority: high    
Version: 9.0CC: agk, bmr, mhradile, plambri, sbradley, theute
Target Milestone: rcKeywords: OtherQA, Triaged
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: sos-4.2-13.el9 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-05-17 15:51:46 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 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