Bug 525679

Summary: Pirut/yum crash while update
Product: Red Hat Enterprise Linux 5 Reporter: paddy.b
Component: pirutAssignee: James Antill <james.antill>
Status: CLOSED CURRENTRELEASE QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: high Docs Contact:
Priority: low    
Version: 5.5CC: bkearney
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-03-14 19:07:35 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:

Description paddy.b 2009-09-25 09:25:54 UTC
Dear Experts:

I tried to update/install the latest RHEL version from RHEL 5.2 version through RHN website. The installation went well for a while and suddenly crashed with the following errors:

*********************************************
Component: pirut
Summary: TB505a298b rhnplugin.py:219:__init__:AttributeError: can't set attribute

Traceback (most recent call last):
  File "/usr/sbin/pup", line 617, in ?
    main()
  File "/usr/sbin/pup", line 609, in main
    pup = PackageUpdater(not options.autoapply, options.config)
  File "/usr/sbin/pup", line 84, in __init__
    GraphicalYumBase.__init__(self, False, config)
  File "/usr/lib/python2.4/site-packages/pirut/__init__.py", line 137, in __init__
    plugin_types=(yum.plugins.TYPE_CORE,))
  File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 170, in doConfigSetup
    return 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/lib/yum-plugins/rhnplugin.py", line 144, in init_hook
    repo = RhnRepo(channel)
  File "/usr/lib/yum-plugins/rhnplugin.py", line 219, in __init__
    self.metadata_cookie = 'cookie'
AttributeError: can't set attribute

Local variables in innermost frame:
self: rhel-x86_64-client-5
channel: <up2date_client.rhnChannel.rhnChannel instance at 0x1ad0ef80>
urls: ['https://xmlrpc.rhn.redhat.com/XMLRPC/GET-REQ/rhel-x86_64-client-5']

************************************************

As the installation/update is incomplete, the system is not stable, and I could not use some of user-end graphics programs which had been working well in the previous RHEL 5.2 version.

Your valuable suggestion is greatly appreciated to resolve this error.

Best regards,
B. Padmanabhan.

Comment 1 James Antill 2013-03-14 19:07:35 UTC
 This is a weird rhnplugin problem, it's probably fixed by now.