Bug 1005703

Summary: [RFE] backport sos command timeout support from upstream
Product: Red Hat Enterprise Linux 6 Reporter: Martin Pavlik <mpavlik>
Component: sosAssignee: Bryn M. Reeves <bmr>
Status: CLOSED ERRATA QA Contact: David Kutálek <dkutalek>
Severity: high Docs Contact:
Priority: high    
Version: 6.5CC: agk, bmr, bugproxy, dkutalek, gavin, gklein, hannsj_uhl, sos-team
Target Milestone: rcKeywords: FutureFeature
Target Release: 6.6   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: sos-2.2-63.el6 Doc Type: Enhancement
Doc Text:
Feature: The sosreport command now applies a timeout when running all external commands. Reason: Depending on system configuration and fault state some commands may block indefinitely causing sos to appear to 'hang'. Result: Commands that block for an excessive period will now terminate with a timeout and do not cause the main sos process to hang.
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-10-14 07:24:57 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:
Bug Depends On:    
Bug Blocks: 861266, 1004793    

Description Martin Pavlik 2013-09-09 08:49:24 UTC
Description of problem:
Please backport sos command timeout support from upstream

this request is based on
based on https://bugzilla.redhat.com/show_bug.cgi?id=1005066#c5

in this particular case timeout option would not solve the root cause of the issue, but it would prevent this whole class of problems by abandoning processes that go out-to-lunch on us

Comment 1 RHEL Program Management 2013-10-14 02:19:53 UTC
This request was not resolved in time for the current release.
Red Hat invites you to ask your support representative to
propose this request, if still desired, for consideration in
the next release of Red Hat Enterprise Linux.

Comment 2 Bryn M. Reeves 2013-11-26 18:37:27 UTC
This should also include the timeout logging change that's now upstream:

commit 7649b791ee3372a660daad6e29666c2e1220486d
Author: Bryn M. Reeves <bmr>
Date:   Tue Nov 26 18:35:37 2013 +0000

    Log a warning when external commands time out
    
    Signed-off-by: Bryn M. Reeves <bmr>

Comment 5 Bryn M. Reeves 2014-09-29 15:19:06 UTC
*** Bug 1147615 has been marked as a duplicate of this bug. ***

Comment 6 errata-xmlrpc 2014-10-14 07:24:57 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, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2014-1528.html