Ok... interesting. I've not seen this one before. Looks like it's choking on an errata for cyrus-imapd .... Looks like it doesn't like something about the packages... can you validate the packages that are for this erratum? This is how they look on my system.
RHEL 6 Server - x86_64 sha256:a8cdad38dbd602afe8080007c795cb3a9354c9d374232324ac357aac05fc2c09 cyrus-imapd-2.3.16-6.el6_1.4-x86_64 <https://spacewalk.wichita.edu/rhn/software/packages/Details.do?pid=102444> sha256:2aedf526aa9811017aa24d05d01b9335fdc901efa31d168bbf2a62b0783a0343 cyrus-imapd-utils-2.3.16-6.el6_1.4-x86_64 <https://spacewalk.wichita.edu/rhn/software/packages/Details.do?pid=102446> Do the packages exist on the system at all? Feel free to include any tomcat errors that you feel are relevant. Andy From: [email protected] [mailto:[email protected]] On Behalf Of Frank Mikkelsen Blohmé Sent: Tuesday, January 31, 2012 7:40 AM To: [email protected] Subject: [Spacewalk-list] rhn-clone-errata.py fails on same RHN errata When running rhn-clone-errata to feed errata into Spacewalk, the script dies with error on the same errata over and over again. Using RHN channel rhel-x86_64-server-6 as source channel the erratas get loaded into Spacewalk until it reaches the errata RHSA-2011:1508, where it fails with following error: Error Creating Errata! Traceback (most recent call last): File "/usr/local/bin/rhn-clone-errata.py-0.9.0", line 807, in <module> main() File "/usr/local/bin/rhn-clone-errata.py-0.9.0", line 781, in main 0) File "/usr/local/bin/rhn-clone-errata.py-0.9.0", line 506, in errataCreate new_errata = self.server.errata.create(self.rhnSession,info,bugs,keywords,packages,publish,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 2300: 'redstone.xmlrpc.XmlRpcFault: Invalid package: 9477'> ------------------------------- Using RHN channel rhel-i386-server-6 as source channel the erratas get loaded into Spacewalk until it reaches the errata RHSA-2011:1508, where it fails with following error: Error Creating Errata! Traceback (most recent call last): File "/usr/local/bin/rhn-clone-errata.py-0.9.0", line 807, in <module> main() File "/usr/local/bin/rhn-clone-errata.py-0.9.0", line 781, in main 0) File "/usr/local/bin/rhn-clone-errata.py-0.9.0", line 506, in errataCreate new_errata = self.server.errata.create(self.rhnSession,info,bugs,keywords,packages,publish,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 2300: 'redstone.xmlrpc.XmlRpcFault: Invalid package: 9476'> Lot's of errors/warnings get written in the tomcat log, even regarding erratas that get synced without any errors from the rhn-clone-errata.py script. I have near to none knowledge/experience at reading/writing python scripting and this seems to go deep into the xmlrpclib python library (just a guess). So please help me out with this problem. Setup: - Spacewalk 1.5 - Database system: Oracle XE 11g release 2 - Operating system: Red Hat Enterprise Linux Workstation 6.1 64-bit - rhn-clone-errata.py: v. 0.9.0 Command: rhn-clone-errata --publish --proxy=<hostname:port> --config-file=<pathTo>/rhn-clone-errata.cfg --src-channel=rhel-x86_64-server-6 -no-spw-proxy Contents of rhn-clone-errata.cfg: [Spacewalk] spw_server = localhost spw_user = <spacewalk-username> spw_pass = <spacewalk-password> [RHN] rhn_server = xmlrpc.rhn.redhat.com rhn_user = <RHN user> rhn_pass = <RHN password> [ChanMap] rhel-x86_64-server-6 = rhel-x86_64-server-6 rhel-i386-server-6 = rhel-i386-server-6 [ChanSuffixMap] rhel-x86_64-server-6 = R6-64 rhel-i386-server-6 = R6-32
_______________________________________________ Spacewalk-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/spacewalk-list
