[Spacewalk-list] rhn-clone-errata.py running issue

fnwsa at yahoo.com fnwsa at yahoo.com
Tue Aug 14 16:49:21 UTC 2012


A new script using a different channel is running now with lots of 'The errata RHSA-xxxxx cannot be found', 'Package Missing' errors:

#python /root/rhn-clone-errata.py -s localhost -l spwusername -p spwpassword -c rhel-x86_64-server-5 --publish --verbose


It appears that the rhel-i386-server-5 channel has something wrong on the RHN side?? If the rhel-x86_64-server-5 channel runs well, it means my rhn-clone-errata.py is ok.


nz



________________________________
 From: "Boyd, Robert" <Robert.Boyd at peoplefluent.com>
To: "fnwsa at yahoo.com" <fnwsa at yahoo.com>; "spacewalk-list at redhat.com" <spacewalk-list at redhat.com> 
Sent: Tuesday, August 14, 2012 11:58:43 AM
Subject: RE: [Spacewalk-list] rhn-clone-errata.py running issue
 

I was getting 503 errors for about 30-60 minutes today as well running Paul Robert Marino’s eva-errata-sync code.   I think Red Hat was having issues with their Errata service.
 
Robert
 
From:spacewalk-list-bounces at redhat.com [mailto:spacewalk-list-bounces at redhat.com] On Behalf Of fnwsa at yahoo.com
Sent: Tuesday, August 14, 2012 11:21 AM
To: fnwsa at yahoo.com; spacewalk-list at redhat.com
Subject: Re: [Spacewalk-list] rhn-clone-errata.py running issue
 
When I changed the -c option, I got:
 
# python /root/rhn-clone-errata.py -s localhost -l swusername -p swpassword -c rhel-i386-server-5 --publish --verbose -v
RHBA-2012:1016
Fault Code: -208        Fault String: redstone.xmlrpc.XmlRpcFault: The errata RHBA-2012:1016:R5-32 cannot be found.
Errata RHBA-2012:1016:R5-32 Doesn't Exist on localhost ...
ProtocolError: 503 - Service Temporarily Unavailable
        6/20/12 - e2fsprogs bug fix update
        Errata Created: 1
Fault Code: 1201 - redstone.xmlrpc.XmlRpcFault: Invalid channel label
Error Creating Errata!
^C
Traceback (most recent call last):
  File "/root/rhn-clone-errata.py", line 643, in <module>
    main()
  File "/root/rhn-clone-errata.py", line 633, in main
    spwPublish = mySPW.errataPublish (spwErrataName, [chanMap[options.src_channel]], 0)
  File "/root/rhn-clone-errata.py", line 375, in errataPublish
    errata = self.server.errata.publish(self.rhnSession,name,channels)
  File "/usr/lib64/python2.6/xmlrpclib.py", line 1199, in __call__
    return self.__send(self.__name, args)
  File "/usr/lib64/python2.6/xmlrpclib.py", line 1489, in __request
    verbose=self.__verbose
  File "/usr/lib64/python2.6/xmlrpclib.py", line 1253, in request
    return self._parse_response(h.getfile(), sock)
  File "/usr/lib64/python2.6/xmlrpclib.py", line 1392, in _parse_response
    return u.close()
  File "/usr/lib64/python2.6/xmlrpclib.py", line 838, in close
    raise Fault(**self._stack[0])
xmlrpclib.Fault: <Fault 1201: 'redstone.xmlrpc.XmlRpcFault: Invalid channel label'>
nz
 

________________________________

From:"fnwsa at yahoo.com" <fnwsa at yahoo.com>
To: "spacewalk-list at redhat.com" <spacewalk-list at redhat.com> 
Sent: Tuesday, August 14, 2012 10:52:41 AM
Subject: [Spacewalk-list] rhn-clone-errata.py running issue
 
Hi, I am working on rhn-clone-errata.py now. I've made the following changes to it:
userRHN = 'myRHNusername'
passRHN = 'myRHNpassword'
'rhel-i386-server-5':   'spacewalk_channel_rhel_5_i386',
 
# python /root/rhn-clone-errata.py -s localhost -l swusername -p swpassword -c spacewalk_channel_rhel_5_i386 --publish --verbose
^C (Control+c)
Traceback (most recent call last):
  File "/root/rhn-clone-errata.py", line 643, in <module>
    main()
  File "/root/rhn-clone-errata.py", line 559, in main
    if chanMap[options.src_channel] is None:
KeyError: 'spacewalk_channel_rhel_5_i386'

# python /root/rhn-clone-errata.py -s localhost -l swusername -p swpassword --publish --verbose
^C (Control+c)
Traceback (most recent call last):
  File "/root/rhn-clone-errata.py", line 643, in <module>
    main()
  File "/root/rhn-clone-errata.py", line 559, in main
    if chanMap[options.src_channel] is None:
KeyError: None
 
Why did it not show any output and I have to use "Control+c" to stop the process? What else do I need to modified in rhn-clone-errata.py? 
 
Thank you in advance!
 
nz

_______________________________________________
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/20120814/517094d5/attachment.htm>


More information about the Spacewalk-list mailing list