问题描述
环境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 编辑
解决方案二:
解决方案三:
有没人解决方案呢?