help me keystone install (keystone-all)

Asked by Sherif Mballo

hi everybod! I need help! when I do keystone-all I get this ! how can i fix this?

File "/usr/bin/keystone-all", line 74, in <module>
    serve(*servers)
  File "/usr/bin/keystone-all", line 38, in serve
    server.start()
  File "/usr/lib/python2.7/dist-packages/keystone/common/wsgi.py", line 71, in start
    socket = eventlet.listen((self.host, self.port), backlog=backlog)
  File "/usr/lib/python2.7/dist-packages/eventlet/convenience.py", line 38, in listen
    sock.bind(addr)
  File "/usr/lib/python2.7/socket.py", line 224, in meth
    return getattr(self._sock,name)(*args)
socket.error: [Errno 98] Address already in use

Question information

Language:
English Edit question
Status:
Solved
For:
OpenStack Identity (keystone) Edit question
Assignee:
No assignee Edit question
Solved by:
Yaguang Tang
Solved:
Last query:
Last reply:
Revision history for this message
Best Yaguang Tang (heut2008) said :
#1

Either you have start keystone or the ports (5000,35357 ) are used by other process. check which process is using the port.

Revision history for this message
Malini Bhandaru (malini-k-bhandaru) said :
#2

Perhaps you used devstack stack.sh command prior to this call to keystone-all and thus the ports are in use.
Either reboot, or kill process using the ports and re-invoke your keystone-all command.

Revision history for this message
Sherif Mballo (cherif-mballo-4) said :
#3

Thanks Yaguang Tang, that solved my question.