Speigner Thomas <Thomas.Speigner@...> writes:
>
>
>
> Hi everyone,
>
> We upgraded Spacewalk to version 2.0. the master instance looks fine and
> everything looks fine.
> But we have problems after upgrade of the proxy instance in our datacenter.
> 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>"
>
>[snip]
>
> We uninstalled/installed/configured the Spacewalk proxy again without luck.
> Anyone with the same error?
>
> kind regards ...Thomas SPEIGNER
>
Hello
I updated my platefome spacewalk in version 2.0:
the main server and the proxy.
I have the following problem on the proxy, so that everything works on the
primary server:
Exception reported from spwkf1p1
Time: Tue Aug 27 13:41:52 2013
Exception type exceptions.KeyError
Exception while handling function handler Request object information:
URI: /XMLRPC
Remote Host: xxx.x2.107.27
Server Name: spwkf1p1.aixxxx.xxx:443
Headers passed in:
Accept-Encoding: identity
Content-Length: 2727
Host: spwkf1p1.aixxxx.xxx:443
content-type: text/xml
user-agent: rhn.rpclib.py/$Revision$
x-client-version: 1
x-info: RPC Processor (C) Red Hat, Inc (version $Revision$)
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
x-rhn-transport-capability: follow-redirects=3
x-transport-info: Extended Capabilities Transport (C) Red Hat,
Inc (version $Revision$)
x-up2date-version: 1.7.14-1.el5
Extra information about this error:
Unhandled exception type
Exception Handler Information
Traceback (most recent call last):
File "/usr/share/rhn/proxy/apacheServer.py", line 62, in __call__
ret = f(req)
File "/usr/share/rhn/proxy/apacheHandler.py", line 355, in handler
ret = handlerObj.handler()
File "/usr/share/rhn/proxy/broker/rhnBroker.py", line 215, in handler
status = self._serverCommo() # part 2
File "/usr/share/rhn/proxy/rhnShared.py", line 201, in _serverCommo
status, headers, bodyFd = self._proxy2server()
File "/usr/share/rhn/proxy/rhnShared.py", line 366, in _proxy2server
http_connection.send(self.req.headers_in['wsgi.input'])
KeyError: 'wsgi.input'
Local variables by frame
Frame _proxy2server in /usr/share/rhn/proxy/rhnShared.py at line 366
http_connection = <type 'instance'>
<rhn.connections.HTTPConnection instance at 0x2aac22794248>
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
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'}
k = <type 'str'> X-RHN-Proxy-Auth
v = <type 'str'>
1000010002::1377594702.78:21600.0:1ti06mIfYFzXS4uChdC2Mg==:spwkf1p1.aixxxx.xxx
vals = <type 'list'>
['1000010002::1377594702.78:21600.0:1ti06mIfYFzXS4uChdC2Mg==:spwkf1p1.aixxxx.xxx']
self = <type 'instance'>
<proxy.broker.rhnBroker.BrokerHandler instance at 0x2aac1fd36dd0>
size = <type 'int'> 2727
Frame _serverCommo in /usr/share/rhn/proxy/rhnShared.py at line 214
self = <type 'instance'>
<proxy.broker.rhnBroker.BrokerHandler instance at 0x2aac1fd36dd0>
Frame handler in /usr/share/rhn/proxy/broker/rhnBroker.py at line 215
authToken = <type 'str'>
1000010002::1377594702.78:21600.0:1ti06mIfYFzXS4uChdC2Mg==:spwkf1p1.aixxxx.xxx
client_ip = <type 'str'> xxx.x2.107.27
self = <type 'instance'>
<proxy.broker.rhnBroker.BrokerHandler instance at 0x2aac1fd36dd0>
_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
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'}
getResult = <type 'NoneType'> None
tokens = <type 'list'>
['1000010002::1377594702.78:21600.0:1ti06mIfYFzXS4uChdC2Mg==:spwkf1p1.aixxxx.xxx']
ip_path = <type 'str'> xxx.x2.107.27
_i = <type 'int'> 0
Frame handler in /usr/share/rhn/proxy/apacheHandler.py at line 357
handlerObj = <type 'instance'>
<proxy.broker.rhnBroker.BrokerHandler instance at 0x2aac1fd36dd0>
self = <type 'instance'>
<proxy.apacheHandler.apacheHandler instance at 0x2aac1fa68b48>
req = <type 'mp_request'> <mp_request object
at 0x2aac1bbf9050>
ret = <type 'int'> 0
rhnBroker = <type 'module'> <module
'proxy.broker.rhnBroker' from '/usr/share/rhn/proxy/broker/rhnBroker.pyc'>
Frame __call__ in /usr/share/rhn/proxy/apacheServer.py at line 68
self = <type 'instance'>
<proxy.apacheServer.HandlerWrap instance at 0x2aac1f9f9908>
req = <type 'mp_request'> <mp_request object
at 0x2aac1bbf9050>
f = <type 'instancemethod'> <bound method
apacheHandler.handler of <proxy.apacheHandler.apacheHandler instance at
0x2aac1fa68b48>>
Frame HandlerDispatch in
/usr/lib64/python2.4/site-packages/mod_python/apache.py at line 299
req = <type 'mp_request'> <mp_request object
at 0x2aac1bbf9050>
config = <type 'mp_table'> {'PythonPath':
'sys.path+['/usr/share/rhn']'}
self = <type 'instance'>
<mod_python.apache.CallBack instance at 0x2aac1bbf1bd8>
object = <type 'instance'>
<proxy.apacheServer.HandlerWrap instance at 0x2aac1f9f9908>
l = <type 'list'> ['proxy.apacheServer',
'Handler']
module = <type 'module'> <module
'proxy.apacheServer' from '/usr/share/rhn/proxy/apacheServer.pyc'>
hlist = <type 'mp_hlist'>
{'handler:'proxy.apacheServer::Handler','directory':'/XMLRPC/','silent':0}
object_str = <type 'str'> Handler
debug = <type 'int'> 0
module_name = <type 'str'> proxy.apacheServer
pathstring = <type 'str'> sys.path+['/usr/share/rhn']
result = <type 'int'> 500
Environment for PID=12110 on exception:
LANG = C
PATH = /sbin:/usr/sbin:/bin:/usr/bin
PWD = /
SHLVL = 2
TERM = xterm
_ = /usr/sbin/httpd
--
Sebastien Foucou
_______________________________________________
Spacewalk-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-list