<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hey<br>
<br>
When I try to sync a client's abrt data (spacewalk-abrt --sync), or
when a client tries to upload new data, it always errors out. The
entry gets created in spacewalk and I can see it in the
webinterface, but the crash dump/data itself isn't getting sent.<br>
<br>
<u>Client side error (/var/log/up2date):</u><br>
[Tue Apr 9 10:06:03 2013] up2date A protocol error occurred:
Internal Server Error , attempt #1,<br>
[Tue Apr 9 10:06:03 2013] up2date<br>
Traceback (most recent call last):<br>
File "/usr/bin/spacewalk-abrt", line 86, in <module><br>
cli.run()<br>
File "/usr/share/rhn/up2date_client/rhncli.py", line 96, in run<br>
sys.exit(self.main() or 0)<br>
File "/usr/bin/spacewalk-abrt", line 79, in main<br>
return (spacewalk_abrt.abrt.sync())<br>
File "/usr/share/rhn/spacewalk_abrt/abrt.py", line 147, in sync<br>
report(problem_dir)<br>
File "/usr/share/rhn/spacewalk_abrt/abrt.py", line 107, in report<br>
server.abrt.upload_crash_file(systemid, basename,
crash_file_data)<br>
File "/usr/share/rhn/up2date_client/rhnserver.py", line 63, in
__call__<br>
return rpcServer.doCall(method, *args, **kwargs)<br>
File "/usr/share/rhn/up2date_client/rpcServer.py", line 203, in
doCall<br>
ret = method(*args, **kwargs)<br>
File "/usr/lib64/python2.6/xmlrpclib.py", line 1199, in __call__<br>
return self.__send(self.__name, args)<br>
File "/usr/share/rhn/up2date_client/rpcServer.py", line 38, in
_request1<br>
ret = self._request(methodname, params)<br>
File "/usr/lib/python2.6/site-packages/rhn/rpclib.py", line 381,
in _request<br>
self._handler, request, verbose=self._verbose)<br>
File "/usr/lib/python2.6/site-packages/rhn/transports.py", line
167, in request<br>
headers, fd = req.send_http(host, handler)<br>
File "/usr/lib/python2.6/site-packages/rhn/transports.py", line
707, in send_http<br>
response.status, response.reason, response.msg)<br>
<class 'up2date_client.up2dateErrors.CommunicationError'>:
Error communicating with server. The message was:<br>
Internal Server Error<br>
<br>
<u>Server side error (/var/log/httpd/ssl_error_log</u><u>):</u><br>
[Tue Apr 09 10:18:08 2013] [error] [client ip-address-here] mod_wsgi
(pid=10434): Exception occurred processing WSGI script
'/usr/share/rhn/wsgi/xmlrpc.py'.<br>
[Tue Apr 09 10:18:08 2013] [error] [client ip-address-here]
Traceback (most recent call last):<br>
[Tue Apr 09 10:18:08 2013] [error] [client ip-address-here] File
"/usr/share/rhn/wsgi/xmlrpc.py", line 22, in application<br>
[Tue Apr 09 10:18:08 2013] [error] [client ip-address-here]
return wsgiHandler.handle(environ, start_response, "xmlrpc",
"server.xmlrpc")<br>
[Tue Apr 09 10:18:08 2013] [error] [client ip-address-here] File
"/usr/share/rhn/wsgi/wsgiHandler.py", line 45, in handle<br>
[Tue Apr 09 10:18:08 2013] [error] [client ip-address-here] ret
= appServ(req)<br>
[Tue Apr 09 10:18:08 2013] [error] [client ip-address-here] File
"/usr/lib/python2.6/site-packages/spacewalk/server/apacheHandler.py",
line 196, in handler<br>
[Tue Apr 09 10:18:08 2013] [error] [client ip-address-here] ret
= self._req_processor.process()<br>
[Tue Apr 09 10:18:08 2013] [error] [client ip-address-here] File
"/usr/lib/python2.6/site-packages/spacewalk/server/apacheRequest.py",
line 476, in process<br>
[Tue Apr 09 10:18:08 2013] [error] [client ip-address-here]
return self.call_function(method, params)<br>
[Tue Apr 09 10:18:08 2013] [error] [client ip-address-here] File
"/usr/lib/python2.6/site-packages/spacewalk/server/apacheRequest.py",
line 174, in call_function<br>
[Tue Apr 09 10:18:08 2013] [error] [client ip-address-here]
Traceback(method, self.req, severity="unhandled")<br>
[Tue Apr 09 10:18:08 2013] [error] [client ip-address-here] File
"/usr/lib/python2.6/site-packages/spacewalk/common/rhnTB.py", line
180, in Traceback<br>
[Tue Apr 09 10:18:08 2013] [error] [client ip-address-here]
rhnMail.send(headers, outstring)<br>
[Tue Apr 09 10:18:08 2013] [error] [client ip-address-here] File
"/usr/lib/python2.6/site-packages/spacewalk/common/rhnMail.py", line
54, in send<br>
[Tue Apr 09 10:18:08 2013] [error] [client ip-address-here]
server = smtplib.SMTP('localhost')<br>
[Tue Apr 09 10:18:08 2013] [error] [client ip-address-here] File
"/usr/lib64/python2.6/smtplib.py", line 239, in __init__<br>
[Tue Apr 09 10:18:08 2013] [error] [client ip-address-here]
(code, msg) = self.connect(host, port)<br>
[Tue Apr 09 10:18:08 2013] [error] [client ip-address-here] File
"/usr/lib64/python2.6/smtplib.py", line 295, in connect<br>
[Tue Apr 09 10:18:08 2013] [error] [client ip-address-here]
self.sock = self._get_socket(host, port, self.timeout)<br>
[Tue Apr 09 10:18:08 2013] [error] [client ip-address-here] File
"/usr/lib64/python2.6/smtplib.py", line 273, in _get_socket<br>
[Tue Apr 09 10:18:08 2013] [error] [client ip-address-here]
return socket.create_connection((port, host), timeout)<br>
[Tue Apr 09 10:18:08 2013] [error] [client ip-address-here] File
"/usr/lib64/python2.6/socket.py", line 567, in create_connection<br>
[Tue Apr 09 10:18:08 2013] [error] [client ip-address-here]
raise error, msg<br>
[Tue Apr 09 10:18:08 2013] [error] [client ip-address-here] error:
[Errno 101] Network is unreachable<br>
<br>
Now given the error messages I'm inclined to think it's a
network/firewall issue, though I'm not sure about the way the data
gets sent. Spacewalk server is 1.9 on CentOS 6.4 fully updated, in
DMZ and is reachable on ports 80/443 from the outside. Clients are
RHEL 6.3 with spacewalk client version 1.9 packages. All other
spacewalk communication we use (repo's, config management,
scheduling scripts/updates, ...) works like it's supposed to.<br>
<br>
When I check the connections being made from the client I only see
connections on 443 so I'm not sure what else I need to open up or
change to get it to work. Anyone have any pointers?<br>
<br>
Thanks,<br>
Jeremy<br>
<p>**** DISCLAIMER ****<br><a href="http://www.schaubroeck.be/maildisclaimer.htm">http://www.schaubroeck.be/maildisclaimer.htm</a></p>
</body>
</html>