OpenStack Glance Problem

asked 2012-03-11 14:12:59 -0500

when run command #glance-api Starting the Token Authentication component Traceback (most recent call last): File "/usr/local/bin/glance-api", line 5, in <module> pkg_resources.run_script('glance==2011.3.2', 'glance-api') File "/usr/lib/python2.7/dist-packages/", line 467, in run_script self.require(requires)[0].run_script(script_name, ns) File "/usr/lib/python2.7/dist-packages/", line 1200, in run_script execfile(script_filename, namespace, namespace) File "/usr/local/lib/python2.7/dist-packages/glance-2011.3.2-py2.7.egg/EGG-INFO/scripts/glance-api", line 66, in <module> server.start(app, int(conf['bind_port']), conf['bind_host']) File "/usr/local/lib/python2.7/dist-packages/glance-2011.3.2-py2.7.egg/glance/common/", line 65, in start socket = eventlet.listen((host, port), backlog=backlog) File "/usr/local/lib/python2.7/dist-packages/eventlet/", line 38, in listen sock.bind(addr)

I don't knowolad how to fix it. Please help me. I paste /etc/glance/glance-api.conf and glance-registry.conf at and File "/usr/lib/python2.7/", line 224, in meth return getattr(self._sock,name)(*args) socket.error: [Errno 98] Address already in use

edit retag flag offensive close merge delete

4 answers

Sort by » oldest newest most voted

answered 2012-03-12 02:50:05 -0500

Thanks Ken Pepple, that solved my question.

edit flag offensive delete link more

answered 2012-03-11 20:03:34 -0500

It looks like you already have something running on port 9292 --- probably another copy of glance-api. Run this to find out :

$ netstat -an | grep 9292 tcp 0 0* LISTEN

If so, find the running copy of glance-api (most likely) and kill it.

edit flag offensive delete link more

answered 2012-03-12 02:42:39 -0500

Thank you very much gru

edit flag offensive delete link more

answered 2012-03-12 02:49:35 -0500

大恩不言谢 Thank you anain guru

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2012-03-11 14:12:59 -0500

Seen: 74 times

Last updated: Mar 12 '12