Ask Your Question
0

glance-api Connection Refused

asked 2015-03-25 11:51:43 -0600

Hello,

I am trying to install Openstack on Ubuntu 14.04 using the individual packages from apt-get. This is mostly to learn each of the components, rather than do an automated install. However, I am having a nightmare with glance. I was hoping someone could please point me in the right direction?

I am getting the following error when trying to connect to glance:

glance image-list
Error communicating with http://mydomain.co.uk:9292 [Errno 111] Connection refused

I get the same error when I try to access the api from a webbrowser.

I can see the glance-api and glance-registry services are running, but I am not able to see port 9292 listening when I run a netstat.

If I look into logs, I cannot see any error messages.

Where is the best place to start troubleshooting this issue? Keystone is working without any issues.

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2015-03-26 11:30:59 -0600

It'd be most helpful to actually see Glance's startup log. This can happen if Glance doesn't have permission to write to one or more of its subdirs (ie: things under /var/lib/glance/)

You can also check what port and IP Glance is trying to bind to - look at /etc/glance/glance-api.conf, in particular the bind_address and bind_port parameters.

edit flag offensive delete link more
0

answered 2015-03-27 10:05:21 -0600

Hi Tedlit,

Apologies for the delay in me getting back to you on this. The issue turned out to be package versions within ubuntu being an older version that the guide I was following.

I had to basically upgrade my packages to juno and re-configured the file. Everything then worked!

edit flag offensive delete link more

Comments

Glad to hear it's working - well done! :)

tedlit gravatar imagetedlit ( 2015-03-27 18:04:39 -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-03-25 11:51:43 -0600

Seen: 1,580 times

Last updated: Mar 27 '15