Swauth: Account creation failed: 500 server error
Hi all,
I've installed Swift as Swift-all-in-one as described in the
http://
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:/
works fine.
Now when I try to add users doing below:
swauth-add-user -K swauthkey -U '.super_admin' -A https:/
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:/
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-
use = egg:swift#account
[account-
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_
[filter:swauth]
use = egg:swauth#swauth
set log_name = swauth
super_admin_key = swauthkey
default_
[filter:
use = egg:swift#
[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
Question information
- Language:
- English Edit question
- Status:
- Answered
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Amit Jain for more information if necessary.