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.
DescriptionShwetha Kallesh
2012-02-20 06:54:21 UTC
Description of problem:
Version-Release number of selected component (if applicable):
[root@dhcp201-162 ~]# rpm -qa | grep subscription-manager
subscription-manager-0.99.7-1.el6.x86_64
subscription-manager-migration-0.99.7-1.el6.x86_64
subscription-manager-firstboot-0.99.7-1.el6.x86_64
subscription-manager-gnome-0.99.7-1.el6.x86_64
subscription-manager-migration-data-1.12-1.el6.noarch
subscription-manager-debuginfo-0.99.7-1.el6.x86_64
How reproducible:
Steps to Reproduce:
[root@dhcp201-162 ~]# rhn-migrate-classic-to-rhsm
RHN Username: qa
Password:
Retrieving existing RHN classic subscription information ...
+----------------------------------+
System is currently subscribed to:
+----------------------------------+
rhel-x86_64-server-6
Traceback (most recent call last):
File "/usr/sbin/rhn-migrate-classic-to-rhsm", line 420, in <module>
main()
File "/usr/sbin/rhn-migrate-classic-to-rhsm", line 403, in main
deployProdCertificates(subscribedChannels)
File "/usr/sbin/rhn-migrate-classic-to-rhsm", line 256, in deployProdCertificates
dic_data = readChannelCertMapping()
File "/usr/sbin/rhn-migrate-classic-to-rhsm", line 209, in readChannelCertMapping
f = open(mappingfile)
IOError: [Errno 2] No such file or directory: '/usr/share/rhsm/product/RHEL-6/channel-cert-mapping.txt'
Actual results:
Expected results:
Additional info:
verified!!
Version:
[root@dhcp201-196 RHEL-6]# rpm -qa | grep subscription-manager
subscription-manager-gnome-1.0.0-1.git.31.2f65bc4.el6_2.x86_64
subscription-manager-1.0.0-1.git.31.2f65bc4.el6_2.x86_64
subscription-manager-firstboot-1.0.0-1.git.31.2f65bc4.el6_2.x86_64
subscription-manager-debuginfo-0.99.13-1.el6.x86_64
subscription-manager-migration-1.0.0-1.git.31.2f65bc4.el6_2.x86_64
subscription-manager-migration-data-1.12.1.5-1.el6.noarch
steps:
[root@dhcp201-196 pki]# rhn-migrate-classic-to-rhsm
RHN Username: qa
Password:
Retrieving existing RHN Classic subscription information ...
+----------------------------------+
System is currently subscribed to:
+----------------------------------+
rhel-x86_64-server-6
List of channels for which certs are being copied
rhel-x86_64-server-6
Product certificates copied successfully to /etc/pki/product
Preparing to unregister system from RHN classic ...
System successfully unregistered from RHN Classic.
Attempting to register system to Certificate-based RHN ...
The system has been registered with id: 7de1af13-9a8f-4278-a613-e098b925d6c1
System 'dhcp201-196.englab.pnq.redhat.com' successfully registered to Certificate-based RHN.
Launching the GUI tool to manually subscribe the system ...
Please visit https://access.redhat.com/management/consumers/7de1af13-9a8f-4278-a613-e098b925d6c1 to view the details, and to make changes if necessary.
[root@dhcp201-196 pki]# ll /usr/share/rhsm/product/
total 4
drwxr-xr-x. 2 root root 4096 Apr 26 12:48 RHEL-6
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/RHEA-2012-0823.html
Description of problem: Version-Release number of selected component (if applicable): [root@dhcp201-162 ~]# rpm -qa | grep subscription-manager subscription-manager-0.99.7-1.el6.x86_64 subscription-manager-migration-0.99.7-1.el6.x86_64 subscription-manager-firstboot-0.99.7-1.el6.x86_64 subscription-manager-gnome-0.99.7-1.el6.x86_64 subscription-manager-migration-data-1.12-1.el6.noarch subscription-manager-debuginfo-0.99.7-1.el6.x86_64 How reproducible: Steps to Reproduce: [root@dhcp201-162 ~]# rhn-migrate-classic-to-rhsm RHN Username: qa Password: Retrieving existing RHN classic subscription information ... +----------------------------------+ System is currently subscribed to: +----------------------------------+ rhel-x86_64-server-6 Traceback (most recent call last): File "/usr/sbin/rhn-migrate-classic-to-rhsm", line 420, in <module> main() File "/usr/sbin/rhn-migrate-classic-to-rhsm", line 403, in main deployProdCertificates(subscribedChannels) File "/usr/sbin/rhn-migrate-classic-to-rhsm", line 256, in deployProdCertificates dic_data = readChannelCertMapping() File "/usr/sbin/rhn-migrate-classic-to-rhsm", line 209, in readChannelCertMapping f = open(mappingfile) IOError: [Errno 2] No such file or directory: '/usr/share/rhsm/product/RHEL-6/channel-cert-mapping.txt' Actual results: Expected results: Additional info: