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.
Created attachment 472269[details]
command line history
Description of problem:
When subscribing to a subscription with bundled products, the names of the products aren't properly listed as being added in the log. Only the first item in the list of products is logged.
Additionally the subscription name is not logged and only the pool ID is given (not very human readable).
Ideally all of this information would be logged upon a subscribe or unsubscribe as these are the elements being displayed and dealt with when using subscription-manager list commands or using the gui.
Version-Release number of selected component (if applicable):
[root@jmolet-vm1 rhsm]# rpm -qa | grep subscription
subscription-manager-firstboot-0.93.9-1.git.15.3545a2a.el6.x86_64
subscription-manager-0.93.9-1.git.15.3545a2a.el6.x86_64
subscription-manager-gnome-0.93.9-1.git.15.3545a2a.el6.x86_64
Steps to Reproduce:
1. install subscription manager and all required dependencies.
2. register subscription manager
3. subscribe to a subscription with bundled (>1) products.
Actual results:
The subsciption is referred to in log by pool ID.
Only the first product is logged as being installed
Expected results:
The subscription is referred to in the log by pool ID and the subscription name.
All products are logged as being installed.
Additional info:
Attached to this is a log of the commands I used to replicate this.
Below is the relevant part of /etc/rhsm/rhsm.log:
2011-01-07 12:36:27,559 [INFO] _do_command() @managercli.py:443 - Info: Successfully subscribed the machine the Entitlement Pool 8a90f88e2ca760c9012ca7615a4e01b7
2011-01-07 12:36:28,101 [INFO] perform() @certlib.py:137 - certs updated:
Total updates: 1
Found (local) serial# []
Expected (UEP) serial# [14129442178924125]
Added (new)
[sn:14129442178924125 (High availability (cluster suite),) @ /etc/pki/entitlement/14129442178924125.pem]
Deleted (rogue):
<NONE>
Expired (not deleted):
<NONE>
Expired (deleted):
<NONE>
commit 73c4b80612feca270bd39012763a5f74bac7ab52
Author: Adrian Likins <alikins>
Date: Wed Jan 12 12:33:58 2011 -0500
668032: Log all bundled products on subscription
Previously we were logging the first product, now log all
the bundled products as well. Ditto for syslog.
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.
http://rhn.redhat.com/errata/RHEA-2011-0611.html
Created attachment 472269 [details] command line history Description of problem: When subscribing to a subscription with bundled products, the names of the products aren't properly listed as being added in the log. Only the first item in the list of products is logged. Additionally the subscription name is not logged and only the pool ID is given (not very human readable). Ideally all of this information would be logged upon a subscribe or unsubscribe as these are the elements being displayed and dealt with when using subscription-manager list commands or using the gui. Version-Release number of selected component (if applicable): [root@jmolet-vm1 rhsm]# rpm -qa | grep subscription subscription-manager-firstboot-0.93.9-1.git.15.3545a2a.el6.x86_64 subscription-manager-0.93.9-1.git.15.3545a2a.el6.x86_64 subscription-manager-gnome-0.93.9-1.git.15.3545a2a.el6.x86_64 Steps to Reproduce: 1. install subscription manager and all required dependencies. 2. register subscription manager 3. subscribe to a subscription with bundled (>1) products. Actual results: The subsciption is referred to in log by pool ID. Only the first product is logged as being installed Expected results: The subscription is referred to in the log by pool ID and the subscription name. All products are logged as being installed. Additional info: Attached to this is a log of the commands I used to replicate this. Below is the relevant part of /etc/rhsm/rhsm.log: 2011-01-07 12:36:27,559 [INFO] _do_command() @managercli.py:443 - Info: Successfully subscribed the machine the Entitlement Pool 8a90f88e2ca760c9012ca7615a4e01b7 2011-01-07 12:36:28,101 [INFO] perform() @certlib.py:137 - certs updated: Total updates: 1 Found (local) serial# [] Expected (UEP) serial# [14129442178924125] Added (new) [sn:14129442178924125 (High availability (cluster suite),) @ /etc/pki/entitlement/14129442178924125.pem] Deleted (rogue): <NONE> Expired (not deleted): <NONE> Expired (deleted): <NONE>