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

Coe, Colin C. (Unix Engineer) Colin.Coe at woodside.com.au
Thu Aug 14 23:40:07 UTC 2008


Interesting.  This is the exact error I get when kickstarting EL4
systems with package profiles under Sat v5.1.  Except I don't get any
useful info in /var/log/up2date.

CC

> -----Original Message-----
> From: spacewalk-list-bounces at redhat.com 
> [mailto:spacewalk-list-bounces at redhat.com] On Behalf Of Zac Elston
> Sent: Friday, 15 August 2008 1:53 AM
> To: spacewalk-list at redhat.com
> Subject: [Spacewalk-list] rhel5.1 failing on push but yum pulls fine
> 
> 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
> 
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list at redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list
> 

NOTICE: This email and any attachments are confidential. 
They may contain legally privileged information or 
copyright material. You must not read, copy, use or 
disclose them without authorisation. If you are not an 
intended recipient, please contact us at once by return 
email and then delete both messages and all attachments.





More information about the Spacewalk-list mailing list