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.

Bug 873631

Summary: rhn-migrate-classic-to-rhsm failed with error “No such org: None”
Product: Red Hat Enterprise Linux 6 Reporter: spandey
Component: subscription-managerAssignee: candlepin-bugs
Status: CLOSED ERRATA QA Contact: IDM QE LIST <seceng-idm-qe-list>
Severity: unspecified Docs Contact:
Priority: medium    
Version: 6.4CC: alikins, gkhachik, jmolet, jsefler, kbanerje, skallesh, spandey, tomckay
Target Milestone: rcKeywords: QA-Closed
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: subscription-manager-1.1.7-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-02-21 08:59:36 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: 771481, 816564    

Description spandey 2012-11-06 11:14:18 UTC
Description of problem:


Version-Release number of selected component (if applicable):


How reproducible:
2/2

Prerequisites
Rhel6.4 with following subscription-manager rpm .
subscription-manager-migration-1.1.5-1.git.10.64351ef.el6.x86_64
subscription-manager-1.1.5-1.git.10.64351ef.el6.x86_64
subscription-manager-migration-data-1.12.2.5-1.git.0.85ecbf5.el6.noarch

Steps to Repro : 
Login to client console and register client to rhn_classic. 
Execute following command on console “rhn-migrate-classic-to-rhsm” with valid (rhn)user/password.

Expected Result : 
Migration should successfully completed and no error message should display on console. 

Actual Result : 
Migration failed with error message “No such org: None
”

[root@dhcp201-136 ~]# rhn-migrate-classic-to-rhsm 
Red Hat account: qa
Password: 
No such org: None

Comment 2 Adrian Likins 2012-11-12 17:39:10 UTC
commit d0ab4be325dc3b2fd0b3713018d51fbf0d7e773b
Author: Alex Wood <awood>
Date:   Sun Nov 4 03:22:46 2012 -0500

    873631: Migrate correctly when there is only one org.

Comment 4 Alex Wood 2012-11-19 15:59:22 UTC
*** Bug 877331 has been marked as a duplicate of this bug. ***

Comment 5 spandey 2012-11-26 08:39:31 UTC
Verified using following rpm 

subscription-manager-1.8.0-1.git.3.006a990.el6.x86_64
subscription-manager-migration-1.8.0-1.git.3.006a990.el6.x86_64
subscription-manager-firstboot-1.8.0-1.git.3.006a990.el6.x86_64
subscription-manager-gui-1.8.0-1.git.3.006a990.el6.x86_64
subscription-manager-migration-data-1.12.2.6-1.git.0.171d4c3.el6.noarch

Working fine resolving defect as verified.

Comment 7 errata-xmlrpc 2013-02-21 08:59:36 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-2013-0350.html