[Spacewalk-list] RHN Errata in Spacewalk

Andy Speagle andy.speagle at wichita.edu
Wed Oct 28 12:24:09 UTC 2009


On Tue, 2009-10-27 at 14:55 -0500, Nehemias Jahcob wrote:
> Hello everydoby 
> 
>  I have trayed to use the tool “ rhn-clone-errata.py 0.3" but obtain
> this error..
> "./rhn-clone-errata.py -s localhost -l nehemias -p xxxxxxxx -c
> rhel-i386-server-5 -u"

The errors that you're receiving from this script are due to the high
probability that the channels you created in your Spacewalk aren't
matching up with what are the channels I have listed in the channel
mappings within the script itself.  You'll want to update those to match
your channel names.

> Error Creating Errata!
> Traceback (most recent call last):
>   File "./rhn-clone-errata.py", line 565, in ?
>     main()
>   File "./rhn-clone-errata.py", line 557, in main
>     0)
>   File "./rhn-clone-errata.py", line 367, in errataCreate
>     new_errata =
> self.server.errata.create(self.rhnSession,info,bugs,keywords,packages,publish,channels)
>   File "/usr/lib/python2.4/xmlrpclib.py", line 1096, in __call__
>     return self.__send(self.__name, args)
>   File "/usr/lib/python2.4/xmlrpclib.py", line 1383, in __request
>     verbose=self.__verbose
>   File "/usr/lib/python2.4/xmlrpclib.py", line 1147, in request
>     return self._parse_response(h.getfile(), sock)
>   File "/usr/lib/python2.4/xmlrpclib.py", line 1286, in
> _parse_response
>     return u.close()
>   File "/usr/lib/python2.4/xmlrpclib.py", line 744, in close
>     raise Fault(**self._stack[0])
> xmlrpclib.Fault: <Fault 1201: 'redstone.xmlrpc.XmlRpcFault: Invalid
> channel label'>
> 
> But when I get there the same syntax finished in  "v" :
> "./rhn-clone-errata.py -s localhost -l nehemias -p xxxxxxx -c
> rhel-i386-server-5 -v"

The reason you're getting this far with verbosity on is that some of the
errata already exist in your system... somewhere.  Judging by the target
errata names below (with the included channel suffix "R5-32") at some
point you had the channel name right and have changed it in Spacewalk,
or you put those errata in by hand.

>  I get the following
> RHBA-2009:0452
>     Errata already exists.  RHBA-2009:0452:R5-32
> RHBA-2009:1112
>     Errata already exists.  RHBA-2009:1112:R5-32
> RHBA-2009:1120
>     Errata already exists.  RHBA-2009:1120:R5-32
> RHBA-2009:0482
>     Errata already exists.  RHBA-2009:0482:R5-32
> RHEA-2009:1121
>     Errata already exists.  RHEA-2009:1121:R5-32
> RHBA-2009:0483
>     Errata already exists.  RHBA-2009:0483:R5-32
> RHBA-2009:1079
>     Errata already exists.  RHBA-2009:1079:R5-32
> RHBA-2009:0462
> ...etc...etc..
> 
> #SPW 0.6  
> #RHEL 5.4 i386
> What is happening? 

A bit ago, I posted a slightly more current version to the list, but
I'll send it to you directly as well.  The changes shouldn't affect the
problem you're experiencing.  The main thing changed was the method of
publishing errata to reduce (resolve?) time-out issues.

> Where I get the 04 versions rhn-clone-errata.py? 

-- 
Andy Speagle

"THE Student" - UCATS
Wichita State University
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20091028/99380e45/attachment.sig>


More information about the Spacewalk-list mailing list