Ask Your Question

glance Authorization Failed with Errno 104

asked 2013-07-05 05:38:02 -0500

shoubam gravatar image

updated 2013-07-05 07:59:09 -0500

smaffulli gravatar image

I am following this guide and have configured everything like in the guide. When I try something like glance image-list, I get

Authorization Failed: [Errno 104] Connection reset by peer

As I am new to openstack, I am not quite sure how to debug this. Whom is glance connecting to, keystone, or the mysql database? If its keystone, how can I check which credentials glance is using (I guess the ones provided in /etc/glance/glance-api.conf and /etc/glance/glance-registry.conf ?) How can I check the credentials with the verifyer directly? ... any hints would be appreciated.

I also found:

# keystone user-list
WARNING: Bypassing authentication using a token & endpoint (authentication credentials are being ignored).
[Errno 104] Connection reset by peer

Maybe there is a connection to the glance authorization error?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2013-07-05 08:54:38 -0500

shoubam gravatar image

It turns out I did not have any localhost definition in my /etc/hosts file, so the connections to localhost just went out in the wild and did not connect to my server. After correcting this, things work fine.

edit flag offensive delete link more


Please accept the answer if it has worked for you!

Jobin gravatar imageJobin ( 2013-07-05 09:15:23 -0500 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools


Asked: 2013-07-05 05:38:02 -0500

Seen: 1,249 times

Last updated: Jul 05 '13