rhn-migrate-classic-to-rhsm fails with Detected the following product ID collisions

Solution Verified - Updated -

Issue

Migration with bootstrap.py for Satellite 5 clients on RHEL7 Server or Workstation to Satellite 6 is failing with following errors:

The errors can be observed in /var/log/rhsm/rhsm.log

2018-04-16 14:17:58,120 [INFO] rhn-migrate-classic-to-rhsm:10207:MainThread @migrate.py:474 - Using mapping file /usr/share/rhsm/product/RHEL-7/channel-cert-mapping.txt
2018-04-16 14:17:58,143 [INFO] rhn-migrate-classic-to-rhsm:10207:MainThread @migrate.py:495 - Mapping found for: rhel-x86_64-workstation-7 = Workstation-Workstation-x86_64-e2e5f826adb1-71.pem
2018-04-16 14:17:58,144 [INFO] rhn-migrate-classic-to-rhsm:10207:MainThread @migrate.py:495 - Mapping found for: rhel-x86_64-workstation-extras-7 = Workstation-Workstation-x86_64-30b4e57a8843-71.pem
2018-04-16 14:17:58,144 [INFO] rhn-migrate-classic-to-rhsm:10207:MainThread @migrate.py:495 - Mapping found for: rhel-x86_64-workstation-supplementary-7 = Workstation-Workstation-x86_64-06b84075cc00-71.pem
2018-04-16 14:17:58,144 [INFO] rhn-migrate-classic-to-rhsm:10207:MainThread @migrate.py:495 - Mapping found for: rhn-tools-rhel-x86_64-workstation-7 = Workstation-Workstation-x86_64-06b84075cc00-71.pem
2018-04-16 14:17:58,144 [INFO] rhn-migrate-classic-to-rhsm:10207:MainThread @migrate.py:495 - Mapping found for: rhel-x86_64-workstation-optional-7 = Workstation-Workstation-x86_64-06b84075cc00-71.pem
2018-04-16 14:17:58,145 [ERROR] rhn-migrate-classic-to-rhsm:10207:MainThread @migrate.py:458 - Aborting. Detected the following product ID collisions: {'71': {'Workstation-Workstation-x86_64-e2e5f826adb1-71.pem': ['rhel-x86_64-workstation-7'], 'Workstation-Workstation-x86_64-30b4e57a8843-71.pem': ['rhel-x86_64-workstation-extras-7'], 'Workstation-Workstation-x86_64-06b84075cc00-71.pem': ['rhel-x86_64-workstation-supplementary-7', 'rhn-tools-rhel-x86_64-workstation-7', 'rhel-x86_64-workstation-optional-7']}}
2018-04-12 19:02:47,309 [INFO] rhn-migrate-classic-to-rhsm:19493:MainThread @migrate.py:474 - Using mapping file /usr/share/rhsm/product/RHEL-7/channel-cert-mapping.txt
2018-04-12 19:02:47,318 [INFO] rhn-migrate-classic-to-rhsm:19493:MainThread @migrate.py:495 - Mapping found for: rhel-x86_64-server-7 = Server-Server-x86_64-c1aff91afa01-69.pem
2018-04-12 19:02:47,318 [INFO] rhn-migrate-classic-to-rhsm:19493:MainThread @migrate.py:495 - Mapping found for: rhel-x86_64-server-optional-7 = Server-Server-x86_64-4ef1264b94f3-69.pem
2018-04-12 19:02:47,318 [INFO] rhn-migrate-classic-to-rhsm:19493:MainThread @migrate.py:495 - Mapping found for: rhn-tools-rhel-x86_64-server-7 = Server-Server-x86_64-4ef1264b94f3-69.pem
2018-04-12 19:02:47,318 [ERROR] rhn-migrate-classic-to-rhsm:19493:MainThread @migrate.py:458 - Aborting. Detected the following product ID collisions: {'69': {'Server-Server-x86_64-4ef1264b94f3-69.pem': ['rhel-x86_64-server-optional-7', 'rhn-tools-rhel-x86_64-server-7'], 'Server-Server-x86_64-c1aff91afa01-69.pem': ['rhel-x86_64-server-7']}}

Environment

RHEL 7 systems with following packages installed:

# rpm -qa | grep subscription-manager

subscription-manager-1.20.11-1.el7_5.x86_64                 Thu Apr 12 19:02:33 2018
subscription-manager-migration-1.20.11-1.el7_5.x86_64       Thu Apr 12 19:02:33 2018
subscription-manager-migration-data-2.0.39-1.el7.noarch     Thu Apr 12 19:02:33 2018

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content