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>"
The proxy server sends a traceback at every connection attempt:
Exception reported from ***proxy***
Time: Fri Aug 16 14:01:56 2013
Exception type exceptions.KeyError
Exception while handling function handler
Request object information:
URI: /XMLRPC
Remote Host: ***client ip***
Server Name: ***proxy***:0
Headers passed in:
Accept-Encoding: identity
Content-Length: 2751
Host: ***proxy***
content-type: text/xml
user-agent: rhn.rpclib.py/2.5.65-1.el6
x-client-version: 1
x-info: RPC Processor (C) Red Hat, Inc (version
2.5.65-1.el6)
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 2.5.65-1.el6)
x-up2date-version: 2.0.1-1.el6
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.HTTPSConnection instance at 0x2b68914a7b48>
hdrs = <type 'instance'>
{'content-length': '2751', '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 2.5.65-1.el6)',
'x-up2date-version': '2.0.1-1.el6', 'user-agent': 'rhn.rpclib.py/2.5.65-1.el6',
'x-rhn-ip-path': '***client ip***', 'host': '***proxy***',
'x-rhn-transport-capability': 'follow-redirects=3', 'x-rhn-proxy-auth':
'1000010241::1376497145.32:21600.0:KlhbtHa0xerO/LAMZvK2qQ==:***proxy***',
'x-info': 'RPC Processor (C) Red Hat, Inc (version 2.5.65-1.el6)',
'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,pa
ckages.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'>
1000010241::1376497145.32:21600.0:KlhbtHa0xerO/LAMZvK2qQ==:***proxy***
vals = <type 'list'>
['1000010241::1376497145.32:21600.0:KlhbtHa0xerO/LAMZvK2qQ==:***proxy***']
self = <type 'instance'>
<proxy.broker.rhnBroker.BrokerHandler instance at 0x2b688ee3b7e8>
size = <type 'int'> 2751
Frame _serverCommo in /usr/share/rhn/proxy/rhnShared.py at line 214
self = <type 'instance'>
<proxy.broker.rhnBroker.BrokerHandler instance at 0x2b688ee3b7e8>
Frame handler in /usr/share/rhn/proxy/broker/rhnBroker.py at line 215
authToken = <type 'str'>
1000010241::1376497145.32:21600.0:KlhbtHa0xerO/LAMZvK2qQ==:***proxy***
client_ip = <type 'str'> ***client ip***
self = <type 'instance'>
<proxy.broker.rhnBroker.BrokerHandler instance at 0x2b688ee3b7e8>
_oto = <type 'instance'>
{'content-length': '2751', '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 2.5.65-1.el6)',
'x-up2date-version': '2.0.1-1.el6', 'user-agent': 'rhn.rpclib.py/2.5.65-1.el6',
'x-rhn-ip-path': '***client ip***', 'host': '***proxy***',
'x-rhn-transport-capability': 'follow-redirects=3', 'x-rhn-proxy-auth':
'1000010241::1376497145.32:21600.0:KlhbtHa0xerO/LAMZvK2qQ==:***proxy***',
'x-info': 'RPC Processor (C) Red Hat, Inc (version 2.5.65-1.el6)',
'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,pa
ckages.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'>
['1000010241::1376497145.32:21600.0:KlhbtHa0xerO/LAMZvK2qQ==:***proxy***']
ip_path = <type 'str'> ***client ip***
_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 0x2b688ee3b7e8>
self = <type 'instance'>
<proxy.apacheHandler.apacheHandler instance at 0x2b688e4ebc68>
req = <type 'mp_request'> <mp_request
object at 0x2b687a02e050>
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 0x2b688e45f8c0>
req = <type 'mp_request'> <mp_request
object at 0x2b687a02e050>
f = <type 'instancemethod'> <bound
method apacheHandler.handler of <proxy.apacheHandler.apacheHandler instance at
0x2b688e4ebc68>>
Frame HandlerDispatch in
/usr/lib64/python2.4/site-packages/mod_python/apache.py at line 299
req = <type 'mp_request'> <mp_request
object at 0x2b687a02e050>
config = <type 'mp_table'> {'PythonPath':
'sys.path+['/usr/share/rhn']'}
self = <type 'instance'>
<mod_python.apache.CallBack instance at 0x2b687a027bd8>
object = <type 'instance'>
<proxy.apacheServer.HandlerWrap instance at 0x2b688e45f8c0>
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=12977 on exception:
LANG = C
PATH = /sbin:/usr/sbin:/bin:/usr/bin
PWD = /
SHLVL = 2
TERM = xterm
_ = /usr/sbin/httpd
We uninstalled/installed/configured the Spacewalk proxy again without luck.
Anyone with the same error?
kind regards ...
Thomas SPEIGNER
_______________________________________________
Spacewalk-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-list