Ask Your Question

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

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

Aarti gravatar image

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

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

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

zaitcev gravatar image

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

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


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

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

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2015-05-07 17:08:16 -0500

Seen: 223 times

Last updated: May 13 '15