Bug 461554 - rhnplugin dumps on pickle.py
Summary: rhnplugin dumps on pickle.py
Keywords:
Status: CLOSED DUPLICATE of bug 452829
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: yum-rhn-plugin
Version: 5.2
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: John Matthews
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-09-09 02:22 UTC by Peter Tiggerdine
Modified: 2008-09-11 17:14 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-09-11 17:14:36 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Peter Tiggerdine 2008-09-09 02:22:46 UTC
Description of problem:

yum appears to fail when loading plugin rhnplugin.

Version-Release number of selected component (if applicable):
yum-rhn-plugin-0.5.3-6.el5_2.6
yum-3.2.8-9.el5_2.1
python-2.4.3-21.el5

How reproducible:
all the time.

Steps to Reproduce:
1. install above software
2. yum check-update
3.
  
Actual results:
[root@mg ~]# yum check-update
Loading "rhnplugin" plugin
Traceback (most recent call last):
  File "/usr/bin/yum", line 29, in ?
    yummain.main(sys.argv[1:])
  File "/usr/share/yum-cli/yummain.py", line 85, in main
    base.getOptionsConfig(args)
  File "/usr/share/yum-cli/cli.py", line 163, in getOptionsConfig
    disabled_plugins=self.optparser._splitArg(opts.disableplugins))
  File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 183, in _getConfig
    self.plugins.run('init')
  File "/usr/lib/python2.4/site-packages/yum/plugins.py", line 169, in run
    func(conduitcls(self, self.base, conf, **kwargs))
  File "/usr/lib/yum-plugins/rhnplugin.py", line 110, in init_hook
    login_info = up2dateAuth.getLoginInfo()
  File "/usr/share/rhn/up2date_client/up2dateAuth.py", line 211, in getLoginInfo
    login()
  File "/usr/share/rhn/up2date_client/up2dateAuth.py", line 159, in login
    if readCachedLogin():
  File "/usr/share/rhn/up2date_client/up2dateAuth.py", line 120, in readCachedLogin
    data = pickle.load(pcklAuth)
  File "/usr/lib64/python2.4/pickle.py", line 1390, in load
    return Unpickler(file).load()
  File "/usr/lib64/python2.4/pickle.py", line 872, in load
    dispatch[key](self)
  File "/usr/lib64/python2.4/pickle.py", line 894, in load_eof
    raise EOFError
EOFError

Expected results:

list of updates needed for said system.

Additional info:
yum -t check-update doesn't fail but also doesn't show list of packages that need to be updated :-)

Comment 1 Peter Tiggerdine 2008-09-09 02:43:53 UTC
Just tried older version of yum-rhn-plugin-0.5.3-6.el5, but I still get the same result. looks like it might be a python bug?

Comment 2 mike 2008-09-11 15:48:29 UTC
This is from RedHat support and it works for me. It would be nice if they updated the ticket...


*As per the error message, provided in your first comment, this is a known bug #452829, and it has been tracked down. The fix would be officially released under RHEL5.3 release.

*In the mean time the workaround for the same is:

rm -rf /var/spool/up2date/loginAuth.pkl
yum update

Comment 3 John Matthews 2008-09-11 17:14:36 UTC

*** This bug has been marked as a duplicate of bug 452829 ***


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