Ask Your Question
0

Does swift-get-nodes return same result from any of the swift nodes?

asked 2015-05-07 17:08:16 -0600

Aarti gravatar image

updated 2015-05-08 17:38:43 -0600

smaffulli gravatar image

Does swift-get-nodes return same result from any of the swift nodes? If i execute this command on proxy server vs on any of the other storage nodes, if I specify same target will it give same result?

Also I have noticed that if I specify an account/container which does not exist, it still returns me similar result. What is the reason for that?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-05-13 11:37:30 -0600

zaitcev gravatar image

updated 2015-05-13 11:37:59 -0600

swift-get-nodes extracts the information from the ring and ring only. Essentially it performs the lookup that a proxy or back-end server would do if given the same parameters. Its operation or output may have nothing to do with what is actually going on in the cluster in cases when you neglect to update the ring on the nodes or fail to run the necessary services.

The traditional location for running swift-get-nodes is the same management workstation that runs the builder, and not a cluster node at all.

edit flag offensive delete link more

Comments

Thanks. So that means the information returned by swift-get-nodes might not be latest?

Aarti gravatar imageAarti ( 2015-05-15 00:04:55 -0600 )edit

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: 2015-05-07 17:08:16 -0600

Seen: 196 times

Last updated: May 13 '15