未能在OpenStack中发现可用标识

未能在OpenStack中发现可用标识,openstack,keystone,openstack-keystone,Openstack,Keystone,Openstack Keystone,我对OpenStack的安装有点问题。 当我使用此选项时: openstack service list 终端返回此错误: Failed to discover available identity versions when contacting http://controller:35357/v3. Attempting to parse version from URL. Internal Server Error (HTTP 500) 解决方案是什么?在我的例子中,OS_CACER

我对OpenStack的安装有点问题。 当我使用此选项时:

openstack service list
终端返回此错误:

Failed to discover available identity versions when contacting 
http://controller:35357/v3. Attempting to parse version from URL.
Internal Server Error (HTTP 500)

解决方案是什么?

在我的例子中,OS_CACERT env变量缺失

例如:


OS\u CACERT=/etc/ssl/certs/Trust\u Root.pem

检查开放式堆栈服务是否正常工作


ps-ef | grep stack

您需要阅读keystone和前端日志才能看到真正的错误。。。它们位于/var/log/keystone/keystone.log和/var/log/httpd/error.log或/var/log/horizon/horizon.log。。。没有这些信息,你不可能知道它是什么错误。。。可能是权限、数据库、错误的配置文件和其他很多。。。另一件事,检查rabbit mq是否正在运行,也许它死了。。。