Swauth: Account creation failed: 500 server error
Hi all,
I've installed Swift as Swift-all-in-one as described in the
http://www.slideshare.net/joshuamckenty/openstack-swift-msst-2011-tutorial-day (http://www.slideshare.net/joshuamcken...)
the above describes Swift installation when Swauth was part of Swift. To work with current version, I had to install Swauth as a separate component.
That went good and I'm able to get proxy server up and running along with other components.
Doing this
swauth-prep -K swauthkey -U '.super_admin' -A https://192.168.6.128:443/auth/
works fine.
Now when I try to add users doing below:
swauth-add-user -K swauthkey -U '.super_admin' -A https://192.168.6.128:443/auth/ -a test tester testing
I get Account creation failed: 500 Server Error.
Seems like part of this command is working as when I do
swauth-list -K swauthkey -U '.super_admin' -A https://192.168.6.128:443/auth/
I see that the account has been added:
{"accounts": [{"name": "test"}]}
Could you help me to know what I'm doing wrong.
Here is my account server configuration:
[DEFAULT] devices = /srv/1/node mount_check = false bind_port = 6012 user = swiftdemo log_facility = LOG_LOCAL2
[pipeline:main] pipeline = account-server
[app:account-server] use = egg:swift#account
[account-replicator] vm_test_mode = yes
[account-auditor]
[account-reaper]
And my proxy server configuration is:
[DEFAULT] bind_port = 443 bind_ip = 192.168.6.128 cert_file = /etc/swift/cert.crt key_file = /etc/swift/cert.key user = swiftdemo log_facility = LOG_LOCAL1
[pipeline:main] pipeline = healthcheck cache swauth proxy-server
[app:proxy-server] use = egg:swift#proxy allow_account_management = true
[filter:swauth] use = egg:swauth#swauth set log_name = swauth super_admin_key = swauthkey default_swift_cluster = local#https://127.0.0.1:443/v1
[filter:healthcheck] use = egg:swift#healthcheck
[filter:cache] use = egg:swift#memcache
The swift.conf only has the configuration for swauthkey.
Please let me know if anything else is needed. Thanks for help, Amit