Keystone V3 in Kilo

asked 2016-09-21 10:34:03 -0500

nbompetsis gravatar image

Hello guys i faced a important issue in my OpenStack Service Keystone

After installing Admin and Demo (Project, users, roles,)

When i was trying to run the Verify commands of keystone from instruction guide of openstack i got the following message

An unexpected error prevented the
server from fulfilling your request.
(HTTP 500) (Request-ID:req-8ac0f12f-d7fe-4586-a6d1-fc94c425ac0f)

I tried to restart my services apache2 and keystone and i got the following error

> 2016-09-21 18:12:18.332 16388 WARNING root [-] Running keystone via eventlet is deprecated as of Kilo in favor of 
running in a WSGI server (e.g. mod_wsgi). Support for keystone under eventlet will be removed in the "M"-Release.
2016-09-21 18:12:18.333 16388 ERROR keystone.common.environment.eventlet_server [-] Could not bind to 
0.0.0.0:35357
2016-09-21 18:12:18.334 16388 ERROR root [-] Failed to start the admin server
2016-09-21 18:12:18.334 16388 TRACE root Traceback (most recent call last):
2016-09-21 18:12:18.334 16388 TRACE root   File "/usr/lib/python2.7/dist-packages/keystone/server/eventlet.py", line 88, in serve
2016-09-21 18:12:18.334 16388 TRACE root     server.launch_with(launcher)
2016-09-21 18:12:18.334 16388 TRACE root   File "/usr/lib/python2.7/dist-packages/keystone/server/eventlet.py", line 54, in launch_with
2016-09-21 18:12:18.334 16388 TRACE root     self.server.listen()
2016-09-21 18:12:18.334 16388 TRACE root   File "/usr/lib/python2.7/dist-packages/keystone/common/environment/eventlet_server.py", line 109, in listen
2016-09-21 18:12:18.334 16388 TRACE root     backlog=backlog)
2016-09-21 18:12:18.334 16388 TRACE root   File "/usr/lib/python2.7/dist-packages/eventlet/convenience.py", line 43, in listen
2016-09-21 18:12:18.334 16388 TRACE root     sock.bind(addr)
2016-09-21 18:12:18.334 16388 TRACE root   File "/usr/lib/python2.7/socket.py", line 224, in meth
2016-09-21 18:12:18.334 16388 TRACE root     return getattr(self._sock,name)(*args)
2016-09-21 18:12:18.334 16388 TRACE root error: [Errno 98] Address already in use
2016-09-21 18:12:18.334 16388 TRACE root
2016-09-21 18:12:18.335 16388 CRITICAL keystone [-] error: [Errno 98] Address already in use
2016-09-21 18:12:18.335 16388 TRACE keystone Traceback (most recent call last):
2016-09-21 18:12:18.335 16388 TRACE keystone   File "/usr/bin/keystone-all", line 36, in <module>
2016-09-21 18:12:18.335 16388 TRACE keystone     eventlet_server.run(possible_topdir)
2016-09-21 18:12:18.335 16388 TRACE keystone   File "/usr/lib/python2.7/dist-packages/keystone/server/eventlet.py", line 156, in run
2016-09-21 18:12:18.335 16388 TRACE keystone     serve(*servers)    
2016-09-21 18:12:18.335 16388 TRACE keystone   File "/usr/lib/python2.7/dist-packages/keystone/server/eventlet.py", line 88, in serve
2016-09-21 18:12:18.335 16388 TRACE keystone     server.launch_with(launcher)
2016-09-21 18:12:18.335 16388 TRACE keystone   File "/usr/lib/python2.7/dist-packages/keystone/server/eventlet.py", line 54, in launch_with
2016-09-21 18:12:18.335 16388 TRACE keystone     self.server.listen()
2016-09-21 18:12 ...
(more)
edit retag flag offensive close merge delete

Comments

Please check if this Solution mentioned in the thread works for you. -Thanks

sunnyarora gravatar imagesunnyarora ( 2016-09-22 08:36:04 -0500 )edit

Sorry for the delay, but I solved my above issue. I found that keystone process was running in the port 35357. By my mistake I ran keystone command and automatically in background one process started up. I killed running process and the problem solved.

nbompetsis gravatar imagenbompetsis ( 2016-11-18 03:27:48 -0500 )edit