Ask Your Question
1

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
0

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

Comments

Please accept the answer if it has worked for you!

Jobin gravatar imageJobin ( 2013-07-05 09:15:23 -0500 )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

Stats

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

Seen: 1,162 times

Last updated: Jul 05 '13