Bug 1705017

Summary: Document --installed as default behaviour for the list option of subscription-manager command
Product: Red Hat Enterprise Linux 7 Reporter: Rolf Rueck <rrueck>
Component: subscription-managerAssignee: William Poteat <wpoteat>
Status: CLOSED ERRATA QA Contact: Red Hat subscription-manager QE Team <rhsm-qe>
Severity: low Docs Contact:
Priority: medium    
Version: 7.7CC: csnyder, prchavan, redakkan, wpoteat
Target Milestone: rcKeywords: EasyFix, Triaged
Target Release: ---   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: subscription-manager-1.24.14-1.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-03-31 19:40:52 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: 1715517    

Description Rolf Rueck 2019-05-01 06:33:41 UTC
Description of problem:
The man page and probably product documentation of the subscription-manager does not specify which is the default behaviour of the list option.

As the output of the --installed parameter is identical to using the list option without additional parameter, documenting this in the mentioned places would help unfamiliar users of the tool to get a better understanding of the output.


Version-Release number of selected component (if applicable):

1.21.10-3.el7_6


How reproducible:

Always

Steps to Reproduce:
1. subscription-manager list > output1
2. subscription-manager list --installed > output2
3. diff output1 ouput2

Actual results:

man page (and documentation) does not specify the default behaviour of running the subscription-manager command with the list option 

Expected results:

man page (and documentation) shows under the explanation for the --installed parameter of the list option, that this is the default behaviour


Additional info:

Finding and request by customer

Comment 3 Chris Snyder 2019-05-08 14:42:07 UTC
Bumping this to RHEL 7.8 due to RHEL 7.7 capacity.

Comment 7 Rehana 2019-08-20 09:59:10 UTC
old man page content for list --installed in man page 
subscription management server: 2.7.5-1
subscription management rules: 5.37
subscription-manager: 1.24.13-1.el7

 --installed
      Lists  products  which  are currently installed on the system which may (or may not) have subscriptions associated with them, as well as products with attached subscriptions which may (or may not) be installed.


Verifying on :
=============
subscription management server: 2.7.5-1
subscription management rules: 5.37
subscription-manager: 1.24.15-1.el7

# rpm -q subscription-manager --changelog | grep 1705017
- 1705017: Show in man page that --installed is the default for the list

--installed
         Lists  products  which  are currently installed on the system which may (or may not) have subscriptions associated with them, as well as products with attached subscriptions which may (or may not) be installed. (default)

Based on the above observations moving the bug to verified.

Comment 8 Prathamesh Chavan 2019-09-30 02:08:05 UTC
Hello team,

Can we get a status update about this request?

Thanks!

Comment 9 Rehana 2019-09-30 03:36:41 UTC
(In reply to Prathamesh Chavan from comment #8)
> Hello team,
> 
> Can we get a status update about this request?
> 
> Thanks!

This bug has been fixed and Verified on RHEL 7.8 compose

Comment 11 errata-xmlrpc 2020-03-31 19:40:52 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-2020:1028