<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=iso-8859-1"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Verdana;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
{mso-style-priority:99;
mso-style-link:"Texte brut Car";
margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.TextebrutCar
{mso-style-name:"Texte brut Car";
mso-style-priority:99;
mso-style-link:"Texte brut";
font-family:"Calibri","sans-serif";}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=FR link="#0563C1" vlink="#954F72"><div class=WordSection1><p class=MsoNormal>Speigner Thomas <Thomas.Speigner@...> writes:<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>> <o:p></o:p></p><p class=MsoNormal>> <o:p></o:p></p><p class=MsoNormal>> <o:p></o:p></p><p class=MsoNormal>> Hi everyone,<o:p></o:p></p><p class=MsoNormal>> <o:p></o:p></p><p class=MsoNormal>> We upgraded Spacewalk to version 2.0. the master instance looks fine and everything looks fine.<o:p></o:p></p><p class=MsoNormal>> But we have problems after upgrade of the proxy instance in our datacenter.<o:p></o:p></p><p class=MsoNormal>> Now all servers behind the proxy are not able to query the master instance with error: “XMLRPC ProtocolError: <ProtocolError for ***proxy*** /XMLRPC: 500 Internal Server Error>”<o:p></o:p></p><p class=MsoNormal>> <o:p></o:p></p><p class=MsoNormal>>[snip] <o:p></o:p></p><p class=MsoNormal>> <o:p></o:p></p><p class=MsoNormal>> We uninstalled/installed/configured the Spacewalk proxy again without luck.<o:p></o:p></p><p class=MsoNormal>> Anyone with the same error?<o:p></o:p></p><p class=MsoNormal>> <o:p></o:p></p><p class=MsoNormal>> kind regards ...Thomas SPEIGNER<o:p></o:p></p><p class=MsoNormal>> <o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Hello<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I updated my platefome spacewalk in version 2.0:<o:p></o:p></p><p class=MsoNormal>the main server and the proxy.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I have the following problem on the proxy, so that everything works on the primary server:<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoPlainText>Exception reported from spwkf1p1<o:p></o:p></p><p class=MsoPlainText>Time: Tue Aug 27 13:41:52 2013<o:p></o:p></p><p class=MsoPlainText>Exception type exceptions.KeyError<o:p></o:p></p><p class=MsoPlainText>Exception while handling function handler Request object information:<o:p></o:p></p><p class=MsoPlainText>URI: /XMLRPC<o:p></o:p></p><p class=MsoPlainText>Remote Host: xxx.x2.107.27<o:p></o:p></p><p class=MsoPlainText>Server Name: spwkf1p1.aixxxx.xxx:443<o:p></o:p></p><p class=MsoPlainText>Headers passed in:<o:p></o:p></p><p class=MsoPlainText> Accept-Encoding: identity<o:p></o:p></p><p class=MsoPlainText> Content-Length: 2727<o:p></o:p></p><p class=MsoPlainText> Host: spwkf1p1.aixxxx.xxx:443<o:p></o:p></p><p class=MsoPlainText> content-type: text/xml<o:p></o:p></p><p class=MsoPlainText> user-agent: rhn.rpclib.py/$Revision$<o:p></o:p></p><p class=MsoPlainText> x-client-version: 1<o:p></o:p></p><p class=MsoPlainText> x-info: RPC Processor (C) Red Hat, Inc (version $Revision$)<o:p></o:p></p><p class=MsoPlainText> x-rhn-client-capability: packages.verify(1)=1,packages.extended_profile(2)=1,configfiles.base64_enc(1)=1,reboot.reboot(1)=1,configfiles.deploy(1)=1,caneatCheese(1)=1,packages.rollBack(1)=1,configfiles.mtime_upload(1)=1,configfiles.diff(1)=1,packages.update(2)=2,script.run(1)=1,configfiles.upload(1)=1,packages.runTransaction(1)=1,packages.verify(1)=1,packages.extended_profile(2)=1,configfiles.base64_enc(1)=1,reboot.reboot(1)=1,configfiles.deploy(1)=1,caneatCheese(1)=1,packages.rollBack(1)=1,configfiles.mtime_upload(1)=1,configfiles.diff(1)=1,packages.update(2)=2,script.run(1)=1,configfiles.upload(1)=1,packages.runTransaction(1)=1<o:p></o:p></p><p class=MsoPlainText> x-rhn-transport-capability: follow-redirects=3<o:p></o:p></p><p class=MsoPlainText> x-transport-info: Extended Capabilities Transport (C) Red Hat, Inc (version $Revision$)<o:p></o:p></p><p class=MsoPlainText> x-up2date-version: 1.7.14-1.el5<o:p></o:p></p><p class=MsoPlainText>Extra information about this error:<o:p></o:p></p><p class=MsoPlainText>Unhandled exception type<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>Exception Handler Information<o:p></o:p></p><p class=MsoPlainText>Traceback (most recent call last):<o:p></o:p></p><p class=MsoPlainText> File "/usr/share/rhn/proxy/apacheServer.py", line 62, in __call__<o:p></o:p></p><p class=MsoPlainText> ret = f(req)<o:p></o:p></p><p class=MsoPlainText> File "/usr/share/rhn/proxy/apacheHandler.py", line 355, in handler<o:p></o:p></p><p class=MsoPlainText> ret = handlerObj.handler()<o:p></o:p></p><p class=MsoPlainText> File "/usr/share/rhn/proxy/broker/rhnBroker.py", line 215, in handler<o:p></o:p></p><p class=MsoPlainText> status = self._serverCommo() # part 2<o:p></o:p></p><p class=MsoPlainText> File "/usr/share/rhn/proxy/rhnShared.py", line 201, in _serverCommo<o:p></o:p></p><p class=MsoPlainText> status, headers, bodyFd = self._proxy2server()<o:p></o:p></p><p class=MsoPlainText> File "/usr/share/rhn/proxy/rhnShared.py", line 366, in _proxy2server<o:p></o:p></p><p class=MsoPlainText> http_connection.send(self.req.headers_in['wsgi.input'])<o:p></o:p></p><p class=MsoPlainText>KeyError: 'wsgi.input'<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>Local variables by frame<o:p></o:p></p><p class=MsoPlainText>Frame _proxy2server in /usr/share/rhn/proxy/rhnShared.py at line 366<o:p></o:p></p><p class=MsoPlainText> http_connection = <type 'instance'> <rhn.connections.HTTPConnection instance at 0x2aac22794248><o:p></o:p></p><p class=MsoPlainText> hdrs = <type 'instance'> {'content-length': '2727', 'x-client-version': '1', 'accept-encoding': 'identity', 'x-rhn-proxy-version': '5.5.0', 'x-transport-info': 'Extended Capabilities Transport (C) Red Hat, Inc (version $Revision$)', 'x-up2date-version': '1.7.14-1.el5', 'user-agent': 'rhn.rpclib.py/$Revision$', 'x-rhn-ip-path': 'xxx.x2.107.27', 'host': 'spwkf1p1.aixxxx.xxx:443', 'x-rhn-transport-capability': 'follow-redirects=3', 'x-rhn-proxy-auth': '1000010002::1377594702.78:21600.0:1ti06mIfYFzXS4uChdC2Mg==:spwkf1p1.aixxxx.xxx', 'x-info': 'RPC Processor (C) Red Hat, Inc (version $Revision$)', 'content-type': 'text/xml', 'x-rhn-client-capability': 'packages.verify(1)=1,packages.extended_profile(2)=1,configfiles.base64_enc(1)=1,reboot.reboot(1)=1,configfiles.deploy(1)=1,caneatCheese(1)=1,packages.rollBack(1)=1,configfiles.mtime_upload(1)=1,configfiles.diff(1)=1,packages.update(2)=2,script.run(1)=1,configfiles.upload(1)=1,packages.runTransaction(1)=1,package<o:p></o:p></p><p class=MsoPlainText> s.verify(1)=1,packages.extended_profile(2)=1,configfiles.base64_enc(1)=1,reboot.reboot(1)=1,configfiles.deploy(1)=1,caneatCheese(1)=1,packages.rollBack(1)=1,configfiles.mtime_upload(1)=1,configfiles.diff(1)=1,packages.update(2)=2,script.run(1)=1,configfiles.upload(1)=1,packages.runTransaction(1)=1'}<o:p></o:p></p><p class=MsoPlainText> k = <type 'str'> X-RHN-Proxy-Auth<o:p></o:p></p><p class=MsoPlainText> v = <type 'str'> 1000010002::1377594702.78:21600.0:1ti06mIfYFzXS4uChdC2Mg==:spwkf1p1.aixxxx.xxx<o:p></o:p></p><p class=MsoPlainText> vals = <type 'list'> ['1000010002::1377594702.78:21600.0:1ti06mIfYFzXS4uChdC2Mg==:spwkf1p1.aixxxx.xxx']<o:p></o:p></p><p class=MsoPlainText> self = <type 'instance'> <proxy.broker.rhnBroker.BrokerHandler instance at 0x2aac1fd36dd0><o:p></o:p></p><p class=MsoPlainText> size = <type 'int'> 2727<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>Frame _serverCommo in /usr/share/rhn/proxy/rhnShared.py at line 214<o:p></o:p></p><p class=MsoPlainText> self = <type 'instance'> <proxy.broker.rhnBroker.BrokerHandler instance at 0x2aac1fd36dd0><o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>Frame handler in /usr/share/rhn/proxy/broker/rhnBroker.py at line 215<o:p></o:p></p><p class=MsoPlainText> authToken = <type 'str'> 1000010002::1377594702.78:21600.0:1ti06mIfYFzXS4uChdC2Mg==:spwkf1p1.aixxxx.xxx<o:p></o:p></p><p class=MsoPlainText> client_ip = <type 'str'> xxx.x2.107.27<o:p></o:p></p><p class=MsoPlainText> self = <type 'instance'> <proxy.broker.rhnBroker.BrokerHandler instance at 0x2aac1fd36dd0><o:p></o:p></p><p class=MsoPlainText> _oto = <type 'instance'> {'content-length': '2727', 'x-client-version': '1', 'accept-encoding': 'identity', 'x-rhn-proxy-version': '5.5.0', 'x-transport-info': 'Extended Capabilities Transport (C) Red Hat, Inc (version $Revision$)', 'x-up2date-version': '1.7.14-1.el5', 'user-agent': 'rhn.rpclib.py/$Revision$', 'x-rhn-ip-path': 'xxx.x2.107.27', 'host': 'spwkf1p1.aixxxx.xxx:443', 'x-rhn-transport-capability': 'follow-redirects=3', 'x-rhn-proxy-auth': '1000010002::1377594702.78:21600.0:1ti06mIfYFzXS4uChdC2Mg==:spwkf1p1.aixxxx.xxx', 'x-info': 'RPC Processor (C) Red Hat, Inc (version $Revision$)', 'content-type': 'text/xml', 'x-rhn-client-capability': 'packages.verify(1)=1,packages.extended_profile(2)=1,configfiles.base64_enc(1)=1,reboot.reboot(1)=1,configfiles.deploy(1)=1,caneatCheese(1)=1,packages.rollBack(1)=1,configfiles.mtime_upload(1)=1,configfiles.diff(1)=1,packages.update(2)=2,script.run(1)=1,configfiles.upload(1)=1,packages.runTransaction(1)=1,package<o:p></o:p></p><p class=MsoPlainText> s.verify(1)=1,packages.extended_profile(2)=1,configfiles.base64_enc(1)=1,reboot.reboot(1)=1,configfiles.deploy(1)=1,caneatCheese(1)=1,packages.rollBack(1)=1,configfiles.mtime_upload(1)=1,configfiles.diff(1)=1,packages.update(2)=2,script.run(1)=1,configfiles.upload(1)=1,packages.runTransaction(1)=1'}<o:p></o:p></p><p class=MsoPlainText> getResult = <type 'NoneType'> None<o:p></o:p></p><p class=MsoPlainText> tokens = <type 'list'> ['1000010002::1377594702.78:21600.0:1ti06mIfYFzXS4uChdC2Mg==:spwkf1p1.aixxxx.xxx']<o:p></o:p></p><p class=MsoPlainText> ip_path = <type 'str'> xxx.x2.107.27<o:p></o:p></p><p class=MsoPlainText> _i = <type 'int'> 0<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>Frame handler in /usr/share/rhn/proxy/apacheHandler.py at line 357<o:p></o:p></p><p class=MsoPlainText> handlerObj = <type 'instance'> <proxy.broker.rhnBroker.BrokerHandler instance at 0x2aac1fd36dd0><o:p></o:p></p><p class=MsoPlainText> self = <type 'instance'> <proxy.apacheHandler.apacheHandler instance at 0x2aac1fa68b48><o:p></o:p></p><p class=MsoPlainText> req = <type 'mp_request'> <mp_request object at 0x2aac1bbf9050><o:p></o:p></p><p class=MsoPlainText> ret = <type 'int'> 0<o:p></o:p></p><p class=MsoPlainText> rhnBroker = <type 'module'> <module 'proxy.broker.rhnBroker' from '/usr/share/rhn/proxy/broker/rhnBroker.pyc'><o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>Frame __call__ in /usr/share/rhn/proxy/apacheServer.py at line 68<o:p></o:p></p><p class=MsoPlainText> self = <type 'instance'> <proxy.apacheServer.HandlerWrap instance at 0x2aac1f9f9908><o:p></o:p></p><p class=MsoPlainText> req = <type 'mp_request'> <mp_request object at 0x2aac1bbf9050><o:p></o:p></p><p class=MsoPlainText> f = <type 'instancemethod'> <bound method apacheHandler.handler of <proxy.apacheHandler.apacheHandler instance at 0x2aac1fa68b48>><o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>Frame HandlerDispatch in /usr/lib64/python2.4/site-packages/mod_python/apache.py at line 299<o:p></o:p></p><p class=MsoPlainText> req = <type 'mp_request'> <mp_request object at 0x2aac1bbf9050><o:p></o:p></p><p class=MsoPlainText> config = <type 'mp_table'> {'PythonPath': 'sys.path+['/usr/share/rhn']'}<o:p></o:p></p><p class=MsoPlainText> self = <type 'instance'> <mod_python.apache.CallBack instance at 0x2aac1bbf1bd8><o:p></o:p></p><p class=MsoPlainText> object = <type 'instance'> <proxy.apacheServer.HandlerWrap instance at 0x2aac1f9f9908><o:p></o:p></p><p class=MsoPlainText> l = <type 'list'> ['proxy.apacheServer', 'Handler']<o:p></o:p></p><p class=MsoPlainText> module = <type 'module'> <module 'proxy.apacheServer' from '/usr/share/rhn/proxy/apacheServer.pyc'><o:p></o:p></p><p class=MsoPlainText> hlist = <type 'mp_hlist'> {'handler:'proxy.apacheServer::Handler','directory':'/XMLRPC/','silent':0}<o:p></o:p></p><p class=MsoPlainText> object_str = <type 'str'> Handler<o:p></o:p></p><p class=MsoPlainText> debug = <type 'int'> 0<o:p></o:p></p><p class=MsoPlainText> module_name = <type 'str'> proxy.apacheServer<o:p></o:p></p><p class=MsoPlainText> pathstring = <type 'str'> sys.path+['/usr/share/rhn']<o:p></o:p></p><p class=MsoPlainText> result = <type 'int'> 500<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>Environment for PID=12110 on exception:<o:p></o:p></p><p class=MsoPlainText>LANG = C<o:p></o:p></p><p class=MsoPlainText>PATH = /sbin:/usr/sbin:/bin:/usr/bin<o:p></o:p></p><p class=MsoPlainText>PWD = /<o:p></o:p></p><p class=MsoPlainText>SHLVL = 2<o:p></o:p></p><p class=MsoPlainText>TERM = xterm<o:p></o:p></p><p class=MsoPlainText>_ = /usr/sbin/httpd<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><b><span style='font-size:9.0pt;font-family:"Verdana","sans-serif";color:#7F7F7F;mso-fareast-language:FR'>--<o:p></o:p></span></b></p><p class=MsoNormal><b><span style='font-size:9.0pt;font-family:"Verdana","sans-serif";color:#7F7F7F;mso-fareast-language:FR'>Sebastien Foucou<o:p></o:p></span></b></p></div></body></html>