Bug 1275199

Summary: modify the help message of subscription-manager attach --quantity
Product: Red Hat Enterprise Linux 6 Reporter: Shwetha Kallesh <skallesh>
Component: subscription-managerAssignee: William Poteat <wpoteat>
Status: MODIFIED --- QA Contact: John Sefler <jsefler>
Severity: low Docs Contact:
Priority: medium    
Version: 6.8CC: awood, bcourt, skallesh, wpoteat
Target Milestone: pre-dev-freezeKeywords: Reopened, Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-12-06 07:34:39 EST Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description Shwetha Kallesh 2015-10-26 04:54:28 EDT
Description of problem:
modify the help message of subscription-manager attach --quantity

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

[root@dhcp35-236 ~]# subscription-manager version
server type: Red Hat Subscription Management
subscription management server: 0.9.51.5-1
subscription management rules: 5.15
subscription-manager: 1.15.9-15.el7
python-rhsm: 1.15.4-5.el7

How reproducible:


Steps to Reproduce:
[root@dhcp35-236 ~]# subscription-manager attach --help | grep quantity
  --quantity=QUANTITY   number of subscriptions to attach


Actual results:


Expected results:
[root@dhcp35-236 ~]# subscription-manager attach --help | grep quantity
  --quantity=QUANTITY   number of subscriptions to attach; only used with --pool


Additional info:
Comment 2 Alex Wood 2015-11-16 15:21:09 EST
We should ensure that the --quantity option is mutually exclusive with the --auto option.
Comment 5 William Poteat 2015-12-16 13:36:02 EST
This handling was changed in commmit 281c1e5818eefa89bc73ba438c75494e16afc698 in repsonse to https://bugzilla.redhat.com/show_bug.cgi?id=1275179

Plese re-evaluate.
Comment 6 Shwetha Kallesh 2015-12-17 07:27:52 EST
Now help message is modified but would have been nice if the message would have been "  --quantity=QUANTITY   number of subscriptions to attach; only used with --pool" in sync with other modules


[root@dell-pe1850-04 ~]# subscription-manager attach --help | grep quantity -A1
  --quantity=QUANTITY   Number of subscriptions to attach. May not be used
                        with an auto-attach.
Comment 7 John Sefler 2015-12-17 08:32:44 EST
Here are some suggestions for the help message...

[1]  "Number of subscriptions to attach; only used with --pool"
[2]  "Number of subscriptions to attach. May not be used with an auto-attach."
[3]  "Number of subscriptions to attach; cannot be used with --auto"
[4]  "Number of subscriptions to attach when specifying a --pool that is multi-entitleable"


My vote is to stick with the the currently implemented message [2] and move this bug to VERIFIED.
Comment 8 William Poteat 2016-01-04 13:54:53 EST
I concur with jsefler
Comment 9 Mike McCune 2016-03-28 19:46:11 EDT
This bug was accidentally moved from POST to MODIFIED via an error in automation, please see mmccune@redhat.com with any questions
Comment 11 Jan Kurik 2017-12-06 07:34:39 EST
Red Hat Enterprise Linux 6 is in the Production 3 Phase. During the Production 3 Phase, Critical impact Security Advisories (RHSAs) and selected Urgent Priority Bug Fix Advisories (RHBAs) may be released as they become available.

The official life cycle policy can be reviewed here:

http://redhat.com/rhel/lifecycle

This issue does not meet the inclusion criteria for the Production 3 Phase and will be marked as CLOSED/WONTFIX. If this remains a critical requirement, please contact Red Hat Customer Support to request a re-evaluation of the issue, citing a clear business justification. Note that a strong business justification will be required for re-evaluation. Red Hat Customer Support can be contacted via the Red Hat Customer Portal at the following URL:

https://access.redhat.com/
Comment 12 Shwetha Kallesh 2018-03-26 02:32:23 EDT
Preliminary Verification Comment:
Observe that help message is now changed in the following version of RHSM:

[root@localhost ~]# subscription-manager version
server type: This system is currently not registered.
subscription management server: 2.2.2-1
subscription management rules: 5.26
subscription-manager: 1.20.10-3.el6


[root@localhost ~]# subscription-manager attach --help 

--quantity=QUANTITY   Number of subscriptions to attach. May not be used
                        with an auto-attach.