Bug 684342 - "TypeError: 'NoneType' object is not iterable" when listing repos after RHN unregistration
Summary: "TypeError: 'NoneType' object is not iterable" when listing repos after RHN u...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: yum-rhn-plugin
Version: 6.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Miroslav Suchý
QA Contact: Jan Hutař
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-03-11 20:51 UTC by Jan Hutař
Modified: 2011-12-14 13:44 UTC (History)
3 users (show)

Fixed In Version: yum-rhn-plugin-0.9.1-20.el6
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-06-09 19:07:01 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2011:0565 0 normal SHIPPED_LIVE rhn-client-tools and yum-rhn-plugin bug fix and ehnancement update 2011-05-18 17:57:10 UTC

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


Note You need to log in before you can comment on or make changes to this bug.