Bug 768415

Summary: rhn-migrate-classic-to-rhsm extra channel enabling does not work on non x86_64 arches
Product: Red Hat Enterprise Linux 5 Reporter: Chris Duryee <cduryee>
Component: subscription-managerAssignee: Chris Duryee <cduryee>
Status: CLOSED ERRATA QA Contact: Entitlement Bugs <entitlement-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 5.8CC: jsefler, mhuth, spandey, wpoteat
Target Milestone: rc   
Target Release: 5.8   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 0.98.9-1.el5 Doc Type: Bug Fix
Doc Text:
No description necessary
Story Points: ---
Clone Of:
: 769642 (view as bug list) Environment:
Last Closed: 2012-02-21 06:44:06 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 715031, 771700, 772019    

Description Chris Duryee 2011-12-16 15:39:36 UTC
Description of problem:

If a user sets up a non-x86_64 box and has extra channels, they will not get enabled.

Steps to Reproduce:
1. register a machine with rhn hosted classic
2. in the web UI, enable supplemental channels
3. run rhn-migrate-classic-to-rhsm
  
Actual results:

supplemental channel is not enabled


Expected results:

supplemental channel should be enabled


Additional info:

This was found by Mark Huth, who supplied a patch.

Comment 1 Chris Duryee 2011-12-16 20:07:15 UTC
a2e8863 master 0.99.3+
93a1c2f RHEL5.8 0.98.9+

Comment 2 spandey 2011-12-21 12:59:46 UTC
verified using following setup 

subscription-manager-firstboot-0.99.2-1.git.7.d4c703a.el5_7
subscription-manager-0.99.2-1.git.7.d4c703a.el5_7
subscription-manager-migration-data-1.7-1.el5
subscription-manager-gnome-0.99.2-1.git.7.d4c703a.el5_7
subscription-manager-migration-0.99.2-1.git.7.d4c703a.el5_7

[root@dhcp201-205 ~]# rhn-migrate-classic-to-rhsm 
RHN Username: stage_test_31
Password: 

Retrieving existing RHN classic subscription information ...
+----------------------------------+
System is currently subscribed to:
+----------------------------------+
rhel-i386-client-5
rhel-i386-client-supplementary-5
rhel-i386-client-fastrack-5
rhn-tools-rhel-i386-client-5

List of channels for which certs are being copied
rhel-i386-client-5
rhel-i386-client-supplementary-5
rhel-i386-client-fastrack-5
rhn-tools-rhel-i386-client-5

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: d327c7de-1771-4e6e-b970-6005bbb8cd6d 
System 'dhcp201-205.englab.pnq.redhat.com' successfully registered to Certificate-based RHN.

Attempting to auto-subscribe to appropriate subscriptions ...
Installed Product Current Status:
ProductName:          	Red Hat Enterprise Linux Desktop
Status:               	Not Subscribed           

Successfully subscribed.

Comment 3 spandey 2011-12-21 13:00:59 UTC
verified on I386 machine

Comment 4 spandey 2011-12-22 09:27:59 UTC
Moving defect status from modified to verified

Comment 5 William Poteat 2012-01-23 16:33:18 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
No description necessary

Comment 6 errata-xmlrpc 2012-02-21 06:44:06 UTC
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-2012-0154.html