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