[rhos-list] keystone dead after a reboot

Prashanth Prahalad prashanth.prahal at gmail.com
Tue May 14 06:36:24 UTC 2013


Hi Folks,

Keystone on my machine came up dead after a reboot. It didn't log anything
at /var/log/keystone/keystone.log.

[prashp at r5-20 ~(keystone_admin)]$ sudo service openstack-keystone start
Starting keystone:                                         [  OK  ]
You have new mail in /var/spool/mail/root
[prashp at r5-20 ~(keystone_admin)]$ ps -ef | grep keystone
prashp   18436 12452  0 23:31 pts/4    00:00:00 grep keystone
[prashp at r5-20 ~(keystone_admin)]$ sudo service openstack-keystone status
keystone dead but pid file exists

Tried to start the service by-hand and it throws up this error :

[root at r5-20 ~]# /usr/bin/python /usr/bin/keystone-all --config-file
/etc/keystone/keystone.conf
Traceback (most recent call last):
  File "/usr/bin/keystone-all", line 102, in <module>
    options = deploy.appconfig('config:%s' % paste_config)
  File
"/usr/lib/python2.6/site-packages/PasteDeploy-1.5.0-py2.6.egg/paste/deploy/loadwsgi.py",
line 261, in appconfig
    global_conf=global_conf)
  File
"/usr/lib/python2.6/site-packages/PasteDeploy-1.5.0-py2.6.egg/paste/deploy/loadwsgi.py",
line 296, in loadcontext
    global_conf=global_conf)
  File
"/usr/lib/python2.6/site-packages/PasteDeploy-1.5.0-py2.6.egg/paste/deploy/loadwsgi.py",
line 320, in _loadconfig
    return loader.get_context(object_type, name, global_conf)
  File
"/usr/lib/python2.6/site-packages/PasteDeploy-1.5.0-py2.6.egg/paste/deploy/loadwsgi.py",
line 408, in get_context
    object_type, name=name)
  File
"/usr/lib/python2.6/site-packages/PasteDeploy-1.5.0-py2.6.egg/paste/deploy/loadwsgi.py",
line 587, in find_config_section
    self.filename))
LookupError: No section 'main' (prefixed by 'app' or 'application' or
'composite' or 'composit' or 'pipeline' or 'filter-app') found in config
/etc/keystone/keystone.conf

Nothing's changed in the keystone.conf and it was working fine before
reboot. Interestingly, I have another machine which is running keystone
with almost identical keystone conf and that seems to be fine.

Here's my keystone.conf:
[DEFAULT]
admin_token = 2f3896f0eaf14c55a17f3df693eee01b
bind_host = 0.0.0.0
public_port = 5000
admin_port = 35357
compute_port = 3000
verbose = False
debug = False
log_file = /var/log/keystone/keystone.log
log_dir = /var/log/keystone
[sql]
connection = mysql://keystone_admin:b25ec036c7404ed5@10.9.10.43/keystone
idle_timeout = 200
[identity]
[catalog]
driver = keystone.catalog.backends.sql.Catalog
[token]
[policy]
[ec2]
[ssl]
[signing]
[ldap]
[paste_deploy]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/rhos-list/attachments/20130513/927388eb/attachment.htm>


More information about the rhos-list mailing list