Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

keystone status failed (disabled on boot)

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,name)(*args)
2015-03-25 10:57:02.540 10933 TRACE keystone error: [Errno 98] Address already in use

Output of netstat command

#netstat -ant | grep :35357
tcp6       0      0 :::35357                :::*                    LISTEN     
tcp6       0      0 192.168.1.129:35357     192.168.1.129:48425     TIME_WAIT  
tcp6       0      0 192.168.1.129:35357     192.168.1.129:48430     TIME_WAIT  
tcp6       0      0 192.168.1.129:35357     192.168.1.129:48417     TIME_WAIT  
tcp6       0      0 192.168.1.129:35357     192.168.1.129:48431     TIME_WAIT  
tcp6       0      0 192.168.1.129:35357     192.168.1.129:48415     TIME_WAIT  
tcp6       0      0 192.168.1.129:35357     192.168.1.129:48423     TIME_WAIT  
tcp6       0      0 192.168.1.129:35357     192.168.1.129:48416     TIME_WAIT  
tcp6       0      0 192.168.1.129:35357     192.168.1.129:48427     TIME_WAIT

Newbie here...