[Spacewalk-list] rhel5.1 failing on push but yum pulls fine

Zac Elston Zac.Elston at metavante.com
Thu Aug 14 17:52:52 UTC 2008


on any package push to a new rhel5.1 host I get

This action's status is: Failed.
The client picked up this action on 2008-08-13 11:57:13 EDT.
The client completed this action on 2008-08-13 11:57:16 EDT.
Client execution returned "Fatal error in Python code occured  
[[6]]" (code -1)


time is off by 400 secs so ignore that difference

/var/log/up2date on the target says:

[Wed Aug 13 11:50:38 2008] up2date updating login info
[Wed Aug 13 11:50:38 2008] up2date logging into up2date server
[Wed Aug 13 11:50:39 2008] up2date successfully retrieved  
authentication token from up2date server
[Wed Aug 13 11:50:42 2008] up2date
Traceback (most recent call last):
   File "/usr/sbin/rhn_check", line 273, in __run_action
     (status, message, data) = CheckCli.__do_call(method, params)
   File "/usr/sbin/rhn_check", line 266, in __do_call
     retval = method(*params)
   File "/usr/share/rhn/actions/packages.py", line 217, in update
     return runTransaction(transaction_data)
   File "/usr/share/rhn/actions/packages.py", line 250, in  
runTransaction
     return _run_yum_action(command)
   File "/usr/share/rhn/actions/packages.py", line 283, in  
_run_yum_action
     yum_base.doTransaction()
   File "/usr/share/rhn/actions/packages.py", line 70, in doTransaction
     problems = self.downloadPkgs(downloadpkgs)
   File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 909,  
in downloadPkgs
     cache=po.repo.http_caching != 'none',
   File "/usr/lib/python2.4/site-packages/yum/yumRepo.py", line 652,  
in getPackage
     cache=cache
   File "/usr/lib/yum-plugins/rhnplugin.py", line 209, in _getFile
     start, end, copy_local, checkfunc, text, reget, cache)
   File "/usr/lib/yum-plugins/rhnplugin.py", line 298, in  
_noExceptionWrappingGet
     return result
exceptions.UnboundLocalError: local variable 'result' referenced  
before assignment

however i can run yum and get packages fine from the channels defined  
in spacewalk




More information about the Spacewalk-list mailing list