Red Hat Bugzilla – Bug 587888
OSAD / Up2date throws an error when trying to upgrade packages
Last modified: 2012-03-06 04:10:19 EST
Description of problem:
Since I upgraded from 0.8 the OSAD package deployment does not work anymore. It seems to be a problem with the Python code.
Just schedule a package upgrade for a client on the SW-Server.
On the Spacework-Server the Schedule-Screen tells:
'Fatal error in Python code occured []'
On the Client in up2date.log:
Traceback (most recent call last):
File "/usr/sbin/rhn_check", line 283, in __run_action
(status, message, data) = CheckCli.__do_call(method, params)
File "/usr/sbin/rhn_check", line 275, in __do_call
method = getMethod.getMethod(method, "/usr/share/rhn/", "actions")
File "/usr/share/rhn/up2date_client/getMethod.py", line 78, in getMethod
actions = __import__(modulename)
File "/usr/share/rhn/actions/packages.py", line 266, in ?
yum_base = YumAction()
File "/usr/share/rhn/actions/packages.py", line 62, in __init__
exceptions.AttributeError: 'module' object has no attribute 'cfg'
Justin is addressing this in bug 589120.
*** This bug has been marked as a duplicate of bug 589120 ***