1.3- Account creating fails: KeyError: 'x-container-meta-account-id'
Running the following on the proxy server fails with the exception below (swauth is the super_admin password):
$swauth-add-user -A https://127.0.0.1:8080/auth/ -K swauth -a system root testpass
exception:
Account creation failed: 500 Server Error proxy-server - - 03/May/2011/22/09/27 HEAD /v1/AUTH_.auth/system HTTP/1.0 204 - Swauth - - - - tx45e0f09a-b5fd-45f1-9cab -962103be4961 - 0.0049 proxy-server STDOUT: EXCEPTION IN handle: Traceback (most recent call last): File "/usr/lib/pymodules/python2.6/swift/common/middleware/swauth.py", line 321, in handle return self.handle_request(req)(env, start_response) File "/usr/lib/pymodules/python2.6/swift/common/middleware/swauth.py", line 384, in handle_request req.response = handler(req) File "/usr/lib/pymodules/python2.6/swift/common/middleware/swauth.py", line 900, in handle_put_user resp.headers['x-container-meta-account-id']} File "/usr/lib/pymodules/python2.6/webob/headers.py", line 16, in __getitem__ raise KeyError(key) KeyError: 'x-container-meta-account-id'
on the container machine, nothing special: May 3 17:36:23 d00-0c-29-14-30-92 swift-c 192.168.124.130 - - [03/May/2011:22:36:23 +0000] "HEAD /sdb1/133209/AUTH_.auth/system" 204 - "txeeda4fd0-5a6d-4bfb-9da1-fc36357f335f" "-" "Swauth" 0.0018
Any idea what's wrong?