openstack服务器列表命令出错

upe*_*dra 5 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)
Run Code Online (Sandbox Code Playgroud)

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

upe*_*dra 7

我想出了我目前的openstack凭据中缺少的内容.如果某人遇到与我相同的问题,我会发布这些内容.

OS_PROJECT_DOMAIN_NAME="your domain name"
OS_IDENTITY_API_VERSION=3
Run Code Online (Sandbox Code Playgroud)