swauth-prep internal server error

Asked by Chammmmm

Unable to run swauth-prep on 1 proxy node and 4 storage nodes setup
Diablo version of swift.

t 19 18:02:08 ubuntuswift proxy-server - - 19/Oct/2011/22/02/08 PUT /v1/AUTH_.auth HTTP/1.0 201 - Swauth - - - - - - 0.2823
Oct 19 18:02:08 ubuntuswift proxy-server - - 19/Oct/2011/22/02/08 PUT /v1/AUTH_.auth/.account_id HTTP/1.0 404 - Swauth - - - - - - 0.0195
Oct 19 18:02:08 ubuntuswift 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 516, in handle_prep#012 (path, resp.status))#012Exception: Could not create container: /v1/AUTH_.auth/.account_id 404 Not Found#012: {'webob._parsed_query_vars': (GET([]), ''), 'SCRIPT_NAME': '/auth/v2', 'webob.adhoc_attrs': {'start_time': 1319061728.44016, 'bytes_transferred': '-', 'client_disconnect': False}, 'REQUEST_METHOD': 'POST', 'PATH_INFO': '/.prep', 'SERVER_PROTOCOL': 'HTTP/1.0', 'QUERY_STRING': '', 'eventlet.posthooks': [(<bound method Swauth.posthooklogger of <swauth.middleware.Swauth object at 0xa282f8c>>, (<Request at 0xa284ccc POST https://172.16.11.102:8080/auth/v2/.prep>,), {})], 'SERVER_NAME': '172.16.11.102', 'REMOTE_ADDR': '172.16.11.102', 'eventlet.input': <eventlet.wsgi.Input object at 0xa2836ec>, 'HTTP_X_AUTH_ADMIN_KEY': 'swauthkey', 'wsgi.url_scheme': 'https', 'SERVER_PORT': '8080', 'HTTP_X_AUTH_ADMIN_USER': '.super_admin', 'HTTP_X_CF_TRANS_ID': 'tx5ad27cdc-1157-418a-bb94-716538c67515', 'wsgi.input': <eventlet.wsgi.Input object at 0xa2836ec>, 'HTTP_HOST': '172.16.11.102:8080', 'swift.cache': <swift.common.memcached.MemcacheRing object at 0xa28b86c>, '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 0xa27f2ac>, 'wsgi.multiprocess': False, 'CONTENT_TYPE': None, 'HTTP_ACCEPT_ENCODING': 'identity'}
Oct 19 18:02:50 ubuntuswift proxy-server 172.16.11.134 172.16.11.134 19/Oct/2011/22/02/50 GET /favicon.ico HTTP/1.0 412 - Mozilla/5.0%20%28Windows%20NT%206.1%3B%20WOW64%29%20AppleWebKit/535.1%20%28KHTML%2C%20like%20Gecko%29%20Chrome/14.0.835.202%20Safari/535.1 - - - - - - 0.0004
Oct 19 18:05:23 ubuntuswift proxy-server - - 19/Oct/2011/22/05/23 PUT /v1/AUTH_.auth HTTP/1.0 202 - Swauth - - - - - - 0.0441
Oct 19 18:05:23 ubuntuswift proxy-server - - 19/Oct/2011/22/05/23 PUT /v1/AUTH_.auth/.account_id HTTP/1.0 404 - Swauth - - - - - - 0.0123
Oct 19 18:05:23 ubuntuswift 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 516, in handle_prep#012 (path, resp.status))#012Exception: Could not create container: /v1/AUTH_.auth/.account_id 404 Not Found#012: {'webob._parsed_query_vars': (GET([]), ''), 'SCRIPT_NAME': '/auth/v2', 'webob.adhoc_attrs': {'start_time': 1319061923.873704, 'bytes_transferred': '-', 'client_disconnect': False}, 'REQUEST_METHOD': 'POST', 'PATH_INFO': '/.prep', 'SERVER_PROTOCOL': 'HTTP/1.0', 'QUERY_STRING': '', 'eventlet.posthooks': [(<bound method Swauth.posthooklogger of <swauth.middleware.Swauth object at 0xa282f8c>>, (<Request at 0xa2d448c POST https://172.16.11.102:8080/auth/v2/.prep>,), {})], 'SERVER_NAME': '172.16.11.102', 'REMOTE_ADDR': '172.16.11.102', 'eventlet.input': <eventlet.wsgi.Input object at 0xa2d2f4c>, 'HTTP_X_AUTH_ADMIN_KEY': 'swauthkey', 'wsgi.url_scheme': 'https', 'SERVER_PORT': '8080', 'HTTP_X_AUTH_ADMIN_USER': '.super_admin', 'HTTP_X_CF_TRANS_ID': 'tx36c7a4ed-c4fd-46c9-88be-2dcec0b50969', 'wsgi.input': <eventlet.wsgi.Input object at 0xa2d2f4c>, 'HTTP_HOST': '172.16.11.102:8080', 'swift.cache': <swift.common.memcached.MemcacheRing object at 0xa28b86c>, '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 0xa27f2ac>, 'wsgi.multiprocess': False, 'CONTENT_TYPE': None, 'HTTP_ACCEPT_ENCODING': 'identity'}
Oct 19 18:06:33 ubuntuswift proxy-server - - 19/Oct/2011/22/06/33 PUT /v1/AUTH_.auth HTTP/1.0 202 - Swauth - - - - - - 0.0515
Oct 19 18:06:33 ubuntuswift proxy-server - - 19/Oct/2011/22/06/33 PUT /v1/AUTH_.auth/.account_id HTTP/1.0 404 - Swauth - - - - - - 0.0119
Oct 19 18:06:33 ubuntuswift 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 516, in handle_prep#012 (path, resp.status))#012Exception: Could not create container: /v1/AUTH_.auth/.account_id 404 Not Found#012: {'webob._parsed_query_vars': (GET([]), ''), 'SCRIPT_NAME': '/auth/v2', 'webob.adhoc_attrs': {'start_time': 1319061993.232868, 'bytes_transferred': '-', 'client_disconnect': False}, 'REQUEST_METHOD': 'POST', 'PATH_INFO': '/.prep', 'SERVER_PROTOCOL': 'HTTP/1.0', 'QUERY_STRING': '', 'eventlet.posthooks': [(<bound method Swauth.posthooklogger of <swauth.middleware.Swauth object at 0xa282f8c>>, (<Request at 0xa2871cc POST https://172.16.11.102:8080/auth/v2/.prep>,), {})], 'SERVER_NAME': '172.16.11.102', 'REMOTE_ADDR': '172.16.11.102', 'eventlet.input': <eventlet.wsgi.Input object at 0xa28b08c>, 'HTTP_X_AUTH_ADMIN_KEY': 'swauthkey', 'wsgi.url_scheme': 'https', 'SERVER_PORT': '8080', 'HTTP_X_AUTH_ADMIN_USER': '.super_admin', 'HTTP_X_CF_TRANS_ID': 'txc2bbbb03-1cb2-4ef4-8e6b-8dfa15190e09', 'wsgi.input': <eventlet.wsgi.Input object at 0xa28b08c>, 'HTTP_HOST': '172.16.11.102:8080', 'swift.cache': <swift.common.memcached.MemcacheRing object at 0xa28b86c>, '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 0xa27f2ac>, 'wsgi.multiprocess': False, 'CONTENT_TYPE': None, 'HTTP_ACCEPT_ENCODING': 'identity'

Question information

Language:
English Edit question
Status:
Answered
For:
OpenStack Object Storage (swift) Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Hugo Kou (tonytkdk) said :
#1

I'm facing same problem now on Swift 1.4.4 auth by swauth ...

It's a all-in-one SAIO in my test .

We follow the guide from swauth github code page. But failed to do swauth-prep

Hope that some one could share their experience on Swauth + swift 1.4.4

Hugo Kuo

Revision history for this message
Chammmmm (dchamard) said :
#2
Revision history for this message
Hugo Kou (tonytkdk) said :
#3

Can you help with this problem?

Provide an answer of your own, or ask Chammmmm for more information if necessary.

To post a message you must log in.