安装keystone执行 keystone-manage pki_setup 报错

问题描述

环境centeros7安装keystone执行keystone-managepki_setup--keystone-userroot--keystone-grouproot报错,寻找解决方法,谢谢[root@openstack-node1~]#cd/usr/local/src/keystone-2014.1.5[root@openstack-node1keystone-2014.1.5]#pythonsetup.pyinstall[root@openstack-node1keystone-2014.1.5]#mkdir/etc/keystone[root@openstack-node1keystone-2014.1.5]#mkdir/var/log/keystone[root@openstack-node1keystone-2014.1.5]#mkdir/var/run/keystone[root@openstack-node1keystone-2014.1.5]#cdetc/[root@openstack-node1etc]#lltotal72-rw-rw-r--.1300030001540Jun192015default_catalog.templates-rw-rw-r--.13000300038424Jun192015keystone.conf.sample-rw-rw-r--.1300030003635Jun192015keystone-paste.ini-rw-rw-r--.1300030001046Jun192015logging.conf.sample-rw-rw-r--.1300030006397Jun192015policy.json-rw-rw-r--.1300030009032Jun192015policy.v3cloudsample.json[root@openstack-node1etc]#cpkeystone.conf.sample/etc/keystone/keystone.conf[root@openstack-node1etc]#cpkeystone-paste.ini/etc/keystone/[root@openstack-node1etc]#cplogging.conf.sample/etc/keystone/logging.conf[root@openstack-node1etc]#cppolicy.json/etc/keystone/[root@openstack-node1etc]#keystone-managepki_setup--keystone-userroot--keystone-grouproot/usr/lib/python2.7/site-packages/keystoneclient/access.py:20:DeprecationWarning:Theoslonamespacepackageisdeprecated.Pleaseuseoslo_utilsinstead.fromoslo.utilsimporttimeutilsTraceback(mostrecentcalllast):File"/usr/bin/keystone-manage",line37,in<module>fromkeystoneimportcliFile"/usr/lib/python2.7/site-packages/keystone/cli.py",line27,in<module>fromkeystoneimporttokenFile"/usr/lib/python2.7/site-packages/keystone/token/__init__.py",line17,in<module>fromkeystone.tokenimportcontrollersFile"/usr/lib/python2.7/site-packages/keystone/token/controllers.py",line18,in<module>fromkeystoneclient.commonimportcmsFile"/usr/lib/python2.7/site-packages/keystoneclient/__init__.py",line28,in<module>fromkeystoneclientimportclientFile"/usr/lib/python2.7/site-packages/keystoneclient/client.py",line13,in<module>fromkeystoneclientimportdiscoverFile"/usr/lib/python2.7/site-packages/keystoneclient/discover.py",line19,in<module>fromkeystoneclientimportsessionasclient_sessionFile"/usr/lib/python2.7/site-packages/keystoneclient/session.py",line21,in<module>fromoslo.serializationimportjsonutilsImportError:Nomodulenamedserialization应该如何解决

解决方案

本帖最后由 liu_yulong 于 2016-06-01 18:31:08 编辑
解决方案二:

解决方案三:
有没人解决方案呢?

时间: 2024-09-20 22:07:11

安装keystone执行 keystone-manage pki_setup 报错的相关文章

fi-安装FI HD的时候,执行preinstall.sh,报错

问题描述 安装FI HD的时候,执行preinstall.sh,报错 安装FI HD的时候,执行preinstall.sh,报错Error: Don't find [dos2unix.x86_64] rpm package in /media/ for 10.4.17.126 ,但是查看了/media/下是存在这个包的,操作系统是redhat-6.4,急急急啊

执行gradle build一直报错

问题描述 执行gradle build一直报错 一直报错 multi-project-build:core:unspecified 跟项目配置文件: build.gradle subprojects { apply plugin: 'java' apply plugin: 'eclipse' repositories { mavenCentral() } } settings.gradle include 'app' include 'core' 子项目app的: apply plugin: '

安装jpeg.tar.gz的时候报错

make: Nothing to be done for `unix';./libtool: Command not found make: *** [jcapimin.lo] Error 127问题 安装jpeg.tar.gz的时候报错 [root@localhost src]# make ./libtool --mode=compile gcc -O2  -I. -c ./jcapimin.c make: ./libtool: Command not found make: *** [jca

android adb-mac下用Android adb命令安装apk文件到真机报错

问题描述 mac下用Android adb命令安装apk文件到真机报错 MacdeMacBook-Pro:~ mac$ adb devices List of devices attached 0021e8d2e115e57a device MacdeMacBook-Pro:~ mac$ adb install -r ~/downloads/app-release.apk failed to copy '/Users/mac/downloads/app-release.apk' to '/dat

servlet内部跳转if语句不执行,也不报错

问题描述 servlet内部跳转if语句不执行,也不报错 } else if ("shoppingCartBooks".equals(flag)) { String username = req.getParameter("username"); System.out.println(username+"****"); if (username != null) { List list = bs.getAllBooksInShoppingCart

求帮助!在windows下安装reviewboard执行 setup.py install 时报错。

问题描述 求帮助!在windows下安装reviewboard执行 setup.py install 时报错. 我是在Win7 32位下面操作的. in CMD window C:reviewBoard>setup.py install running install running bdist_egg running egg_info writing requirements to ReviewBoard.egg-inforequires.txt writing ReviewBoard.egg

oracle11g-linux安装oracle11 rac集群,报错,请专家帮忙解释下是哪里问题,感谢

问题描述 linux安装oracle11 rac集群,报错,请专家帮忙解释下是哪里问题,感谢 解决方案 图太小,看不清,建议参考:http://blog.chinaunix.net/uid-14779297-id-1988248.html 解决方案二: http://wenku.baidu.com/link?url=DpFOy89l9FBzJo0qul70p81mRk9vXwjlNNgISVaKRSSyPKGy9Yoq389lRVG9sXLeRaWl7j71IGIhRnYt9SJlOKtpT22

pyqt-ubuntu安装PyQt的IDE, eric总是报错,求解

问题描述 ubuntu安装PyQt的IDE, eric总是报错,求解 解决方案 可以了... 重新安装了下 sudo apt-get install libqscintilla2-dev

段错误-在ubuntu环境下执行python程序,报错 segment error

问题描述 在ubuntu环境下执行python程序,报错 segment error 请教各位朋友们,应该如何查看出错的代码文件和行数呢,只报错segment error,无法知道程序哪里错了.而且程序本身很长,大概几千行代码,没有错误定位很难调试. 请问如何打印出具体的错误信息呢,或者如何调试呢? 在此,先谢谢各位朋友们了. 解决方案 生成dump文件,然后gdb调试.看堆栈. 不过你python程序还可以对print打印信息来分析. 解决方案二: segment error 往往是指针的问题

exception-myeclipse导出Runnable,在windows下可执行,linux下报错

问题描述 myeclipse导出Runnable,在windows下可执行,linux下报错 mmap failed for CEN and END part of zip file Exception in thread "main" java.util.zip.ZipException: error in opening zip file at java.util.zip.ZipFile.open(Native Method) at java.util.zip.ZipFile.(Z