Ask Your Question
0

keystone status failed (disabled on boot)

asked 2015-03-25 13:28:23 -0500

JimZb gravatar image

Hello, I am using packstack to install openstack on fedora 20. After installation when I run openstack-status all other services are running except from keystone. Note: keystone user-list command works, it displays users fine.

# openstack-status
== Nova services ==
openstack-nova-api:                     active
openstack-nova-cert:                    active
openstack-nova-compute:                 active
openstack-nova-network:                 inactive  (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  (disabled on boot)

Following the logs at /var/log/keystone/keystone.conf

2015-03-25 10:57:02.538 10933 ERROR keystone.common.environment.eventlet_server [-] Could not bind to 0.0.0.0:35357
2015-03-25 10:57:02.539 10933 ERROR root [-] Failed to start the admin server
2015-03-25 10:57:02.539 10933 TRACE root Traceback (most recent call last):
2015-03-25 10:57:02.539 10933 TRACE root   File "/usr/bin/keystone-all", line 94, in serve
2015-03-25 10:57:02.539 10933 TRACE root     server.launch_with(launcher)
2015-03-25 10:57:02.539 10933 TRACE root   File "/usr/bin/keystone-all", line 66, in launch_with
2015-03-25 10:57:02.539 10933 TRACE root     self.server.listen()
2015-03-25 10:57:02.539 10933 TRACE root   File "/usr/lib/python2.7/site-packages/keystone/common/environment/eventlet_server.py", line 98, in listen
2015-03-25 10:57:02.539 10933 TRACE root     backlog=backlog)
2015-03-25 10:57:02.539 10933 TRACE root   File "/usr/lib/python2.7/site-packages/eventlet/convenience.py", line 39, in listen
2015-03-25 10:57:02.539 10933 TRACE root     sock.bind(addr)
2015-03-25 10:57:02.539 10933 TRACE root   File "/usr/lib64/python2.7/socket.py", line 224, in meth
2015-03-25 10:57:02.539 10933 TRACE root     return getattr(self._sock,name)(*args)
2015-03-25 10:57:02.539 10933 TRACE root error: [Errno 98] Address already in use
2015-03-25 10:57:02.539 10933 TRACE root 
2015-03-25 10:57:02.540 10933 CRITICAL keystone [-] error: [Errno 98] Address already in use
2015-03-25 10:57:02.540 10933 TRACE keystone Traceback (most recent call last):
2015-03-25 10:57:02.540 10933 TRACE keystone   File "/usr/bin/keystone-all", line 164, in <module>
2015-03-25 10:57:02.540 10933 TRACE keystone     serve(*servers)
2015-03-25 10:57:02.540 10933 TRACE keystone   File "/usr/bin/keystone-all", line 94, in serve
2015-03-25 10:57:02.540 10933 TRACE keystone     server.launch_with(launcher)
2015-03-25 10:57:02.540 10933 TRACE keystone   File "/usr/bin/keystone-all", line 66, in launch_with
2015-03-25 10:57:02.540 10933 TRACE keystone     self.server.listen()
2015-03-25 10:57:02.540 10933 TRACE keystone   File "/usr/lib/python2.7/site-packages/keystone/common/environment/eventlet_server.py", line 98, in listen
2015-03-25 10:57:02.540 10933 TRACE keystone     backlog=backlog)
2015-03-25 10:57:02.540 10933 TRACE keystone   File "/usr/lib/python2.7/site-packages/eventlet/convenience.py", line 39, in listen
2015-03-25 10:57:02.540 10933 TRACE keystone     sock.bind(addr)
2015-03-25 10:57:02.540 10933 TRACE keystone   File "/usr/lib64/python2.7/socket.py", line 224, in meth
2015-03-25 10:57:02.540 10933 TRACE keystone     return getattr(self._sock ...
(more)
edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2015-04-14 03:35:55 -0500

yixuan178 gravatar image

updated 2015-04-14 03:43:25 -0500

dbaxps gravatar image

Hello dbaxps, I cannot add more chars in comments. I tried to add answer here.

== Keystone service ==
openstack-keystone:                     failed    (disabled on boot)

[root@rdo7controllernode ~(keystone_admin)]# netstat -ano -p |grep 35357
tcp6       0      0 :::35357                :::*                    LISTEN      1738/httpd           off (0.00/0/0)

2015-04-14 16:22:00.278 21990 INFO keystone.common.kvs.core [-] Using default dogpile sha1_mangle_key as KVS region os-revoke-driver key_mangler
2015-04-14 16:22:00.279 21990 ERROR keystone.common.environment.eventlet_server [-] Could not bind to 0.0.0.0:35357
2015-04-14 16:22:00.279 21990 ERROR root [-] Failed to start the admin server
2015-04-14 16:22:00.279 21990 TRACE root Traceback (most recent call last):
2015-04-14 16:22:00.279 21990 TRACE root   File "/usr/bin/keystone-all", line 94, in serve
2015-04-14 16:22:00.279 21990 TRACE root     server.launch_with(launcher)
2015-04-14 16:22:00.279 21990 TRACE root   File "/usr/bin/keystone-all", line 66, in launch_with
2015-04-14 16:22:00.279 21990 TRACE root     self.server.listen()
2015-04-14 16:22:00.279 21990 TRACE root   File "/usr/lib/python2.7/site-packages/keystone/common/environment/eventlet_server.py", line 98, in listen
2015-04-14 16:22:00.279 21990 TRACE root     backlog=backlog)
2015-04-14 16:22:00.279 21990 TRACE root   File "/usr/lib/python2.7/site-packages/eventlet/convenience.py", line 39, in listen
2015-04-14 16:22:00.279 21990 TRACE root     sock.bind(addr)
2015-04-14 16:22:00.279 21990 TRACE root   File "/usr/lib64/python2.7/socket.py", line 224, in meth
2015-04-14 16:22:00.279 21990 TRACE root     return getattr(self._sock,name)(*args)
2015-04-14 16:22:00.279 21990 TRACE root error: [Errno 98] Address already in use
edit flag offensive delete link more

