【问题标题】:Error with openstack server list commandopenstack server list 命令出错
【发布时间】:2017-06-15 03:37:10
【问题描述】:

我在我的 CentOs 虚拟机上安装了 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)

谁能告诉我如何更改用户域名?

【问题讨论】:

  • 我相信您使用的是 Keystone v2。在 v2 中,没有域的概念。域包含在 Keystone 的 V3 中(顺便说一句,keystone 是身份管理器)。所以我的猜测是你的 nova 正在尝试进行 v3 调用,但一些参数被忽略了,因为它们不是由旧版本的 Keystone 管理的。你能检查一下你使用的是什么版本的keystone吗?您可能需要更新它。

标签: openstack openstack-neutron


【解决方案1】:

我发现我当前的 openstack 凭证中缺少什么。如果有人和我有同样的问题,我会发布这些。

OS_PROJECT_DOMAIN_NAME="your domain name"
OS_IDENTITY_API_VERSION=3

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2021-12-26
    • 1970-01-01
    • 2018-01-02
    • 1970-01-01
    相关资源
    最近更新 更多