Bug 1937418 - [RFE] sosreport - ability to set command timeout
Summary: [RFE] sosreport - ability to set command timeout
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: sos
Version: 8.4
Hardware: Unspecified
OS: Linux
Target Milestone: rc
: ---
Assignee: Pavel Moravec
QA Contact: Miroslav Hradílek
Depends On:
TreeView+ depends on / blocked
Reported: 2021-03-10 15:55 UTC by Marian Jankular
Modified: 2022-05-12 14:23 UTC (History)
11 users (show)

Fixed In Version: sos-4.1-2.el8
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2021-11-09 19:36:07 UTC
Type: Bug
Target Upstream Version:

Attachments (Terms of Use)

System ID Private Priority Status Summary Last Updated
Github sosreport sos pull 2466 0 None open [report] add --cmd-timeout option 2021-03-29 14:32:28 UTC
Red Hat Product Errata RHEA-2021:4388 0 None None None 2021-11-09 19:36:18 UTC

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.


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