Bug 972883
Summary: | rhn-migrate-classic-to-rhsm tool neglects to populate /var/lib/rhsm/productid.js | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | John Sefler <jsefler> |
Component: | subscription-manager | Assignee: | candlepin-bugs |
Status: | CLOSED ERRATA | QA Contact: | IDM QE LIST <seceng-idm-qe-list> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.5 | CC: | alikins, awood, jesusr, lnovich |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: |
No description necessary.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2013-11-21 21:26:23 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 862910 |
Description
John Sefler
2013-06-10 18:00:57 UTC
commit cae768ae42963bf0d9c598cf81cefa92360166ff Author: Alex Wood <awood> Date: Thu Jun 13 10:59:55 2013 -0400 972883: Add entries to productid.js during migration. All modifeid bugs are in a build now. MOving to ON_QA Verifying Version.... [root@jsefler-5 ~]# rpm -q subscription-manager-migration subscription-manager-migration-1.8.13-1.el5 [root@jsefler-5 ~]# rhnreg_ks --serverUrl=https://xmlrpc.rhn.code.stage.redhat.com/XMLRPC --username=qa --password=****** --force --norhnsd --nohardware --nopackages --novirtinfo [root@jsefler-5 ~]# rhn-channel --add -c rhel-x86_64-server-eucjp-5 -c rhel-x86_64-server-dts-5 -c rhel-x86_64-server-scalefs-5 -c rhel-x86_64-server-sjis-5 -c rhel-x86_64-server-cluster-5 -c rhel-x86_64-server-productivity-5 -c rhel-x86_64-rhev-agent-5-server-beta Username: qa Password: [root@jsefler-5 ~]# rhn-channel --list rhel-x86_64-rhev-agent-5-server-beta rhel-x86_64-server-5 rhel-x86_64-server-cluster-5 rhel-x86_64-server-dts-5 rhel-x86_64-server-eucjp-5 rhel-x86_64-server-productivity-5 rhel-x86_64-server-scalefs-5 rhel-x86_64-server-sjis-5 [root@jsefler-5 ~]# cat /var/lib/rhsm/productid.js { "69": "anaconda-base-201202021136.x86_64", } [root@jsefler-5 ~]# rhn-migrate-classic-to-rhsm --no-auto Red Hat account: qa Password: System Engine Username: testuser1 Password: Org: admin Retrieving existing RHN Classic subscription information... +-----------------------------------------------------+ System is currently subscribed to these RHN Classic Channels: +-----------------------------------------------------+ rhel-x86_64-server-5 rhel-x86_64-server-dts-5 rhel-x86_64-rhev-agent-5-server-beta rhel-x86_64-server-sjis-5 rhel-x86_64-server-productivity-5 rhel-x86_64-server-cluster-5 rhel-x86_64-server-eucjp-5 rhel-x86_64-server-scalefs-5 +-----------------------------------------------------+ Installing product certificates for these RHN Classic channels: +-----------------------------------------------------+ rhel-x86_64-server-5 rhel-x86_64-server-dts-5 rhel-x86_64-rhev-agent-5-server-beta rhel-x86_64-server-sjis-5 rhel-x86_64-server-productivity-5 rhel-x86_64-server-cluster-5 rhel-x86_64-server-eucjp-5 rhel-x86_64-server-scalefs-5 Product certificates installed successfully to /etc/pki/product. Preparing to unregister system from RHN Classic... System successfully unregistered from RHN Classic. Attempting to register system to Red Hat Subscription Management... The system has been registered with ID: ef0703a0-3a5a-4ba9-90d0-801d79779a71 System 'jsefler-5.usersys.redhat.com' successfully registered to Red Hat Subscription Management. [root@jsefler-5 ~]# cat /var/lib/rhsm/productid.js { "176": [ "rhel-x86_64-server-dts-5" ], "181": [ "rhel-x86_64-server-eucjp-5" ], "126": [ "rhel-x86_64-server-sjis-5" ], "69": [ "rhel-x86_64-server-5", "rhel-x86_64-rhev-agent-5-server-beta", "rhel-x86_64-server-productivity-5" ], "83": [ "rhel-x86_64-server-cluster-5" ], "92": [ "rhel-x86_64-server-scalefs-5" ] }[root@jsefler-5 ~]# VERIFIED: /var/lib/rhsm/productid.js is now populated with productId-to-classicChannel mappings during the migration process. 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 |