Bug 576803 - yum-rhn-plugin fails with traceback (AttributeError: 'module' object has no attribute 'channel_blacklist')
Summary: yum-rhn-plugin fails with traceback (AttributeError: 'module' object has no a...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Spacewalk
Classification: Community
Component: Clients
Version: 0.9
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Jan Pazdziora
QA Contact: Jiri Kastner
URL:
Whiteboard:
Depends On:
Blocks: space09 576807
TreeView+ depends on / blocked
 
Reported: 2010-03-25 09:49 UTC by Michael Mráka
Modified: 2010-05-05 15:01 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 576807 (view as bug list)
Environment:
Last Closed: 2010-05-05 15:01:20 UTC
Embargoed:


Attachments (Terms of Use)

Description Michael Mráka 2010-03-25 09:49:05 UTC
Description of problem:
yum-rhn-plugin fails with traceback


Version-Release number of selected component (if applicable):
Red Hat Enterprise Linux Server release 5.4 (Tikanga)
yum-rhn-plugin-0.9.1-1.el5.noarch
yum-3.2.22-20.el5.noarch
rhn-client-tools-0.9.6-1.el5.noarch

How reproducible:
always

Steps to Reproduce:
1. yum update
2.
3.
  
Actual results:
[root@xen36 ~]# yum update
Loaded plugins: rhnplugin, security
Traceback (most recent call last):
  File "/usr/bin/yum", line 29, in ?
    yummain.user_main(sys.argv[1:], exit_code=True)
  File "/usr/share/yum-cli/yummain.py", line 309, in user_main
    errcode = main(args)
  File "/usr/share/yum-cli/yummain.py", line 157, in main
    base.getOptionsConfig(args)
  File "/usr/share/yum-cli/cli.py", line 187, in getOptionsConfig
    self.conf
  File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 664, in <lambda>
    conf = property(fget=lambda self: self._getConfig(),
  File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 253, in _getConfig
    self.plugins.run('init')
  File "/usr/lib/python2.4/site-packages/yum/plugins.py", line 179, in run
    func(conduitcls(self, self.base, conf, **kwargs))
  File "/usr/share/yum-plugins/rhnplugin.py", line 156, in init_hook
    if channel['label'] not in rhnChannel.channel_blacklist \
AttributeError: 'module' object has no attribute 'channel_blacklist'

Expected results:
yum update works

Additional info:

Comment 1 Jan Pazdziora 2010-03-25 10:04:15 UTC
Fixed in Spacewalk master 1f60bc6392517a637e991a0d8662ea64dc70215d.

Comment 2 Jan Pazdziora 2010-03-25 10:06:30 UTC
Tagged and built as yum-rhn-plugin-0.9.2-1.

Comment 4 Jiri Kastner 2010-04-13 12:08:48 UTC
verified on rhel5 with packages from spacewalk-client-nightly repo:
rpm -qa yum-rhn-plugin yum rhn-client-tools
yum-3.2.22-26.el5
yum-rhn-plugin-0.9.2-1.el5
rhn-client-tools-1.0.0-1.el5

Comment 5 Miroslav Suchý 2010-05-05 15:01:20 UTC
This bug has been fixed in Spacewalk 1.0.
Closing.


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