Ask Your Question
0

Unable to run keystone-all command on openstack juno version ?

asked 2015-09-18 05:37:04 -0500

Nilesh Ghavate gravatar image

I am new to Openstack ... finding difficulties while executing this command on the JUNO version. Kindly help me. Thanx.

2015-09-18 15:44:50.638 35356 WARNING keystone.openstack.common.versionutils [-] Deprecated: keystone.middleware.core.XmlBodyMiddleware is deprecated as of Icehouse in favor of support for "application/json" only and may be removed in Kilo. 2015-09-18 15:44:50.681 35356 WARNING keystone.openstack.common.versionutils [-] Deprecated: keystone.contrib.revoke.backends.kvs is deprecated as of Juno in favor of keystone.contrib.revoke.backends.sql and may be removed in Kilo. 2015-09-18 15:44:50.683 35356 ERROR keystone.common.environment.eventlet_server [-] Could not bind to 0.0.0.0:35357 2015-09-18 15:44:50.683 35356 ERROR root [-] Failed to start the admin server 2015-09-18 15:44:50.683 35356 TRACE root Traceback (most recent call last): 2015-09-18 15:44:50.683 35356 TRACE root File "/usr/bin/keystone-all", line 95, in serve 2015-09-18 15:44:50.683 35356 TRACE root server.launch_with(launcher) 2015-09-18 15:44:50.683 35356 TRACE root File "/usr/bin/keystone-all", line 67, in launch_with 2015-09-18 15:44:50.683 35356 TRACE root self.server.listen() 2015-09-18 15:44:50.683 35356 TRACE root File "/usr/lib/python2.7/dist-packages/keystone/common/environment/eventlet_server.py", line 98, in listen 2015-09-18 15:44:50.683 35356 TRACE root backlog=backlog) 2015-09-18 15:44:50.683 35356 TRACE root File "/usr/lib/python2.7/dist-packages/eventlet/convenience.py", line 38, in listen 2015-09-18 15:44:50.683 35356 TRACE root sock.bind(addr) 2015-09-18 15:44:50.683 35356 TRACE root File "/usr/lib/python2.7/socket.py", line 224, in meth 2015-09-18 15:44:50.683 35356 TRACE root return getattr(self._sock,name)(args) 2015-09-18 15:44:50.683 35356 TRACE root error: [Errno 98] Address already in use 2015-09-18 15:44:50.683 35356 TRACE root 2015-09-18 15:44:50.685 35356 CRITICAL keystone [-] error: [Errno 98] Address already in use 2015-09-18 15:44:50.685 35356 TRACE keystone Traceback (most recent call last): 2015-09-18 15:44:50.685 35356 TRACE keystone File "/usr/bin/keystone-all", line 168, in <module> 2015-09-18 15:44:50.685 35356 TRACE keystone serve(servers) 2015-09-18 15:44:50.685 35356 TRACE keystone File "/usr/bin/keystone-all", line 95, in serve 2015-09-18 15:44:50.685 35356 TRACE keystone server.launch_with(launcher) 2015-09-18 15:44:50.685 35356 TRACE keystone File "/usr/bin/keystone-all", line 67, in launch_with 2015-09-18 15:44:50.685 35356 TRACE keystone self.server.listen() 2015-09-18 15:44:50.685 35356 TRACE keystone File "/usr/lib/python2.7/dist-packages/keystone/common/environment/eventlet_server.py", line 98, in listen 2015-09-18 15:44:50.685 35356 TRACE keystone backlog=backlog) 2015-09-18 15:44:50.685 35356 TRACE keystone File "/usr/lib/python2.7/dist-packages/eventlet/convenience.py", line 38, in listen 2015-09-18 15:44:50.685 35356 TRACE keystone sock.bind(addr) 2015-09-18 15:44:50.685 35356 TRACE keystone File "/usr/lib/python2.7/socket.py ... (more)

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-09-21 23:43:55 -0500

jianzj gravatar image

Hi , from your last log , it shows "Address already in use", this error is because the IP and port for keystone service is using by other services.

A few reasons may lead this happen: 1. You have already run a keystone-all service; 2. You made this environment with devstack, and now devstack is runing.

To check this problem, maybe these commands are helpful. 1. "netstat -anop | grep 5000", this will let you know if keystone publish port is in use, and who use it. 2. "ps -ef | grep keystone", to find out if there is a keystone service running. 3. "kill -9 $process_id" , to kill processes of keystone, and rerun this script. 4. "keystone-all --config-dir /etc/keystone" to rerun keystone service, please make sure your configuration file position, if necessary, change config directory to yours.

Hope this could help you.

edit flag offensive delete link more

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-09-18 05:22:46 -0500

Seen: 271 times

Last updated: Sep 21 '15