Bug 1937418

Summary: [RFE] sosreport - ability to set command timeout
Product: Red Hat Enterprise Linux 8 Reporter: Marian Jankular <mjankula>
Component: sosAssignee: Pavel Moravec <pmoravec>
Status: CLOSED ERRATA QA Contact: Miroslav HradĂ­lek <mhradile>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 8.4CC: agk, bmr, cww, fkrska, jhunsaker, mhradile, plambri, pmoravec, rduda, sbradley, theute
Target Milestone: rcKeywords: FutureFeature, Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: sos-4.1-2.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-11-09 19:36:07 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 Marian Jankular 2021-03-10 15:55:19 UTC
Description of problem:
Currently, there is the possibility to set "--plugin-timeout".
I am opening this RFE for the possibility to set a globally timeout for commands executed by plugins.


Additional info:

sosreport fails to gather data because command "vdsm-tool dump-volumen-chains <UUID_of_SD>" of vdsm plugin does take longer time for bigger storage domains
after increasing the timeout for the cmd_timeout it finished successfully.

Comment 3 Pavel Moravec 2021-03-11 11:30:30 UTC
Having global (or even plugin-based) option to manually set cmd timeout sounds sane to me.

As RHEL7 does not accept RFEs, I am reassigning it to RHEL8 - if we propose a PR in a reasonable time, we can get it in 8.5/9.0 .

Comment 4 Pavel Moravec 2021-03-29 14:32:28 UTC
Upstream PR https://github.com/sosreport/sos/pull/2466 raised.

Comment 12 errata-xmlrpc 2021-11-09 19:36:07 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/RHEA-2021:4388