Skip to content

Instantly share code, notes, and snippets.

@nickwales
Created June 16, 2013 23:04
Show Gist options
  • Save nickwales/5793781 to your computer and use it in GitHub Desktop.
Save nickwales/5793781 to your computer and use it in GitHub Desktop.
Spacewalk Traceback Exception
Exception reported from spacewalk.master.com
Time: Sun Jun 16 23:00:20 2013
Exception type <class 'spacewalk.server.apacheRequest.UnknownXML'>
Exception while handling function get_server_capability
Request object information:
URI: /XMLRPC
Remote Host: spacewalk.slave.com
Server Name: spacewalk.master.com:443
Headers passed in:
Accept-Encoding: identity, identity
CONTENT_LENGTH: 115
CONTENT_TYPE: text/xml
DOCUMENT_ROOT: /var/www/html
GATEWAY_INTERFACE: CGI/1.1
HTTPS: 1
HTTP_ACCEPT_ENCODING: identity, identity
HTTP_HOST: spacewalk.master.com
HTTP_USER_AGENT: rhn.rpclib.py/2.5.55-1.el6
HTTP_X_CLIENT_VERSION: 1
HTTP_X_INFO: RPC Processor (C) Red Hat, Inc (version 2.5.55-1.el6)
HTTP_X_RHN_IP_PATH: 10.28.127.133
HTTP_X_RHN_PROXY_AUTH: 1000010005::1371434371.31:21600.0:Oqnbjrrpu/UY5je0yz1J3Q==:spacewalk.slave.com
HTTP_X_RHN_PROXY_VERSION: 5.5.0
HTTP_X_RHN_TRANSPORT_CAPABILITY: follow-redirects=3
HTTP_X_TRANSPORT_INFO: Extended Capabilities Transport (C) Red Hat, Inc (version 2.5.55-1.el6)
Host: spacewalk.master.com
PATH_INFO:
QUERY_STRING:
REMOTE_ADDR: 10.28.114.242
REMOTE_PORT: 47681
REQUEST_METHOD: POST
REQUEST_URI: /XMLRPC
SCRIPT_FILENAME: /usr/share/rhn/wsgi/xmlrpc.py
SCRIPT_NAME: /XMLRPC
SCRIPT_URI: https://spacewalk.master.com/XMLRPC
SCRIPT_URL: /XMLRPC
SERVER_ADDR: 172.28.4.128
SERVER_ADMIN: root@localhost
SERVER_NAME: spacewalk.master.com
SERVER_PORT: 443
SERVER_PROTOCOL: HTTP/1.1
SERVER_SIGNATURE: <address>Apache Server at spacewalk.master.com Port 443</address>
SERVER_SOFTWARE: Apache
User-Agent: rhn.rpclib.py/2.5.55-1.el6
X-Client-Version: 1
X-Info: RPC Processor (C) Red Hat, Inc (version 2.5.55-1.el6)
X-RHN-Ip-Path: 10.28.127.133
X-RHN-Proxy-Auth: 1000010005::1371434371.31:21600.0:Oqnbjrrpu/UY5je0yz1J3Q==:spacewalk.slave.com
X-RHN-Proxy-Version: 5.5.0
X-RHN-Transport-Capability: follow-redirects=3
X-Transport-Info: Extended Capabilities Transport (C) Red Hat, Inc (version 2.5.55-1.el6)
mod_ssl.is_https: <built-in method ssl_is_https of mod_wsgi.Adapter object at 0x7feb8be44468>
mod_ssl.var_lookup: <built-in method ssl_var_lookup of mod_wsgi.Adapter object at 0x7feb8be44468>
mod_wsgi.application_group: spacewalk.master.com|/xmlrpc
mod_wsgi.callable_object: application
mod_wsgi.handler_script:
mod_wsgi.input_chunked: 0
mod_wsgi.listener_host:
mod_wsgi.listener_port: 443
mod_wsgi.process_group:
mod_wsgi.request_handler: wsgi-script
mod_wsgi.script_reloading: 1
mod_wsgi.version: (3, 2)
wsgi.errors: <mod_wsgi.Log object at 0x7feb8bbf1fb0>
wsgi.file_wrapper: <built-in method file_wrapper of mod_wsgi.Adapter object at 0x7feb8be44468>
wsgi.input: <mod_wsgi.Input object at 0x7feba5ef22b0>
wsgi.multiprocess: True
wsgi.multithread: False
wsgi.run_once: False
wsgi.url_scheme: https
wsgi.version: (1, 1)
Extra information about this error:
Response sent back to the caller:
While running 'get_server_capability': caught
<class 'spacewalk.server.apacheRequest.UnknownXML'> : Invalid request received (method 'get_server_capability' doesn't have a class and function).
Exception Handler Information
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/spacewalk/server/apacheRequest.py", line 120, in call_function
func = self.method_ref(method)
File "/usr/lib/python2.6/site-packages/spacewalk/server/apacheRequest.py", line 422, in method_ref
classname, funcname = string.split(method, '.', 1)
UnknownXML: Invalid request received (method 'get_server_capability' doesn't have a class and function).
Local variables by frame
Frame method_ref in /usr/lib/python2.6/site-packages/spacewalk/server/apacheRequest.py at line 425
self = <type 'instance'> <spacewalk.server.apacheRequest.apachePOST instance at 0x7feba61f88c0>
classes = <type 'dict'> {'abrt': <class server.handlers.xmlrpc.abrt.Abrt at 0x7feba6111350>, 'servers': <class server.handlers.xmlrpc.up2date.Servers at 0x7feba60cd950>, 'queue': <class server.handlers.xmlrpc.queue.Queue at 0x7feba60cde30>, 'proxy': <class server.handlers.xmlrpc.proxy.Proxy at 0x7feba6111050>, 'registration': <class server.handlers.xmlrpc.registration.Registration at 0x7feba60cd350>, 'up2date': <class server.handlers.xmlrpc.up2date.Up2date at 0x7feba60cd8f0>, 'errata': <class server.handlers.xmlrpc.errata.Errata at 0x7feba6102cb0>}
method = <type 'unicode'> get_server_capability
Frame call_function in /usr/lib/python2.6/site-packages/spacewalk/server/apacheRequest.py at line 137
fault = <type 'int'> -1
self = <type 'instance'> <spacewalk.server.apacheRequest.apachePOST instance at 0x7feba61f88c0>
force_rollback = <type 'int'> 1
method = <type 'unicode'> get_server_capability
params = <type 'tuple'> ()
e_type = <type 'type'> <class 'spacewalk.server.apacheRequest.UnknownXML'>
e_value = <class 'spacewalk.server.apacheRequest.UnknownXML'> Invalid request received (method 'get_server_capability' doesn't have a class and function).
response = <class 'xmlrpclib.Fault'> <Fault -1: u"While running 'get_server_capability': caught\n<class 'spacewalk.server.apacheRequest.UnknownXML'> : Invalid request received (method 'get_server_capability' doesn't have a class and function).\n">
Frame process in /usr/lib/python2.6/site-packages/spacewalk/server/apacheRequest.py at line 476
fd = <type 'instance'> <cStringIO.StringO object at 0x7feba64bc6f8>
_body = <type 'str'> <?xml version='1.0'?>
<methodCall>
<methodName>get_server_capability</methodName>
<params>
</params>
</methodCall>
params = <type 'tuple'> ()
method = <type 'unicode'> get_server_capability
self = <type 'instance'> <spacewalk.server.apacheRequest.apachePOST instance at 0x7feba61f88c0>
Frame handler in /usr/lib/python2.6/site-packages/spacewalk/server/apacheHandler.py at line 196
h = <type 'instance'> <spacewalk.server.rhnSQL.driver_postgresql.Cursor instance at 0x7feba61fdd40>
self = <type 'instance'> <spacewalk.server.apacheHandler.apacheHandler instance at 0x7feba5cefb00>
req = <type 'instance'> <wsgi.wsgiRequest.WsgiRequest instance at 0x7feb8bc0fef0>
ret = <type 'int'> 1
templateStrings = <type 'dict'> {'email_account_info': '\nAccount Information:\n Your Spacewalk login: <login />\n Your Spacewalk email address: <email-address />', 'email_footer': '--the Spacewalk Team', 'hostname': 'spacewalk.master.com'}
row = <type 'NoneType'> None
Frame handle in /usr/share/rhn/wsgi/wsgiHandler.py at line 45
replacements = <type 'dict'> {'Xml': 'XML', 'Actualuri': 'ActualURI', 'Md5Sum': 'MD5sum', '_': '-', 'Rhn': 'RHN'}
component_type = <type 'str'> server.xmlrpc
start_response = <type 'builtin_function_or_method'> <built-in method start_response of mod_wsgi.Adapter object at 0x7feb8be44468>
k = <type 'str'> Rhn
req = <type 'instance'> <wsgi.wsgiRequest.WsgiRequest instance at 0x7feb8bc0fef0>
parseServ = <type 'instancemethod'> <bound method apacheHandler.headerParserHandler of <spacewalk.server.apacheHandler.apacheHandler instance at 0x7feba5cefb00>>
ret = <type 'int'> 0
server = <type 'str'> xmlrpc
environ = <type 'dict'> {'mod_wsgi.listener_port': '443', 'mod_ssl.var_lookup': <built-in method ssl_var_lookup of mod_wsgi.Adapter object at 0x7feb8be44468>, 'mod_wsgi.listener_host': '', 'SERVER_SOFTWARE': 'Apache', 'SCRIPT_NAME': '/XMLRPC', 'HTTP_X_TRANSPORT_INFO': 'Extended Capabilities Transport (C) Red Hat, Inc (version 2.5.55-1.el6)', 'mod_wsgi.handler_script': '', 'SERVER_SIGNATURE': '<address>Apache Server at spacewalk.master.com Port 443</address>\n', 'REQUEST_METHOD': 'POST', 'PATH_INFO': '', 'SERVER_PROTOCOL': 'HTTP/1.1', 'QUERY_STRING': '', 'X-Info': 'RPC Processor (C) Red Hat, Inc (version 2.5.55-1.el6)', 'CONTENT_LENGTH': '115', 'X-RHN-Ip-Path': '10.28.127.133', 'HTTP_USER_AGENT': 'rhn.rpclib.py/2.5.55-1.el6', 'SERVER_NAME': 'spacewalk.master.com', 'REMOTE_ADDR': '10.28.114.242', 'HTTP_X_RHN_IP_PATH': '10.28.127.133', 'mod_wsgi.request_handler': 'wsgi-script', 'User-Agent': 'rhn.rpclib.py/2.5.55-1.el6', 'wsgi.url_scheme': 'https',
'Host': 'spacewalk.master.com', 'X-RHN-Transport-Capability': 'follow-redirects=3', 'mod_wsgi.callable_object': 'application', 'SERVER_PORT': '443', 'wsgi.multiprocess': True, 'mod_wsgi.input_chunked': '0', 'SERVER_ADDR': '172.28.4.128', 'HTTP_X_RHN_PROXY_AUTH': '1000010005::1371434371.31:21600.0:Oqnbjrrpu/UY5je0yz1J3Q==:spacewalk.slave.com', 'mod_wsgi.process_group': '', 'Accept-Encoding': 'identity, identity', 'X-RHN-Proxy-Version': '5.5.0', 'SCRIPT_FILENAME': '/usr/share/rhn/wsgi/xmlrpc.py', 'SERVER_ADMIN': 'root@localhost', 'X-Transport-Info': 'Extended Capabilities Transport (C) Red Hat, Inc (version 2.5.55-1.el6)', 'SCRIPT_URI': 'https://spacewalk.master.com/XMLRPC', 'HTTP_X_CLIENT_VERSION': '1', 'wsgi.input': <mod_wsgi.Input object at 0x7feba5ef22b0>, 'X-Client-Version': '1', 'HTTP_HOST': 'spacewalk.master.com', 'SCRIPT_URL': '/XMLRPC', 'HTTPS': '1', 'wsgi.multithread': False, 'REQUEST_URI': '/XMLRPC', 'wsgi.file_wrapper': <built-in met
hod file_wrapper of mod_wsgi.Adapter object at 0x7feb8be44468>, 'wsgi.version': (1, 1), 'X-RHN-Proxy-Auth': '1000010005::1371434371.31:21600.0:Oqnbjrrpu/UY5je0yz1J3Q==:spacewalk.slave.com', 'GATEWAY_INTERFACE': 'CGI/1.1', 'wsgi.run_once': False, 'wsgi.errors': <mod_wsgi.Log object at 0x7feb8bbf1fb0>, 'REMOTE_PORT': '47681', 'HTTP_X_RHN_PROXY_VERSION': '5.5.0', 'mod_wsgi.version': (3, 2), 'HTTP_X_RHN_TRANSPORT_CAPABILITY': 'follow-redirects=3', 'mod_ssl.is_https': <built-in method ssl_is_https of mod_wsgi.Adapter object at 0x7feb8be44468>, 'CONTENT_TYPE': 'text/xml', 'mod_wsgi.application_group': 'spacewalk.master.com|/xmlrpc', 'mod_wsgi.script_reloading': '1', 'DOCUMENT_ROOT': '/var/www/html', 'HTTP_ACCEPT_ENCODING': 'identity, identity', 'HTTP_X_INFO': 'RPC Processor (C) Red Hat, Inc (version 2.5.55-1.el6)'}
key = <type 'str'> HTTP_X_INFO
v = <type 'str'> RHN
servertype = <type 'str'> spacewalk.server.apacheServer
new_key = <type 'str'> X-Info
appServ = <type 'instancemethod'> <bound method apacheHandler.handler of <spacewalk.server.apacheHandler.apacheHandler instance at 0x7feba5cefb00>>
Frame application in /usr/share/rhn/wsgi/xmlrpc.py at line 22
start_response = <type 'builtin_function_or_method'> <built-in method start_response of mod_wsgi.Adapter object at 0x7feb8be44468>
environ = <type 'dict'> {'mod_wsgi.listener_port': '443', 'mod_ssl.var_lookup': <built-in method ssl_var_lookup of mod_wsgi.Adapter object at 0x7feb8be44468>, 'mod_wsgi.listener_host': '', 'SERVER_SOFTWARE': 'Apache', 'SCRIPT_NAME': '/XMLRPC', 'HTTP_X_TRANSPORT_INFO': 'Extended Capabilities Transport (C) Red Hat, Inc (version 2.5.55-1.el6)', 'mod_wsgi.handler_script': '', 'SERVER_SIGNATURE': '<address>Apache Server at spacewalk.master.com Port 443</address>\n', 'REQUEST_METHOD': 'POST', 'PATH_INFO': '', 'SERVER_PROTOCOL': 'HTTP/1.1', 'QUERY_STRING': '', 'X-Info': 'RPC Processor (C) Red Hat, Inc (version 2.5.55-1.el6)', 'CONTENT_LENGTH': '115', 'X-RHN-Ip-Path': '10.28.127.133', 'HTTP_USER_AGENT': 'rhn.rpclib.py/2.5.55-1.el6', 'SERVER_NAME': 'spacewalk.master.com', 'REMOTE_ADDR': '10.28.114.242', 'HTTP_X_RHN_IP_PATH': '10.28.127.133', 'mod_wsgi.request_handler': 'wsgi-script', 'User-Agent': 'rhn.rpclib.py/2.5.55-1.el6', 'wsgi.url_scheme': 'https',
'Host': 'spacewalk.master.com', 'X-RHN-Transport-Capability': 'follow-redirects=3', 'mod_wsgi.callable_object': 'application', 'SERVER_PORT': '443', 'wsgi.multiprocess': True, 'mod_wsgi.input_chunked': '0', 'SERVER_ADDR': '172.28.4.128', 'HTTP_X_RHN_PROXY_AUTH': '1000010005::1371434371.31:21600.0:Oqnbjrrpu/UY5je0yz1J3Q==:spacewalk.slave.com', 'mod_wsgi.process_group': '', 'Accept-Encoding': 'identity, identity', 'X-RHN-Proxy-Version': '5.5.0', 'SCRIPT_FILENAME': '/usr/share/rhn/wsgi/xmlrpc.py', 'SERVER_ADMIN': 'root@localhost', 'X-Transport-Info': 'Extended Capabilities Transport (C) Red Hat, Inc (version 2.5.55-1.el6)', 'SCRIPT_URI': 'https://spacewalk.master.com/XMLRPC', 'HTTP_X_CLIENT_VERSION': '1', 'wsgi.input': <mod_wsgi.Input object at 0x7feba5ef22b0>, 'X-Client-Version': '1', 'HTTP_HOST': 'spacewalk.master.com', 'SCRIPT_URL': '/XMLRPC', 'HTTPS': '1', 'wsgi.multithread': False, 'REQUEST_URI': '/XMLRPC', 'wsgi.file_wrapper': <built-in met
hod file_wrapper of mod_wsgi.Adapter object at 0x7feb8be44468>, 'wsgi.version': (1, 1), 'X-RHN-Proxy-Auth': '1000010005::1371434371.31:21600.0:Oqnbjrrpu/UY5je0yz1J3Q==:spacewalk.slave.com', 'GATEWAY_INTERFACE': 'CGI/1.1', 'wsgi.run_once': False, 'wsgi.errors': <mod_wsgi.Log object at 0x7feb8bbf1fb0>, 'REMOTE_PORT': '47681', 'HTTP_X_RHN_PROXY_VERSION': '5.5.0', 'mod_wsgi.version': (3, 2), 'HTTP_X_RHN_TRANSPORT_CAPABILITY': 'follow-redirects=3', 'mod_ssl.is_https': <built-in method ssl_is_https of mod_wsgi.Adapter object at 0x7feb8be44468>, 'CONTENT_TYPE': 'text/xml', 'mod_wsgi.application_group': 'spacewalk.master.com|/xmlrpc', 'mod_wsgi.script_reloading': '1', 'DOCUMENT_ROOT': '/var/www/html', 'HTTP_ACCEPT_ENCODING': 'identity, identity', 'HTTP_X_INFO': 'RPC Processor (C) Red Hat, Inc (version 2.5.55-1.el6)'}
Environment for PID=17270 on exception:
CONSOLETYPE = vt
LANG = C
LANGSH_SOURCED = 1
PATH = /sbin:/usr/sbin:/bin:/usr/bin
PREVLEVEL = N
PWD = /
RUNLEVEL = 3
SHLVL = 3
TERM = linux
UPSTART_EVENTS = runlevel
UPSTART_INSTANCE =
UPSTART_JOB = rc
_ = /usr/sbin/httpd
previous = N
runlevel = 3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment