Ask Your Question
0

Openstack Juno Installation on RHEL 7.2

asked 2016-03-10 00:15:21 -0500

CloudIsMyLife gravatar image

updated 2016-03-10 02:04:20 -0500

I Get the following error when i start the Openstack-keystone service.I have made the changes in the keystone.conf file as mentioned in :

I used this link for installation

[root@controller ~]# systemctl status openstack-keystone.service
● openstack-keystone.service - OpenStack Identity Service (code-named Keystone)
   Loaded: loaded (/usr/lib/systemd/system/openstack-keystone.service; enabled; vendor preset: disabled)
   Active: failed (Result: start-limit) since Thu 2016-03-10 03:33:06 EST; 5s ago
  Process: 12279 ExecStart=/usr/bin/keystone-all (code=exited, status=1/FAILURE)
 Main PID: 12279 (code=exited, status=1/FAILURE)

Mar 10 03:33:06 controller systemd[1]: Failed to start OpenStack Identity Service (code-named Keystone).
Mar 10 03:33:06 controller systemd[1]: Unit openstack-keystone.service entered failed state.
Mar 10 03:33:06 controller systemd[1]: openstack-keystone.service failed.
Mar 10 03:33:06 controller systemd[1]: openstack-keystone.service holdoff time over, scheduling restart.
Mar 10 03:33:06 controller systemd[1]: start request repeated too quickly for openstack-keystone.service
Mar 10 03:33:06 controller systemd[1]: Failed to start OpenStack Identity Service (code-named Keystone).
Mar 10 03:33:06 controller systemd[1]: Unit openstack-keystone.service entered failed state.
Mar 10 03:33:06 controller systemd[1]: openstack-keystone.service failed.
edit retag flag offensive close merge delete

Comments

Please paste the file(search for "ERROR"):

/var/log/keystone/keystone.log
pjb gravatar imagepjb ( 2016-03-10 01:28:34 -0500 )edit

2016-03-10 03:48:22.689 16078 WARNING oslo_log.versionutils [-] Deprecated: direct import of driver is deprecated as of Liberty in favor of entrypoints and may be removed in N. 2016-03-10 03:48:22.916 16078 WARNING root [-] Running keystone via eventlet is deprecated as of Kilo in favor of running i

CloudIsMyLife gravatar imageCloudIsMyLife ( 2016-03-10 02:57:46 -0500 )edit

I am getting the same error.. after performing the steps u said.

CloudIsMyLife gravatar imageCloudIsMyLife ( 2016-03-10 06:51:10 -0500 )edit

1 answer

Sort by » oldest newest most voted
0

answered 2016-03-10 03:03:27 -0500

CloudIsMyLife gravatar image

Below Mentioned is the Content of Keystone.log

2016-03-10 06:15:18.396 18189 ERROR keystone File "/usr/lib64/python2.7/socket.py", line 224, in meth 2016-03-10 06:15:18.396 18189 ERROR keystone return getattr(self._sock,name)(args) 2016-03-10 06:15:18.396 18189 ERROR keystone error: [Errno 98] Address already in use 2016-03-10 06:15:18.396 18189 ERROR keystone 2016-03-10 06:15:19.802 18201 WARNING oslo_log.versionutils [-] Deprecated: direct import of driver is deprecated as of Liberty in favor of entrypoints and may be removed in N. 2016-03-10 06:15:20.062 18201 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-03-10 06:15:20.064 18201 ERROR keystone.common.environment.eventlet_server [-] Could not bind to 0.0.0.0:35357 2016-03-10 06:15:20.065 18201 ERROR root [-] Failed to start the admin server 2016-03-10 06:15:20.065 18201 ERROR root Traceback (most recent call last): 2016-03-10 06:15:20.065 18201 ERROR root File "/usr/lib/python2.7/site-packages/keystone/server/eventlet.py", line 88, in serve 2016-03-10 06:15:20.065 18201 ERROR root server.launch_with(launcher) 2016-03-10 06:15:20.065 18201 ERROR root File "/usr/lib/python2.7/site-packages/keystone/server/eventlet.py", line 54, in launch_with 2016-03-10 06:15:20.065 18201 ERROR root self.server.listen() 2016-03-10 06:15:20.065 18201 ERROR root File "/usr/lib/python2.7/site-packages/keystone/common/environment/eventlet_server.py", line 110, in listen 2016-03-10 06:15:20.065 18201 ERROR root backlog=backlog) 2016-03-10 06:15:20.065 18201 ERROR root File "/usr/lib/python2.7/site-packages/eventlet/convenience.py", line 43, in listen 2016-03-10 06:15:20.065 18201 ERROR root sock.bind(addr) 2016-03-10 06:15:20.065 18201 ERROR root File "/usr/lib64/python2.7/socket.py", line 224, in meth 2016-03-10 06:15:20.065 18201 ERROR root return getattr(self._sock,name)(args) 2016-03-10 06:15:20.065 18201 ERROR root error: [Errno 98] Address already in use 2016-03-10 06:15:20.065 18201 ERROR root 2016-03-10 06:15:20.066 18201 CRITICAL keystone [-] error: [Errno 98] Address already in use 2016-03-10 06:15:20.066 18201 ERROR keystone Traceback (most recent call last): 2016-03-10 06:15:20.066 18201 ERROR keystone File "/usr/bin/keystone-all", line 10, in <module> 2016-03-10 06:15:20.066 18201 ERROR keystone sys.exit(main()) 2016-03-10 06:15:20.066 18201 ERROR keystone File "/usr/lib/python2.7/site-packages/keystone/cmd/all.py", line 38, in main 2016-03-10 06:15:20.066 18201 ERROR keystone eventlet_server.run(possible_topdir) 2016-03-10 06:15:20.066 18201 ERROR keystone File "/usr/lib/python2.7/site-packages/keystone/server/eventlet.py", line 156, in run 2016-03-10 06:15:20.066 18201 ERROR keystone serve(servers) 2016-03-10 06:15:20.066 18201 ERROR keystone File "/usr/lib/python2.7 ... (more)

edit flag offensive delete link more

Comments

Check this in keystone.conf file.

connection = mysql://keystone:$SERVICE_PWD@$CONTROLLER_IP/keystone

Replace SERVICE_PWD AND CONTROLLER_IP accordingly.

Also check whether httpd is running or not?

# systemctl status httpd.service
pjb gravatar imagepjb ( 2016-03-10 04:13:26 -0500 )edit

I am getting the same error.. after performing the steps u said.

CloudIsMyLife gravatar imageCloudIsMyLife ( 2016-03-10 07:05:41 -0500 )edit

What is the output of the following command ?

 # systemctl status httpd.service
pjb gravatar imagepjb ( 2016-03-11 02:28:21 -0500 )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: 2016-03-10 00:15:21 -0500

Seen: 230 times

Last updated: Mar 10 '16