Ask Your Question

keystone service creation error

asked 2015-05-03 08:29:27 -0600

sri krishna gravatar image

i have a centos 7 minimal installation. i am trying to setup keystone service in KILO release. i am following the setp from when i run service creation for keystone i get the below error:

#openstack service create --type identity --description "Openstack Identity" keystone

Traceback (most recent call last):
  File "/usr/bin/openstack", line 6, in <module>
    from import main
  File "/usr/lib/python2.7/site-packages/openstackclient/", line 28, in <module>
    from openstackclient.common import clientmanager
  File "/usr/lib/python2.7/site-packages/openstackclient/common/", line 25, in <module>
    from openstackclient.api import auth
  File "/usr/lib/python2.7/site-packages/openstackclient/api/", line 24, in <module>
    from openstackclient.common import utils
  File "/usr/lib/python2.7/site-packages/openstackclient/common/", line 24, in <module>
    from oslo_utils import importutils
ImportError: No module named oslo_utils

the package/modules for OSLO are installed:

[root@controller ~]# rpm -qa | grep oslo

if i try installing the modules via PIP, the config files created are different and when i try to request an authentication token from the Identity, it just hangs with out any response.

what am i missing?

edit retag flag offensive close merge delete

2 answers

Sort by » oldest newest most voted

answered 2015-05-09 01:46:43 -0600

sunnyarora gravatar image

updated 2015-05-15 05:48:42 -0600

Can you please check running

pip install oslo.concurrency

After this run command for creating the identity service, if you get error of any other missing pakage or mudule for ex: missing netifaces modules. Then run command

pip install netifaces

edit flag offensive delete link more

answered 2015-05-11 11:02:18 -0600

huajun_zhou gravatar image

please edit /usr/lib/python2.7/site-packages/openstackclient/common/

add :

import oslo

If you reported the following error:

ImportError: No module named netifaces

Perform(You must install gcc):

# pip install netifaces
edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools


Asked: 2015-05-03 08:29:27 -0600

Seen: 1,618 times

Last updated: May 15 '15