Ask Your Question
0

What's the account of swauth when use “swift-get-nodes”?

asked 2013-11-13 10:38:14 -0500

qi-weining gravatar image

I want to use “swift-get-nodes” to find the disk address of an object. It is right when I use SAIO with tempauth. The account is test, the account in “swift-get-nodes” is AUTH_test instead. It is wrong when I use distributed swift with swauth. Whatever I used "test" or "AUTH_test", the return values of"Partition" and "Hash" is not right. I think they are calculated by the three parameters "Account, Container, and Object". I changed any one of the three parameters, the both value are changed.

Any one can tell me what's the account should be in "swift-get-nodes" with swauth?

Thanks a lot.

Partition 497 Hash 7c5f513fe9483ed4d2646c059a79d382

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted
0

answered 2013-11-13 20:01:41 -0500

btorch gravatar image

When using swauth, what follows the "AUTH_" is actually an account hash and not the account name you have given. After you create the account/user within swauth, you need to find out what is the account hash for that account/user you have just created is.

The swauth-list utility should be able to provide all that information for a particular user. Once you have found the account hash you can use that with swift-get-nodes

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: 2013-11-13 10:38:14 -0500

Seen: 58 times

Last updated: Nov 13 '13