Account and User creation failed

Asked by Everett Toews

Hi All,

When I try to create a user using the .super_admin credentials I get an error.

root@i-00000c7f:~# swauth-add-user -A https://127.0.0.1:8080/auth/ -U .super_admin -K mykey test-account test-user test-passwd
Account creation failed: 400 Bad Request
User creation failed: 400 Bad Request

I know the .super_admin is working to some degree because I can run the following.

root@i-00000c7f:~# swauth-list -A https://127.0.0.1:8080/auth/ -U .super_admin -K mykey
{"accounts": [{"name": "system"}]}

I haven't been able to find any useful errors in syslog on the proxy or nodes but I'm open to suggestions as to what to look for.

In proxy-server.conf

allow_account_management = true

Any ideas what might be wrong?

Thanks,
Everett

Question information

Language:
English Edit question
Status:
Solved
For:
OpenStack Object Storage (swift) Edit question
Assignee:
No assignee Edit question
Solved by:
Everett Toews
Solved:
Last query:
Last reply:
Revision history for this message
Everett Toews (everett-toews) said :
#1

Apparently account and usernames cannot contain hyphens. This works:

swauth-add-user -A https://127.0.0.1:8080/auth/ -U .super_admin -K mykey testaccount testuser testpasswd