openstack服务器列表命令出错

时间:2017-01-30 02:01:53

标签: openstack openstack-neutron

我在我的CentOs VM上安装了Openstack,当我尝试查看已启动实例的列表时,我收到此错误

$ openstack server list

Ignoring domain related config user_domain_name because identity API version is 2.0
Ignoring domain related config user_domain_name because identity API version is 2.0
Ignoring domain related config user_domain_name because identity API version is 2.0
Ignoring domain related config user_domain_name because identity API version is 2.0
Expecting to find domain in user - the server could not comply with the request since it is either malformed or otherwise incorrect. The client is assumed to be in error. (HTTP 400) (Request-ID: req-453d115d-afc8-4ea0-9c2a-4f55fd7591ba)

有人可以告诉我如何更改user_domain_name吗?

1 个答案:

答案 0 :(得分:7)

我弄清楚当前的openstack凭证中缺少什么。如果某人遇到与我相同的问题,我会发布这些内容。

OS_PROJECT_DOMAIN_NAME="your domain name"
OS_IDENTITY_API_VERSION=3