Swift [Errno -5] No address associated with hostname

asked 2013-09-24 05:16:06 -0500

gilank gravatar image

updated 2013-09-24 18:32:22 -0500

smaffulli gravatar image

Hi, i followed this guide http://docs.openstack.org/grizzly/openstack-compute/admin/content/configuring-swift-to-use-keystone.html for setting up swift, swift work when used tempauth, i tried to combine using keystone , when i run this command

$ swift -V 2 -A http://localhost:5000/v2.0 -U admin:admin -K ADMIN stat

(with change the variable) it said

[Errno -5] No address associated with hostname

How can this be happen?

edit retag flag offensive close merge delete


Please using curl to retrieve the authentication information from keystone of user.

Hugo Kuo gravatar imageHugo Kuo ( 2013-09-26 06:03:56 -0500 )edit

Can you check if using '' in place of 'localhost' in the auth URL works for you?

unmesh-gurjar gravatar imageunmesh-gurjar ( 2013-09-26 07:09:56 -0500 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2013-10-07 03:53:30 -0500

gilank gravatar image

Hi, sorry for this confusing question, it's been solved, its on my network topology mistake, swift storage with proxy and keystone server can't reach each other, so i moved into correct network, and it work. thanks for your helps

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2013-09-24 05:16:06 -0500

Seen: 651 times

Last updated: Oct 07 '13