Keystone service doesnt start after reboot

asked 2014-05-28 05:02:12 -0500

Nikhil Bedare gravatar image

updated 2014-05-28 08:50:07 -0500

SamYaple gravatar image

Hi, My controller got rebooted for some reason. After the reboot, the keystone service doesnt start.

[root@controller ~]# service openstack-keystone start
Starting keystone:                                         [FAILED]
[root@controller ~]# openstack-status
== Nova services ==
openstack-nova-api:                     active
openstack-nova-cert:                    active
openstack-nova-compute:                 dead      (disabled on boot)
openstack-nova-network:                 dead      (disabled on boot)
openstack-nova-scheduler:               active
openstack-nova-conductor:               active
== Glance services ==
openstack-glance-api:                   active
openstack-glance-registry:              active
== Keystone service ==
openstack-keystone:                     inactive
== Horizon service ==
openstack-dashboard:                    500
== Support services ==
mysqld:                                 active
libvirtd:                               active
messagebus:                             active
qpidd:                                  active
memcached:                              active
== Keystone users ==
WARNING: Bypassing authentication using a token & endpoint (authentication credentials are being ignored).
Unable to establish connection to http://controller:35357/v2.0/users
== Glance images ==
Authorization Failed: Unable to establish connection to http://controller:35357/v2.0/tokens
== Nova managed services ==
ERROR: [Errno 111] Connection refused
== Nova networks ==
ERROR: [Errno 111] Connection refused
== Nova instance flavors ==
ERROR: [Errno 111] Connection refused
== Nova instances ==
ERROR: [Errno 111] Connection refused

Can somebody please help me out ?

Thanks, Nikhil.

edit retag flag offensive close merge delete

Comments

[root@controller ~]# wget localhost:35357 --2014-05-28 06:16:03-- http://localhost:35357/ Resolving localhost... ::1, 127.0.0.1 Connecting to localhost|::1|:35357... failed: Connection refused. Connecting to localhost|127.0.0.1|:35357... failed: Connection refused.

Nikhil Bedare gravatar imageNikhil Bedare ( 2014-05-28 05:16:36 -0500 )edit
1

Can you post your keystone logs (and the upstart log if it looks useful)?

SamYaple gravatar imageSamYaple ( 2014-05-28 08:50:51 -0500 )edit

hi Sam, Please find below the keystone logfile :

2014-05-28 07:37:43.132 7048 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 K. 2014-05-28 07:37:43.146 7048 CRITICAL keystone [-] NoSuchOptError: no such option: public_port

2014-05-28 07:43:59.208 7152 DEBUG keystone-all [-] ************************* log_opt_values /usr/lib/python2.6/site-packages/oslo/config/cfg.py:1932 2014-05-28 07:43:59.209 7152 DEBUG keystone-all [-] Configuration options gathered from: log_opt_values /usr/lib/python2.6/site-packages/oslo/config/cfg.py:1933 2014-05-28 07:43:59.209 7152 DEBUG keystone-all [-] command line args: ['--debug'] log_opt_values /usr/lib/python2.6/site-packages/oslo/config/cfg.py:1934 2014-05-28 07:43:59.209 7152 DEBUG keystone-all [-] config files: ['/usr/share/keystone/keystone-dist.conf', '/etc/keystone/keystone.conf'] log_opt_values /usr/lib/python2.6/site-packages/oslo/config/cfg.py ...(more)

Nikhil Bedare gravatar imageNikhil Bedare ( 2014-05-29 00:34:56 -0500 )edit

There seems to be a configuration issue here. Can you please update your initial post with the keystone.conf file (after removing any information like tokens and passwords)?

SamYaple gravatar imageSamYaple ( 2014-05-29 07:56:46 -0500 )edit