<p dir="ltr">Hello,<br>
Does this bug affects only proxy running rhel/centos 5 or also master server under rhel/centos 5?<br>
Thanks,</p>
<p dir="ltr">Pierre</p>
<div class="gmail_quote">Le 29 août 2013 10:40, "Michael Mraka" <<a href="mailto:michael.mraka@redhat.com">michael.mraka@redhat.com</a>> a écrit :<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
sebastien foucou wrote:<br>
% Speigner Thomas <Thomas.Speigner@...> writes:<br>
%<br>
% ><br>
% ><br>
% ><br>
% > Hi everyone,<br>
% >  <br>
% > We upgraded Spacewalk to version 2.0. the master instance looks fine and<br>
% everything looks fine.<br>
% > But we have problems after upgrade of the proxy instance in our<br>
% datacenter.<br>
% > Now all servers behind the proxy are not able to query the master instance<br>
% with error: “XMLRPC ProtocolError: <ProtocolError for ***proxy*** /XMLRPC:<br>
% 500 Internal Server Error>”<br>
% >  <br>
% >[snip]  <br>
% >  <br>
% > We uninstalled/installed/configured the Spacewalk proxy again without<br>
% luck.<br>
% > Anyone with the same error?<br>
% >  <br>
% > kind regards ...Thomas SPEIGNER<br>
% ><br>
%<br>
% Hello<br>
%<br>
% I updated my platefome spacewalk in version 2.0:<br>
% the main server and the proxy.<br>
%<br>
% I have the following problem on the proxy, so that everything works on the<br>
% primary server:<br>
%<br>
% in /var/log/httpd/error_log<br>
%<br>
% Exception reported from spwkf1p1<br>
% Time: Tue Aug 27 15:28:17 2013<br>
% Exception type exceptions.KeyError<br>
% Exception while handling function handler<br>
% Request object information:<br>
% URI: /XMLRPC<br>
% Remote Host: 172.xxx.xxx.xxx<br>
% Server Name: spwkf1p1:443<br>
% Headers passed in:<br>
%         Accept-Encoding: identity<br>
%         Content-Length: 2718<br>
%         Host: spwkf1p1:443<br>
%         content-type: text/xml<br>
%         user-agent: <a href="http://rhn.rpclib.py/$Revision$" target="_blank">rhn.rpclib.py/$Revision$</a><br>
%         x-client-version: 1<br>
%         x-info: RPC Processor (C) Red Hat, Inc (version $Revision$)<br>
%         x-rhn-client-capability:<br>
% packages.verify(1)=1,packages.extended_profile(2)=1,configfiles.base64_enc(1<br>
% )=1,reboot.reboot(1)=1,configfiles.deploy(1)=1,caneatCheese(1)=1,<a href="http://packages.ro" target="_blank">packages.ro</a><br>
% llBack(1)=1,configfiles.mtime_upload(1)=1,configfiles.diff(1)=1,packages.upd<br>
% ate(2)=2,script.run(1)=1,configfiles.upload(1)=1,packages.runTransaction(1)=<br>
% 1,packages.verify(1)=1,packages.extended_profile(2)=1,configfiles.base64_enc<br>
% (1)=1,reboot.reboot(1)=1,configfiles.deploy(1)=1,caneatCheese(1)=1,packages.<br>
% rollBack(1)=1,configfiles.mtime_upload(1)=1,configfiles.diff(1)=1,packages.u<br>
% pdate(2)=2,script.run(1)=1,configfiles.upload(1)=1,packages.runTransaction(1<br>
% )=1<br>
%         x-rhn-transport-capability: follow-redirects=3<br>
%         x-transport-info: Extended Capabilities Transport (C) Red Hat, Inc<br>
% (version $Revision$)<br>
%         x-up2date-version: 1.7.14-1.el5<br>
% Extra information about this error:<br>
% Unhandled exception type<br>
%<br>
% Exception Handler Information<br>
% Traceback (most recent call last):<br>
%   File "/usr/share/rhn/proxy/apacheServer.py", line 62, in __call__<br>
%     ret = f(req)<br>
%   File "/usr/share/rhn/proxy/apacheHandler.py", line 355, in handler<br>
%     ret = handlerObj.handler()<br>
%   File "/usr/share/rhn/proxy/broker/rhnBroker.py", line 215, in handler<br>
%     status = self._serverCommo()       # part 2<br>
%   File "/usr/share/rhn/proxy/rhnShared.py", line 201, in _serverCommo<br>
%     status, headers, bodyFd = self._proxy2server()<br>
%   File "/usr/share/rhn/proxy/rhnShared.py", line 366, in _proxy2server<br>
%     http_connection.send(self.req.headers_in['wsgi.input'])<br>
% KeyError: 'wsgi.input'<br>
%<br>
% Exception reported from spwkf1p1<br>
% Time: Tue Aug 27 15:36:20 2013<br>
%<br>
% My server is "CentOS release 5.9 (Final)"<br>
%<br>
<br>
Hello Tomas and Sebastien,<br>
<br>
this is definitely a bug (caused by commit 62bfef31c610c85c2e2adb06781b17c21cdf7dff).<br>
The issue is we still use mod_python not mod_wsgi on proxy/EL5.<br>
<br>
You can watch the progress in <a href="https://bugzilla.redhat.com/show_bug.cgi?id=1002007" target="_blank">https://bugzilla.redhat.com/show_bug.cgi?id=1002007</a><br>
<br>
Thanks for reporting,<br>
Regards<br>
<br>
--<br>
Michael Mráka<br>
Satellite Engineering, Red Hat<br>
<br>
_______________________________________________<br>
Spacewalk-list mailing list<br>
<a href="mailto:Spacewalk-list@redhat.com">Spacewalk-list@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/spacewalk-list" target="_blank">https://www.redhat.com/mailman/listinfo/spacewalk-list</a></blockquote></div>