我遵循hastexo指南创build了一个OpenStack Cloud。 Keystone服务和应该运行在不同的机器上。 但是,当我想在控制台中运行glance-api来进行debugging时,出现以下错误:
错误:无法从configuration文件/etc/glance/glance-api-paste.ini中加载glance-api-keystone。 Got:ImportError('No module named keystone.middleware.auth_token',)
所以Glance API没有运行。 我正在运行Ubuntu 12.04 LTS和Openstack Essex。
如果你想使用keystone进行authentication,你将需要安装一些额外的Python模块。 这些对于keystone服务器及其客户端都是必需的。 尝试运行
apt-get install python-keystone python-keystoneclient