Openstack模块keystone模块安装问题

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Openstack模块keystone模块安装问题相关的知识,希望对你有一定的参考价值。

我安装keystone时遇到如下问题,迫切需要指点,希望能得到解答,不胜感激。
keystone模块我前前后后安装了不下6遍每次都遇到这个问题:
[root@openstack01 keystone]# keystone-manage db_sync
Traceback (most recent call last):
File "/usr/bin/keystone-manage", line 30, in <module>
from keystone import cli
File "/usr/lib/python2.6/site-packages/keystone/cli.py", line 24, in <module>
from keystone import backends
File "/usr/lib/python2.6/site-packages/keystone/backends.py", line 13, in <module>
from keystone import assignment
File "/usr/lib/python2.6/site-packages/keystone/assignment/__init__.py", line 15, in <module>
from keystone.assignment import controllers # noqa
File "/usr/lib/python2.6/site-packages/keystone/assignment/controllers.py", line 26, in <module>
from keystone.assignment import schema
File "/usr/lib/python2.6/site-packages/keystone/assignment/schema.py", line 13, in <module>
from keystone.common.validation import parameter_types
File "/usr/lib/python2.6/site-packages/keystone/common/validation/__init__.py", line 16, in <module>
from keystone.common.validation import validators
File "/usr/lib/python2.6/site-packages/keystone/common/validation/validators.py", line 16, in <module>
from keystone import exception
File "/usr/lib/python2.6/site-packages/keystone/exception.py", line 66
for k, v in six.iteritems(kwargs)
^
SyntaxError: invalid syntax

参考技术A keystone安装包下有个requirements.txt文件,里面有要求装的环境,你没装吧 参考技术B 你确定你的keystone安装成功了?成功的话数据库配置对了?还有keystone的配置文件

以上是关于Openstack模块keystone模块安装问题的主要内容,如果未能解决你的问题,请参考以下文章

OpenStack主要逻辑模块–Keystone身份验证服务

openstack成长之旅 - 4 keystone的介绍及安装

openstack keystone整体架构与功能

Openstack keystone组件详解

OpenStack组件系列?Keystone

OpenStack__keystone