Comments

You attempted packstack in wrong environment due to port 35357 is busy by process with pid 1738.

It is not install on clean CentOS 7.X instance either you have already ran packstack and ended up with crash.
dbaxps gravatar imagedbaxps ( 2015-04-14 03:51:00 -0500 )edit

Please share your keystone configuration file details. As per the log it seems there is a issue with sync on DB.. Try to drop the keystone DB and create it. Sync should be done before restart the keystone service.

Pradipta_OS_M gravatar imagePradipta_OS_M ( 2015-04-14 05:13:56 -0500 )edit

how to restart the keystone service manually , because Im also getting same error

Dilshath gravatar imageDilshath ( 2016-09-01 00:56:33 -0500 )edit

systemctl restart httpd ( on RDO Mitaka,Liberty )

dbaxps gravatar imagedbaxps ( 2016-09-01 04:23:59 -0500 )edit
0

answered 2015-03-25 13:37:18 -0500

dbaxps gravatar image

updated 2015-03-25 15:08:36 -0500

Follow RDO Quick start page (Juno) on Fedora 21. Keystone would be fine
Support was dropped on F20.
This report obtained on F21

[root@junoFedora21 ~]# uname -a
Linux junoFedora21.localdomain 3.19.1-201.fc21.x86_64 #1 SMP Wed Mar 18 04:29:24 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
[root@junoFedora21 ~]# rpm -qa | grep openstack
openstack-puppet-modules-2014.2.11-1.fc22.noarch
openstack-nova-conductor-2014.2.2-1.fc22.noarch
openstack-packstack-2014.2-0.18.dev1462.gbb05296.fc22.noarch
openstack-nova-console-2014.2.2-1.fc22.noarch
python-openstackclient-1.0.1-1.fc22.noarch
openstack-ceilometer-compute-2014.2.2-1.fc22.noarch
openstack-ceilometer-notification-2014.2.2-1.fc22.noarch
openstack-dashboard-2014.2.2-1.fc22.noarch
python-django-openstack-auth-1.1.7-1.fc22.noarch
openstack-swift-container-2.2.0-1.fc22.noarch
openstack-swift-proxy-2.2.0-1.fc22.noarch
openstack-ceilometer-common-2014.2.2-1.fc22.noarch
openstack-glance-2014.2.2-1.fc22.noarch
openstack-nova-compute-2014.2.2-1.fc22.noarch
openstack-ceilometer-collector-2014.2.2-1.fc22.noarch
openstack-swift-2.2.0-1.fc22.noarch
openstack-neutron-openvswitch-2014.2.2-1.fc22.noarch
openstack-nova-common-2014.2.2-1.fc22.noarch
openstack-swift-object-2.2.0-1.fc22.noarch
openstack-keystone-2014.2.2-1.fc22.noarch
openstack-neutron-ml2-2014.2.2-1.fc22.noarch
openstack-nova-scheduler-2014.2.2-1.fc22.noarch
openstack-ceilometer-api-2014.2.2-1.fc22.noarch
openstack-nova-api-2014.2.2-1.fc22.noarch
openstack-neutron-2014.2.2-1.fc22.noarch
openstack-ceilometer-alarm-2014.2.2-1.fc22.noarch
openstack-swift-account-2.2.0-1.fc22.noarch
openstack-ceilometer-central-2014.2.2-1.fc22.noarch
openstack-swift-plugin-swift3-1.7-4.fc21.noarch
openstack-utils-2014.2-1.fc21.noarch
openstack-packstack-puppet-2014.2-0.18.dev1462.gbb05296.fc22.noarch
openstack-nova-cert-2014.2.2-1.fc22.noarch
openstack-cinder-2014.2.2-1.fc22.noarch
openstack-nova-novncproxy-2014.2.2-1.fc22.noarch
edit flag offensive delete link more

Comments

the quickstart guide https://www.rdoproject.org/Quickstart says it not recommended.

JimZb gravatar imageJimZb ( 2015-03-25 14:00:23 -0500 )edit

Ignore or select CentOS 7. F20 is way nowhere.

dbaxps gravatar imagedbaxps ( 2015-03-25 15:10:03 -0500 )edit

I also have same issue on centos 7. rpm -qa|grep keystone openstack-keystone-2014.2.2-1.el7.noarch python-keystonemiddleware-1.2.0-1.el7.centos.noarch python-keystoneclient-0.11.1-1.el7.centos.noarch python-keystone-2014.2.2-1.el7.noarch

3.10.0-229.1.2.el7.x86_64 #1 SMP Fri Mar 27 03:04:26 UTC 201

yixuan178 gravatar imageyixuan178 ( 2015-04-14 03:19:22 -0500 )edit

Is it first attempt of packstack on clean CentOS 7.1 install ?

dbaxps gravatar imagedbaxps ( 2015-04-14 03:23:46 -0500 )edit

Hello dbaxps, Yes, I first fresh centos7.1, then install rdo. 2015-04-14 16:22:00.278 21990 INFO keystone.common.kvs.core [-] Using default dogpile sha1_mangle_key as KVS region os-revoke-driver key_mangler 2015-04-14 16:22:00.279 21990 ERROR keystone.common.environment.eventlet_server [-] Could

yixuan178 gravatar imageyixuan178 ( 2015-04-14 03:34:47 -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: 2015-03-25 13:28:23 -0500

Seen: 5,358 times

Last updated: Apr 14 '15