Ask Your Question
0

swauth-prep internal server error

asked 2011-10-19 22:57:07 -0500

dchamard gravatar image

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 ... (more)

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2011-10-21 15:23:56 -0500

tonytkdk gravatar image

https://answers.launchpad.net/swift/+question/175542 (https://answers.launchpad.net/swift/+...)

edit flag offensive delete link more
0

answered 2011-10-20 18:06:59 -0500

tonytkdk gravatar image

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

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2011-10-19 22:57:07 -0500

Seen: 50 times

Last updated: Oct 21 '11