Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
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.
Description of problem:
'requres --auto' is missing in help message for attach --servicelevel
Version-Release number of selected component (if applicable):
subscription management rules: 5.16
subscription-manager: 1.15.9-10.el7
How reproducible:
Always.
Steps to Reproduce:
1. Register and auto-attach.
[root@dhcp-128-120 ~]# subscription-manager register --auto-attach
Registering to: hp-sl2x170zg6-01.rhts.eng.bos.redhat.com:443/rhsm
Username: admin
Password:
The system has been registered with ID: 39599078-eef9-4791-b93f-3f293afae526
Installed Product Current Status:
Product Name: Red Hat Enterprise Linux Server
Status: Subscribed
2. Check help message for 'attach --servicelevel'
[root@dhcp-128-120 ~]# subscription-manager attach --help | grep 'servicelevel' -A3
--servicelevel=SERVICE_LEVEL
service level to apply to this system
--file=FILE A file from which to read pool IDs. If a hyphen is
provided, pool IDs will be read from stdin.
Actual results:
As step 2.
Expected results:
The output of step 2 should be like:
# subscription-manager attach --help | grep 'servicelevel' -A3
--servicelevel=SERVICE_LEVEL
service level to apply to this system, requires --auto
Additional info:
Option '--servicelevel' is only used when 'attach --auto':
[root@dhcp-128-120 ~]# subscription-manager attach --auto --servicelevel=premium
Service level set to: premium
Installed Product Current Status:
Product Name: Red Hat Enterprise Linux Server
Status: Subscribed
[root@dhcp-128-120 ~]# subscription-manager remove --all
1 subscription removed at the server.
1 local certificate has been deleted.
[root@dhcp-128-120 ~]# subscription-manager attach --pool=8a90c29d4fa60278014fcecad5e9022e --servicelevel=premium
Error: The --servicelevel option cannot be used when specifying pools.
Marking verified!!
[root@pogo-cn1100-01 yum.repos.d]# subscription-manager version
server type: Red Hat Subscription Management
subscription management server: 0.9.51.11-1
subscription management rules: 5.15
subscription-manager: 1.16.6-1.el6
python-rhsm: 1.16.4-1.el6
[root@pogo-cn1100-01 yum.repos.d]# subscription-manager attach --help | grep 'servicelevel' -A3
--servicelevel=SERVICE_LEVEL
Automatically attach only subscriptions matching the
specified service level; only used with --auto
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-2016-0797.html
Description of problem: 'requres --auto' is missing in help message for attach --servicelevel Version-Release number of selected component (if applicable): subscription management rules: 5.16 subscription-manager: 1.15.9-10.el7 How reproducible: Always. Steps to Reproduce: 1. Register and auto-attach. [root@dhcp-128-120 ~]# subscription-manager register --auto-attach Registering to: hp-sl2x170zg6-01.rhts.eng.bos.redhat.com:443/rhsm Username: admin Password: The system has been registered with ID: 39599078-eef9-4791-b93f-3f293afae526 Installed Product Current Status: Product Name: Red Hat Enterprise Linux Server Status: Subscribed 2. Check help message for 'attach --servicelevel' [root@dhcp-128-120 ~]# subscription-manager attach --help | grep 'servicelevel' -A3 --servicelevel=SERVICE_LEVEL service level to apply to this system --file=FILE A file from which to read pool IDs. If a hyphen is provided, pool IDs will be read from stdin. Actual results: As step 2. Expected results: The output of step 2 should be like: # subscription-manager attach --help | grep 'servicelevel' -A3 --servicelevel=SERVICE_LEVEL service level to apply to this system, requires --auto Additional info: Option '--servicelevel' is only used when 'attach --auto': [root@dhcp-128-120 ~]# subscription-manager attach --auto --servicelevel=premium Service level set to: premium Installed Product Current Status: Product Name: Red Hat Enterprise Linux Server Status: Subscribed [root@dhcp-128-120 ~]# subscription-manager remove --all 1 subscription removed at the server. 1 local certificate has been deleted. [root@dhcp-128-120 ~]# subscription-manager attach --pool=8a90c29d4fa60278014fcecad5e9022e --servicelevel=premium Error: The --servicelevel option cannot be used when specifying pools.