Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Output in /var/log/syslog shows following:

Nov 12 16:42:45 ubuntu proxy-server STDOUT: EXCEPTION IN handle: Traceback (most recent call last):#012

File "/usr/local/lib/python2.6/dist-packages/swauth-1.0.3.dev-py2.6.egg/swauth/middleware.py", line 415, in handle#012 return self.handle_request(req)(env, start_response)#012

File "/usr/local/lib/python2.6/dist-packages/swauth-1.0.3.dev-py2.6.egg/swauth/middleware.py", line 482, in handle_request#012 req.response = handler(req)#012

File "/usr/local/lib/python2.6/dist-packages/swauth-1.0.3.dev-py2.6.egg/swauth/middleware.py", line 1008, in handle_put_user#012 resp.headers['x-container-meta-account-id']}#012

File "/usr/lib/pymodules/python2.6/webob/headers.py", line 16, in __getitem__#012 raise KeyError(key)#012KeyError: 'x-container-meta-account-id'#012: {'HTTP_X_CF_TRANS_ID': 'tx9bf80c55-2c77-4823-b615-8255e31f07f9', 'SCRIPT_NAME': '/auth/v2/reseller/reseller', 'webob.adhoc_attrs': {'start_time': 1321144965.590857, 'bytes_transferred': '-', 'client_disconnect': False}, 'REQUEST_METHOD': 'PUT', 'PATH_INFO': '', 'SERVER_PROTOCOL': 'HTTP/1.0', 'QUERY_STRING': '', 'eventlet.posthooks': [(<bound method="" swauth.posthooklogger="" of="" <swauth.middleware.swauth="" object="" at="" 0x92b24ec="">>, (<request at="" 0x935828c="" put="" https:="" 192.168.6.128="" auth="" v2="" reseller="" reseller="">,), {})], 'SERVER_NAME': '192.168.6.128', 'REMOTE_ADDR': '192.168.6.128', 'eventlet.input': <eventlet.wsgi.input object="" at="" 0x92bd30c="">, 'HTTP_X_AUTH_ADMIN_KEY': 'firepass', 'wsgi.url_scheme': 'https', 'SERVER_PORT': '443', 'HTTP_X_AUTH_USER_KEY': 'reseller', 'HTTP_X_AUTH_ADMIN_USER': '.super_admin', 'HTTP_X_AUTH_USER_ADMIN': 'true', 'wsgi.input': <eventlet.wsgi.input object="" at="" 0x92bd30c="">, 'HTTP_HOST': '192.168.6.128', 'swift.cache': <swift.common.memcached.memcachering object="" at="" 0x92b59ec="">, 'HTTPS': 'on', 'wsgi.multithread': True, 'wsgi.version': (1, 0), 'GATEWAY_INTERFACE': 'CGI/1.1', 'wsgi.run_once': False, 'wsgi.errors': <swift.common.utils.loggerfileobject object="" at="" 0x92b708c="">, 'wsgi.multiprocess': False, 'CONTENT_TYPE': None, 'HTTP_ACCEPT_ENCODING': 'identity'}