Bug 1209519
| Summary: | Remove ", requires --auto" from the subscribe help text for --servicelevel option | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | John Sefler <jsefler> |
| Component: | subscription-manager | Assignee: | Chris "Ceiu" Rog <crog> |
| Status: | CLOSED ERRATA | QA Contact: | John Sefler <jsefler> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | high | ||
| Version: | 6.7 | CC: | crog, dgoodwin, redakkan, skallesh, wpoteat |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-07-22 06:53:47 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: | 1125249 | ||
commit d41a49d996b6796eafb95d07cc312818a9e0ddf0
Author: Chris Rog <crog>
Date: Tue Apr 7 16:16:28 2015 -0400
1209519: Removed erroneous information in help message for subman
- "subscription-manager attach --help" and "subscription-manager subscribe --help"
no longer indicate that --servicelevel requires --auto
Retested on ,
# subscription-manager version
server type: Red Hat Subscription Management
subscription management server: 0.9.48-1
subscription management rules: 5.15
subscription-manager: 1.14.3-1.el6
python-rhsm: 1.14.2-1.el6
# subscription-manager subscribe --help | grep -A1 -- "--servicelevel"
--servicelevel=SERVICE_LEVEL
service level to apply to this system
Observed that "requires --auto" now removed from the "subscribe" help text for --servicelevel option
But, the same is still listed in the subscription-manager man page, under "Attach" options section
ATTACH OPTIONS
The attach command applies a specific subscription to the system.
<snip>
--servicelevel=LEVEL
Sets the preferred service level to use with subscriptions attached to the system. Service levels are commonly premium,standard, and none, though other levels may be available depending on the product and the contract. This
^^^^^
preference can only be used in conjunction with the --auto option, and then it
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
is used as one of the factors for matching subscriptions.
Moving back to "New" , to fix the same in Man page
Ahh, missed the man page. Commit details should be inbound shortly. commit 8fece9e3745d80876740d865e004a5d93a4bb594
Author: Chris Rog <crog>
Date: Mon Apr 13 08:35:38 2015 -0400
1209519: Removed excerpt from man page listing --auto as a requirement
Text has been removed from help as well as man page,so marking verified!!
[root@dhcp35-236 ~]# subscription-manager version
server type: Red Hat Subscription Management
subscription management server: 0.9.26.8-1
subscription management rules: 5.12
subscription-manager: 1.14.6-1.el6
python-rhsm: 1.14.2-1.el6
[root@dhcp35-236 ~]# subscription-manager subscribe --help | grep -A1 -- "--servicelevel"
--servicelevel=SERVICE_LEVEL
service level to apply to this system
<snip>
--servicelevel=LEVEL
Sets the preferred service level to use with subscriptions added to the system. Service levels are commonly premium, standard, and none,
though other levels may be available depending on the product and the contract.
My bad, --auto option is removed from register command --service-level option but it still exists in --service-level option of attach command,so moving back to new ,failedQa
--servicelevel=LEVEL
Sets the preferred service level to use with subscriptions attached to the system. Service levels are commonly premium, standard, and
none, though other levels may be available depending on the product and the contract. This preference can only be used in conjunction
with the --auto option, and then it is used as one of the factors for matching subscriptions.
Third time's the charm, eh?
commit daf0d8f9f45d912d11ab73fe9b800c4dda8072c3
Author: Chris Rog <crog>
Date: Mon May 4 09:43:25 2015 -0400
Updated the manual pages for the attach command
- The --servicelevel option in the man page for "attach" no longer
implies that --auto must be specified to use it.
service-level option of the attach command in the man page has been updated
[root@cisco-c210-01 ~]# subscription-manager version
server type: Red Hat Subscription Management
subscription management server: 0.9.26.8-1
subscription management rules: 5.12
subscription-manager: 1.14.7-1.el6
python-rhsm: 1.14.2-1.el6
[root@cisco-c210-01 ~]# subscription-manager subscribe --help | grep -A1 -- "--servicelevel"
--servicelevel=SERVICE_LEVEL
service level to apply to this system
<snip>
--servicelevel=LEVEL
Sets the preferred service level to use with subscriptions automatically attached to the system. Service levels are commonly premium,
standard, and none, though other levels may be available depending on the product and the contract. This option cannot be used when
attaching specific pools via --pool or --file.
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://rhn.redhat.com/errata/RHBA-2015-1345.html |
Description of problem: After the change from commit cb590a75f3a2de921961808d00ab251180c51691 Make 'attach' auto unless otherwise specified The following help message is no longer true... [root@jsefler-os6 ~]# subscription-manager subscribe --help | grep -A1 -- "--servicelevel" --servicelevel=SERVICE_LEVEL service level to apply to this system, requires --auto The ", requires --auto" is no longer true since auto-attach is now assumed. Notice that the following subscribes work as expected when servicelevel is specified without --auto... [root@jsefler-os6 ~]# subscription-manager subscribe --servicelevel=None Service level 'None' is not available to units of organization 7299203. [root@jsefler-os6 ~]# [root@jsefler-os6 ~]# subscription-manager subscribe --servicelevel=Premium Service level set to: Premium Installed Product Current Status: Product Name: Red Hat Enterprise Linux Server Status: Subscribed Version-Release number of selected component (if applicable): [root@jsefler-os6 ~]# rpm -q subscription-manager subscription-manager-1.14.1-1.el6.x86_64 How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Remove ", requires --auto" from the subscribe help text for --servicelevel option Additional info: