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 684342

Summary: "TypeError: 'NoneType' object is not iterable" when listing repos after RHN unregistration
Product: Red Hat Enterprise Linux 6 Reporter: Jan Hutař <jhutar>
Component: yum-rhn-pluginAssignee: Miroslav Suchý <msuchy>
Status: CLOSED ERRATA QA Contact: Jan Hutař <jhutar>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.0CC: dyordano, msuchy, rbiba
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: yum-rhn-plugin-0.9.1-20.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-06-09 19:07:01 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Comment 2 Miroslav Suchý 2011-03-17 10:51:43 UTC
Fixed in spacewalk.git in commit 6da41679b8fe50538f108111fabe5b5cfc46e636

Comment 3 Miroslav Suchý 2011-03-17 11:39:06 UTC
Cherry-picked to satellite.git as commit 59dc7942b76e37540a4ba7652a9e076f95d0ca59

Comment 4 Dimitar Yordanov 2011-03-23 17:01:33 UTC
I am facing  this problem agter updating to 

rhn-check-1.0.0-57.el6.noarch
rhn-client-tools-1.0.0-57.el6.noarch
rhn-setup-1.0.0-57.el6.noarch
rhn-setup-gnome-1.0.0-57.el6.noarch
yum-rhn-plugin-0.9.1-20.el6.noarch

Comment 5 Jan Hutař 2011-05-17 07:57:03 UTC
I have checked this is not an issue now with:

yum-3.2.29-17.el6.noarch
yum-rhn-plugin-0.9.1-26.el6_1.1.noarch

Comment 6 Jan Hutař 2011-05-17 12:05:47 UTC
This was a regression caused during development. Customers could not see it as the buggy package was newer released:

# grep serverURL= /etc/sysconfig/rhn/up2date 
serverURL=https://xmlrpc.rhn.redhat.com/XMLRPC
# rpm -q yum yum-rhn-plugin
yum-3.2.27-14.el6.noarch
yum-rhn-plugin-0.9.1-5.el6.noarch
# mv /etc/sysconfig/rhn/systemid{,.OK}
# yum repolist
 => PASS

Updated yum\* to what is on Prod:

# rpm -q yum yum-rhn-plugin
yum-3.2.27-14.el6_0.1.noarch
yum-rhn-plugin-0.9.1-7.el6.noarch
# mv /etc/sysconfig/rhn/systemid{,.OK}
# yum repolist
 => PASS

=> Will close as CURRENTRELEASE once RHEL6.1 is out.

Comment 7 errata-xmlrpc 2011-06-09 19:07:01 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2011-0565.html