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

Asked by Qi Weining

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

Question information

Language:
English Edit question
Status:
Answered
For:
OpenStack Object Storage (swift) Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Marcelo Martins (btorch) said :
#1

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

Can you help with this problem?

Provide an answer of your own, or ask Qi Weining for more information if necessary.

To post a message you must log in.