RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1209519 - Remove ", requires --auto" from the subscribe help text for --servicelevel option
Summary: Remove ", requires --auto" from the subscribe help text for --servicelevel op...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: subscription-manager
Version: 6.7
Hardware: Unspecified
OS: Unspecified
high
unspecified
Target Milestone: rc
: ---
Assignee: Chris "Ceiu" Rog
QA Contact: John Sefler
URL:
Whiteboard:
Depends On:
Blocks: rhsm-rhel67
TreeView+ depends on / blocked
 
Reported: 2015-04-07 14:38 UTC by John Sefler
Modified: 2015-07-22 06:53 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-07-22 06:53:47 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2015:1345 0 normal SHIPPED_LIVE subscription-manager and python-rhsm bug fix and enhancement update 2015-07-20 17:59:53 UTC

Description John Sefler 2015-04-07 14:38:35 UTC
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:

Comment 2 Chris "Ceiu" Rog 2015-04-08 13:26:01 UTC
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

Comment 4 Rehana 2015-04-10 08:20:02 UTC
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

Comment 5 Chris "Ceiu" Rog 2015-04-13 12:39:40 UTC
Ahh, missed the man page. Commit details should be inbound shortly.

Comment 6 Chris "Ceiu" Rog 2015-04-17 13:58:47 UTC
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

Comment 8 Shwetha Kallesh 2015-05-04 07:25:33 UTC
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.

Comment 9 Shwetha Kallesh 2015-05-04 08:31:40 UTC
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.

Comment 10 Chris "Ceiu" Rog 2015-05-04 18:43:41 UTC
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.

Comment 11 Shwetha Kallesh 2015-05-20 09:23:02 UTC
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.

Comment 12 errata-xmlrpc 2015-07-22 06:53:47 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://rhn.redhat.com/errata/RHBA-2015-1345.html


Note You need to log in before you can comment on or make changes to this bug.