Bug 463257

Summary: Need unattended way to run sosreport
Product: Red Hat Enterprise Linux 4 Reporter: Richard Ryder <rryder>
Component: sosAssignee: Adam Stokes <astokes>
Status: CLOSED ERRATA QA Contact: BaseOS QE <qe-baseos-auto>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.7CC: agk, azelinka, bmr, duck, herrold, jim, linux-sid, tao
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
* when run, sosreport asks the user for a name and a ticket number. Previously, this meant that the tool could not be run without user input. Sosreport now includes options to supply a name and ticket number at the command line (with --name and --ticket), so that sosreport can be called automatically by an application. This enables applications to collect data automatically at the time that a problem occurs.
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-05-18 20:24:24 UTC Type: ---
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: 386691    
Bug Blocks: 467444    

Comment 1 RHEL Program Management 2008-09-22 18:54:10 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release.  Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products.  This request is not yet committed for inclusion in an Update
release.

Comment 3 Jim Wildman 2008-10-28 14:57:32 UTC
I would find this feature very useful as well.  We are currently using a bash script with HERE document to run sosreport.  would be much better to either have a full auto mode (it picks the values) or some command line options to specify the name, etc.  An option to automatically mail the report somewhere would be useful as well.

Comment 4 Adam Stokes 2008-10-28 15:17:15 UTC
Hi Jim,

If you would please create a BZ for the email feature under RHEL5 and RHEL4 so that it can be considered in a later release.

Thank you
Adam

Comment 7 Ruediger Landmann 2009-01-29 06:22:32 UTC
Release note added. If any revisions are required, please set the 
"requires_release_notes" flag to "?" and edit the "Release Notes" field accordingly.
All revisions will be proofread by the Engineering Content Services team.

New Contents:
* when run, sosreport asks the user for a name and a ticket number. Previously, this meant that the tool could not be run without user input. Sosreport now includes options to supply a name and ticket number at the command line (with --name and --ticket), so that sosreport can be called automatically by an application. This enables applications to collect data automatically at the time that a problem occurs.

Comment 10 errata-xmlrpc 2009-05-18 20:24:24 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2009-0994.html