Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 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: ---Flags: pm-rhel: mirror+
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