Ask Your Question
0

swauth-add-account hangs

asked 2011-05-16 08:47:48 -0500

The command I ran is "swauth-add-account -K swauthkey -A https://127.0.0.1:8080/auth/ system" after which the command line hangs.

Through the traceback I found that the python hangs in swauth-add-account line 65: resp = conn.getresponse.

A more strange thing is that when I use "swauth-list", I can find the account "system" is created: swauth-list -K swauthkey -A https://192.168.50.47:8080/auth/ {"accounts": [{"name": "system"}]}

But when I want to see the account details, the swauth returns 404 Not Found: swauth-list -K swauthkey -A https://192.168.50.47:8080/auth/ system List failed: 404 Not Found 404 Not Found

Anybody know what problem it is?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2011-05-17 03:09:11 -0500

I configure the default_swift_cluster option in proxy-server.conf to https://127.0.0.1:8080/v1 and the problem is solved. (Before this I use default value, which is a http schema url)

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-05-16 08:47:48 -0500

Seen: 62 times

Last updated: May 17 '11