Hi everyone, we are *still* using Spacewalk 2.2 server. I'm currently testing SLES11 SP4 on our clients and it looks like osad is not running correctly. It causes the spacewalk server to send TRACEBACK mails to me every 2 minutes with the following error
Exception reported from SERVER Time: Tue Nov 17 09:56:26 2015 Exception type <class 'spacewalk.server.apacheRequest.UnknownXML'> Exception while handling function get_server_capability Request object information: URI: /XMLRPC Remote Host: Server Name: SERVER:443 Headers passed in: Accept-Encoding: identity CONTENT_LENGTH: 115 CONTENT_TYPE: text/xml DOCUMENT_ROOT: /var/www/html GATEWAY_INTERFACE: CGI/1.1 HTTPS: 1 HTTP_ACCEPT_ENCODING: identity HTTP_HOST: SERVER HTTP_USER_AGENT: rhn.rpclib.py/2.5.69.7-1 HTTP_X_CLIENT_VERSION: 1 HTTP_X_INFO: RPC Processor (C) Red Hat, Inc (version 2.5.69.7-1) HTTP_X_RHN_TRANSPORT_CAPABILITY: follow-redirects=3 HTTP_X_TRANSPORT_INFO: Extended Capabilities Transport (C) Red Hat, Inc (version 2.5.69.7-1) Host: SERVER PATH_INFO: QUERY_STRING: REMOTE_ADDR: CLIENT-IP REMOTE_PORT: 53314 REQUEST_METHOD: POST REQUEST_URI: /XMLRPC SCRIPT_FILENAME: /usr/share/rhn/wsgi/xmlrpc.py SCRIPT_NAME: /XMLRPC SCRIPT_URI: https://SERVER/XMLRPC SCRIPT_URL: /XMLRPC SERVER_ADDR: SERVER-IP SERVER_ADMIN: root@localhost SERVER_NAME: SERVER SERVER_PORT: 443 SERVER_PROTOCOL: HTTP/1.1 SERVER_SIGNATURE: <address>Apache Server at SERVER Port 443</address> SERVER_SOFTWARE: Apache User-Agent: rhn.rpclib.py/2.5.69.7-1 X-Client-Version: 1 X-Info: RPC Processor (C) Red Hat, Inc (version 2.5.69.7-1) X-RHN-Transport-Capability: follow-redirects=3 X-Transport-Info: Extended Capabilities Transport (C) Red Hat, Inc (version 2.5.69.7-1) mod_ssl.is_https: <built-in method ssl_is_https of mod_wsgi.Adapter object at 0x7f969f945c60> mod_ssl.var_lookup: <built-in method ssl_var_lookup of mod_wsgi.Adapter object at 0x7f969f945c60> mod_wsgi.application_group: SERVER|/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 0x7f969fc2f9f0> wsgi.file_wrapper: <built-in method file_wrapper of mod_wsgi.Adapter object at 0x7f969f945c60> wsgi.input: <mod_wsgi.Input object at 0x7f96a00dbf30> 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 121, in call_function func = self.method_ref(method) File "/usr/lib/python2.6/site-packages/spacewalk/server/apacheRequest.py", line 430, 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 433 self = <type 'instance'> <spacewalk.server.apacheRequest.apachePOST instance at 0x7f96a00e3560> classes = <type 'dict'> {'queue': <class server.handlers.xmlrpc.queue.Queue at 0x7f969f65ee30>, 'abrt': <class server.handlers.xmlrpc.abrt.Abrt at 0x7f969f686530>, 'proxy': <class server.handlers.xmlrpc.proxy.Proxy at 0x7f969f686110>, 'registration': <class server.handlers.xmlrpc.registration.Registration at 0x7f969f65e0b0>, 'scap': <class server.handlers.xmlrpc.scap.Scap at 0x7f969f686590>, 'up2date': <class server.handlers.xmlrpc.up2date.Up2date at 0x7f969f65e5f0>, 'errata': <class server.handlers.xmlrpc.errata.Errata at 0x7f969f676a10>, 'servers': <class server.handlers.xmlrpc.up2date.Servers at 0x7f969f65e650>} method = <type 'unicode'> get_server_capability Frame call_function in /usr/lib/python2.6/site-packages/spacewalk/server/apacheRequest.py at line 135 fault = <type 'int'> -1 self = <type 'instance'> <spacewalk.server.apacheRequest.apachePOST instance at 0x7f96a00e3560> 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 484 fd = <type 'instance'> <cStringIO.StringO object at 0x7f969fe24fb8> _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 0x7f96a00e3560> 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 0x7f96a01ab128> self = <type 'instance'> <spacewalk.server.apacheHandler.apacheHandler instance at 0x7f969f3d2dd0> req = <type 'instance'> <wsgi.wsgiRequest.WsgiRequest instance at 0x7f969f9f88c0> ret = <type 'int'> 0 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': 'SERVER'} 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 0x7f969f945c60> k = <type 'str'> Rhn req = <type 'instance'> <wsgi.wsgiRequest.WsgiRequest instance at 0x7f969f9f88c0> parseServ = <type 'instancemethod'> <bound method apacheHandler.headerParserHandler of <spacewalk.server.apacheHandler.apacheHandler instance at 0x7f969f3d2dd0>> 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 0x7f969f945c60>, 'SERVER_SOFTWARE': 'Apache', 'SCRIPT_NAME': '/XMLRPC', 'HTTP_X_TRANSPORT_INFO': 'Extended Capabilities Transport (C) Red Hat, Inc (version 2.5.69.7-1)', 'mod_wsgi.handler_script': '', 'SERVER_SIGNATURE': '<address>Apache Server at SERVER 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.69.7-1)', 'CONTENT_LENGTH': '115', 'HTTP_USER_AGENT': 'rhn.rpclib.py/2.5.69.7-1', 'SERVER_NAME': 'SERVER', 'REMOTE_ADDR': 'CLIENT-IP', 'mod_wsgi.request_handler': 'wsgi-script', 'User-Agent': 'rhn.rpclib.py/2.5.69.7-1', 'wsgi.url_scheme': 'https', 'Host': 'SERVER', 'X-RHN-Transport-Capability': 'follow-redirects=3', 'mod_wsgi.callable_object': 'applicat ion', 'SERVER_PORT': '443', 'wsgi.multiprocess': True, 'mod_wsgi.input_chunked': '0', 'SERVER_ADDR': 'SERVER-IP', 'DOCUMENT_ROOT': '/var/www/html', 'mod_wsgi.process_group': '', 'Accept-Encoding': 'identity', '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.69.7-1)', 'SCRIPT_URI': 'https://SERVER/XMLRPC', 'HTTP_X_CLIENT_VERSION': '1', 'wsgi.input': <mod_wsgi.Input object at 0x7f96a00dbf30>, 'HTTP_HOST': 'SERVER', 'SCRIPT_URL': '/XMLRPC', 'HTTPS': '1', 'wsgi.multithread': False, 'REQUEST_URI': '/XMLRPC', 'X-Client-Version': '1', 'wsgi.version': (1, 1), 'GATEWAY_INTERFACE': 'CGI/1.1', 'wsgi.run_once': False, 'wsgi.errors': <mod_wsgi.Log object at 0x7f969fc2f9f0>, 'REMOTE_PORT': '53314', 'mod_wsgi.listener_host': '', 'mod_wsgi.version': (3, 2), 'HTTP_X_RHN_TRANSPORT_CAPABILITY': 'follow-redirects=3', 'mod_ssl.is_https': <bui lt-in method ssl_is_https of mod_wsgi.Adapter object at 0x7f969f945c60>, 'CONTENT_TYPE': 'text/xml', 'mod_wsgi.application_group': 'SERVER|/xmlrpc', 'mod_wsgi.script_reloading': '1', 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x7f969f945c60>, 'HTTP_ACCEPT_ENCODING': 'identity', 'HTTP_X_INFO': 'RPC Processor (C) Red Hat, Inc (version 2.5.69.7-1)'} 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 0x7f969f3d2dd0>> 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 0x7f969f945c60> environ = <type 'dict'> {'mod_wsgi.listener_port': '443', 'mod_ssl.var_lookup': <built-in method ssl_var_lookup of mod_wsgi.Adapter object at 0x7f969f945c60>, 'SERVER_SOFTWARE': 'Apache', 'SCRIPT_NAME': '/XMLRPC', 'HTTP_X_TRANSPORT_INFO': 'Extended Capabilities Transport (C) Red Hat, Inc (version 2.5.69.7-1)', 'mod_wsgi.handler_script': '', 'SERVER_SIGNATURE': '<address>Apache Server at SERVER 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.69.7-1)', 'CONTENT_LENGTH': '115', 'HTTP_USER_AGENT': 'rhn.rpclib.py/2.5.69.7-1', 'SERVER_NAME': 'SERVER', 'REMOTE_ADDR': 'CLIENT-IP', 'mod_wsgi.request_handler': 'wsgi-script', 'User-Agent': 'rhn.rpclib.py/2.5.69.7-1', 'wsgi.url_scheme': 'https', 'Host': 'SERVER', 'X-RHN-Transport-Capability': 'follow-redirects=3', 'mod_wsgi.callable_object': 'applicat ion', 'SERVER_PORT': '443', 'wsgi.multiprocess': True, 'mod_wsgi.input_chunked': '0', 'SERVER_ADDR': 'SERVER-IP', 'DOCUMENT_ROOT': '/var/www/html', 'mod_wsgi.process_group': '', 'Accept-Encoding': 'identity', '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.69.7-1)', 'SCRIPT_URI': 'https://SERVER/XMLRPC', 'HTTP_X_CLIENT_VERSION': '1', 'wsgi.input': <mod_wsgi.Input object at 0x7f96a00dbf30>, 'HTTP_HOST': 'SERVER', 'SCRIPT_URL': '/XMLRPC', 'HTTPS': '1', 'wsgi.multithread': False, 'REQUEST_URI': '/XMLRPC', 'X-Client-Version': '1', 'wsgi.version': (1, 1), 'GATEWAY_INTERFACE': 'CGI/1.1', 'wsgi.run_once': False, 'wsgi.errors': <mod_wsgi.Log object at 0x7f969fc2f9f0>, 'REMOTE_PORT': '53314', 'mod_wsgi.listener_host': '', 'mod_wsgi.version': (3, 2), 'HTTP_X_RHN_TRANSPORT_CAPABILITY': 'follow-redirects=3', 'mod_ssl.is_https': <bui lt-in method ssl_is_https of mod_wsgi.Adapter object at 0x7f969f945c60>, 'CONTENT_TYPE': 'text/xml', 'mod_wsgi.application_group': 'SERVER|/xmlrpc', 'mod_wsgi.script_reloading': '1', 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x7f969f945c60>, 'HTTP_ACCEPT_ENCODING': 'identity', 'HTTP_X_INFO': 'RPC Processor (C) Red Hat, Inc (version 2.5.69.7-1)'} Any help will be appreciated. Regards, Robert
_______________________________________________ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list