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.
Updates of subscription-manager list
Among the list of available subscription, the output of the subscription-manager list --available command now contains a new field, Provides. This field shows the names of the products that the system is eligible for. In addition, a new field, Suggested, has been added to facilitate compliance and provide parity with the graphical user interface (GUI). (BZ#996993, BZ#1008557)
Description of problem:
With the introduction of instance based subscription pools as well as core, ram, and socket based subscriptions, attaching a subscription from the CLI is frequently leaving the CLI consumer partially subscribed. This is because a quantity of 1 is used by default when the CLI consumer does not explicitly specify a quantity. Moreover, it is increasingly more complicated to know what quantity is needed.
The subscription-manager GUI quantity spinners already provide the user with a suggested quantity needed to achieve compliance. It would be good to have the CLI list --available report also provide a suggested quantity.
Taking this one step farther, it would also be helpful for the candlepin server to automatically give a CLI consumer the quantity needed to achieve compliance when the --quantity option is not explicitly specified by the CLI consumer. However, this functionality would be a candlepin RFE Bugzilla.
Version-Release number of selected component (if applicable):
[root@jsefler-6 ~]# rpm -q subscription-manager
subscription-manager-1.9.6-1.el6.x86_64
Steps to Reproduce:
[root@jsefler-6 ~]# subscription-manager list --avail
+-------------------------------------------+
Available Subscriptions
+-------------------------------------------+
Subscription Name: Awesome OS Instance Based (Standard Support)
SKU: awesomeos-instancebased
Pool ID: 8a9086d340d0ae7d0140d0afe443051d
Available: 20
Quantity Needed: 4 <============== NEW FIELD REQUESTED
Service Level: Standard
Service Type: L1-L3
Multi-Entitlement: Yes
Ends: 08/29/2014
System Type: Physical
Additional info:
Including mreid on this bug to help with the verbage of this new field. Here are some possibilities:
Suggested Quantity:
Quantity Suggested:
Suggested:
Quantity Needed:
Needed Quantity:
Needed:
Required Quantity:
Quantity Required:
Required:
Version:
Tested on stage
# subscription-manager version
server type: Red Hat Subscription Management
subscription management server: Unknown
subscription-manager: 1.9.9-1.el6
python-rhsm: 1.9.6-1.el6
# subscription-manager list --available
+-------------------------------------------+
Available Subscriptions
+-------------------------------------------+
Subscription Name: Red Hat Enterprise Linux Server, Premium (8 sockets) (Up to 4 guests)
Provides: Red Hat Beta
Red Hat Enterprise Linux Server
Red Hat Software Collections Beta (for RHEL Server)
SKU: RH0103708
Pool ID: 8a99f983417b061b01417f426a3a7eb5
Available: 1000
Suggested: 1 <<============= NEW ITEM
Service Level: PREMIUM
Service Type: L1-L3
Multi-Entitlement: No
Ends: 07/24/2014
System Type: Physical
VERIFIED
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.
http://rhn.redhat.com/errata/RHBA-2013-1659.html
Description of problem: With the introduction of instance based subscription pools as well as core, ram, and socket based subscriptions, attaching a subscription from the CLI is frequently leaving the CLI consumer partially subscribed. This is because a quantity of 1 is used by default when the CLI consumer does not explicitly specify a quantity. Moreover, it is increasingly more complicated to know what quantity is needed. The subscription-manager GUI quantity spinners already provide the user with a suggested quantity needed to achieve compliance. It would be good to have the CLI list --available report also provide a suggested quantity. Taking this one step farther, it would also be helpful for the candlepin server to automatically give a CLI consumer the quantity needed to achieve compliance when the --quantity option is not explicitly specified by the CLI consumer. However, this functionality would be a candlepin RFE Bugzilla. Version-Release number of selected component (if applicable): [root@jsefler-6 ~]# rpm -q subscription-manager subscription-manager-1.9.6-1.el6.x86_64 Steps to Reproduce: [root@jsefler-6 ~]# subscription-manager list --avail +-------------------------------------------+ Available Subscriptions +-------------------------------------------+ Subscription Name: Awesome OS Instance Based (Standard Support) SKU: awesomeos-instancebased Pool ID: 8a9086d340d0ae7d0140d0afe443051d Available: 20 Quantity Needed: 4 <============== NEW FIELD REQUESTED Service Level: Standard Service Type: L1-L3 Multi-Entitlement: Yes Ends: 08/29/2014 System Type: Physical Additional info: Including mreid on this bug to help with the verbage of this new field. Here are some possibilities: Suggested Quantity: Quantity Suggested: Suggested: Quantity Needed: Needed Quantity: Needed: Required Quantity: Quantity Required: Required: