[Spacewalk-list] rhn-clone-errata.py and proxy authenticaition

Walid walid.shaari at gmail.com
Thu Aug 11 15:24:35 UTC 2011


Dear Andy,

I was using 0.6 not 0.4 on spacewalk 1.4. now it works, however it never
completes successfully, i tried not to publish first and also this does not
finish without any errors, last try to publish i got the following errors

 /repo/rhn-clone-errata-0.8.4.py -f /etc/rhn-clone.cfg
--src-channel='rhel-x86_64-server-5' -x "user:pass at proxy.company.com.sa:8090"
--no-spw-proxy -i



Hmmm... Package Missing: libX11
Hmmm... Package Missing: libX11-devel
Hmmm... Package Missing: libX11
Hmmm... Package Missing: libX11-devel
In here
In here
In here
        5/21/08 - libX11 bug fix update
        Errata Created: 1578
Error Creating Errata!
Traceback (most recent call last):
  File "/repo/rhn-clone-errata-0.8.4.py", line 715, in ?
    main()
  File "/repo/rhn-clone-errata-0.8.4.py", line 697, in main
    spwPublish = mySPW.errataPublish (spwErrataName,
[chanMap[options.src_channel]], 0)
  File "/repo/rhn-clone-errata-0.8.4.py", line 447, in errataPublish
    errata = self.server.errata.publish(self.rhnSession,name,channels)
  File "/usr/lib64/python2.4/xmlrpclib.py", line 1096, in __call__
    return self.__send(self.__name, args)
  File "/usr/lib64/python2.4/xmlrpclib.py", line 1383, in __request
    verbose=self.__verbose
  File "/usr/lib64/python2.4/xmlrpclib.py", line 1147, in request
    return self._parse_response(h.getfile(), sock)
  File "/usr/lib64/python2.4/xmlrpclib.py", line 1286, in _parse_response
    return u.close()
  File "/usr/lib64/python2.4/xmlrpclib.py", line 744, in close
    raise Fault(**self._stack[0])
xmlrpclib.Fault: <Fault 1201: 'redstone.xmlrpc.XmlRpcFault: Invalid channel
label'>


kind regards

Walid



On 10 August 2011 20:22, Speagle, Andy <andy.speagle at wichita.edu> wrote:

> > I am using 0.4 version of the script "/repo/rhn-clone-errata.py" and
> still not lucky yet in getting any
> > erratas.
>
> Hi Walid,
>
> Version 0.4 is a bit old.  Proxy support code was added in v0.5 ... I have
> attached v0.8.4 which includes support for multiple proxy methods.  I
> haven't had a lot of opportunity to have it tested in the wild, so please
> let me know your mileage and I'll clean things up as necessary.  Also, lots
> of things have changed since 0.4, so be sure to read the internal help
> within the script to give you a clue how things work.
>
> Good luck.
>
> Andy Speagle
> System & Storage Administrator
> UCATS - Wichita State University
>
> P: 316.978.3869
> C: 316.617.2431
>
>
>
>
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list at redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20110811/20a13194/attachment.htm>


More information about the Spacewalk-list mailing list