can't install keystone devstack ./ keystone did not start

asked 2013-05-07 14:26:51 -0600

anonymous user


updated 2013-06-11 10:16:00 -0600

fifieldt gravatar image

When I try to install devstack and run, I get this at the end and keystone fail to install.

+ screen -S stack -p key -X stuff 'cd /opt/stack/keystone && /opt/stack/keystone/bin/keystone-all --config-file /etc/keystone/keystone.conf --log-config /etc/keystone/log'ing.conf -d --debug || touch "/opt/stack/status/stack/key.failure"
+ echo 'Waiting for keystone to start...' 
Waiting for keystone to start...
+ timeout 60 sh -c 'while ! http_proxy= curl -s         >/dev/null; do sleep 1; done'
+ die 326 'keystone did not start'
+ local exitcode=0
+ set +o xtrace
[ERROR] ./ keystone did not start

my localrc file


In stackrc I have done following modifications

# unified auth system (manages accounts/tokens)

Anyone know what I can do to get this to work?

edit retag flag offensive close merge delete



Check on this site how to debug OpenStack: you'll need to look at the logs to find out what's going on

smaffulli gravatar imagesmaffulli ( 2013-05-07 18:58:44 -0600 )edit

2 answers

Sort by ยป oldest newest most voted

answered 2013-05-08 08:35:26 -0600

armando-migliaccio gravatar image


screen -x stack

And see why the service failed.

You don't need to make modifications to the stackrc file, just override the variable values with what you need in the localrc one.

edit flag offensive delete link more


I get this when i do screen -x stack

AttributeError: 'NoneType' object has no attribute 'rpartition'
fredrik gravatar imagefredrik ( 2013-05-11 10:53:23 -0600 )edit

Hi I get an error like this vagrant@controller:/opt/stack/horizon$ cd /opt/stack/keystone && /opt/stack/keystone/bin/keystone-all --config-file /etc/keystone/keystone.conf --log-config /etc/keystone/logging.conf --debug || echo "key failed to start" | tee "/opt/stack/status/stack/key.failure" Traceback (most recent call last): File "/opt/stack/keystone/bin/keystone-all", line 36, in <module> import pbr.version ImportError: No module named pbr.version key failed to start

joshua gravatar imagejoshua ( 2014-01-07 06:10:18 -0600 )edit

Hi Joshua, I had the same problem. install python-pbr package and run again. It will solve the problem. Regards, asanka88

asanka88 gravatar imageasanka88 ( 2014-02-10 16:13:57 -0600 )edit

answered 2013-05-11 10:51:44 -0600

When i do this screen -x stack i get this:

Traceback (most recent call last):
File "/opt/stack/keystone/bin/keystone-all", line 118, in <module>
File "/opt/stack/keystone/bin/keystone-all", line 35, in create_server
app = deploy.loadapp('config:%s' % conf, name=name)
File "/usr/lib/python2.7/dist-packages/paste/deploy/", line 247, in loadapp
return loadobj(APP, uri, name=name, **kw)
File "/usr/lib/python2.7/dist-packages/paste/deploy/", line 272, in loadobj
return context.create()
File "/usr/lib/python2.7/dist-packages/paste/deploy/", line 710, in create
return self.object_type.invoke(self)
File "/usr/lib/python2.7/dist-packages/paste/deploy/", line 144, in invoke
File "/usr/lib/python2.7/dist-packages/paste/deploy/", line 56, in fix_call
val = callable(*args, **kw)
File "/usr/lib/python2.7/dist-packages/paste/", line 25, in urlmap_factory
app = loader.get_app(app_name, global_conf=global_conf)
File "/usr/lib/python2.7/dist-packages/paste/deploy/", line 350, in get_app
name=name, global_conf=global_conf).create()
File "/usr/lib/python2.7/dist-packages/paste/deploy/", line 362, in  app_context
APP, name=name, global_conf=global_conf)
File "/usr/lib/python2.7/dist-packages/paste/deploy/", line 450, in get_context
File "/usr/lib/python2.7/dist-packages/paste/deploy/", line 559, in _pipeline_app_context
APP, pipeline[-1], global_conf)
File "/usr/lib/python2.7/dist-packages/paste/deploy/", line 458, in get_context
File "/usr/lib/python2.7/dist-packages/paste/deploy/", line 517, in _context_from_explicit
value = import_string(found_expr)
File "/usr/lib/python2.7/dist-packages/paste/deploy/", line 22, in import_string
return pkg_resources.EntryPoint.parse("x=" + s).load(False)
File "/usr/lib/python2.7/dist-packages/", line 2013, in load
entry = __import__(self.module_name, globals(),globals(), ['__name__'])
File "/opt/stack/keystone/keystone/", line 44, in <module>
File "/opt/stack/keystone/keystone/common/", line 32, in __wrapped_init__
init(self, *args, **kwargs)
File "/opt/stack/keystone/keystone/contrib/mapping/", line 17, in __init__
super(Manager, self).__init__(CONF.mapping.driver)
File "/opt/stack/keystone/keystone/common/", line 36, in __init__
self.driver = importutils.import_object(driver_name)
File "/opt/stack/keystone/keystone/openstack/common/", line 40, in import_object
return import_class(import_str)(*args, **kwargs)
File "/opt/stack/keystone/keystone/openstack/common/", line 28, in import_class
mod_str, _sep, class_str = import_str.rpartition('.')
AttributeError: 'NoneType' object has no attribute 'rpartition'
edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools


Asked: 2013-05-07 14:26:51 -0600

Seen: 4,970 times

Last updated: Nov 13 '13