Bug 1373935

Summary: Missing cluster plugin in usage examples
Product: Red Hat Enterprise Linux 7 Reporter: Miroslav Hradílek <mhradile>
Component: sosAssignee: Pavel Moravec <pmoravec>
Status: CLOSED ERRATA QA Contact: Miroslav Hradílek <mhradile>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.3CC: agk, bmr, gavin, plambri, sbradley
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: https://github.com/sosreport/sos/pull/874
Whiteboard:
Fixed In Version: sos-3.4-1.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1374021 (view as bug list) Environment:
Last Closed: 2017-08-01 23:08:12 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: 1374021    

Description Miroslav Hradílek 2016-09-07 13:06:19 UTC
Description of problem:
Cluster plugin was split into multiple plugins in currently unreleased sos-3.3. The examples section in usage message still references cluster plugin. Running the example results in error message.

Version-Release number of selected component (if applicable):
sos-3.3-3.el7.noarch (unreleased)

How reproducible:
100%

Actual results:
# sosreport -h
Usage: sosreport [options]
. . .
Some examples:

 enable cluster plugin only and collect dlm lockdumps:
   # sosreport -o cluster -k cluster.lockdump
. . .

# sosreport -o cluster -k cluster.lockdump

sosreport (version 3.3)

unable to set option for disabled or non-existing plugin (cluster)
a non-existing plugin (cluster) was specified in the command line


Expected results:
Usage should contain the example applicable to the current state of the plugins.

Comment 2 Pavel Moravec 2016-09-07 20:07:22 UTC
We agreed it is rather doc bug we dont need to fix in 7.3 due to late stage of 7.3 release cycle.

Upstream PR filed: https://github.com/sosreport/sos/pull/874

Comment 3 Pavel Moravec 2016-11-08 20:38:57 UTC
posted to upstream as:

https://github.com/sosreport/sos/commit/91f5dd297dc20f5a82bbb56e0e9d136070fa32e4

Comment 6 errata-xmlrpc 2017-08-01 23:08:12 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.

https://access.redhat.com/errata/RHBA-2017:2203