【问题标题】:cinder redirecting public endpoint to httpcinder 将公共端点重定向到 http
【发布时间】:2019-01-28 18:12:58
【问题描述】:

我正在运行 cinder 客户端并尝试使用 openstack 端点,但是当我运行 cinder 显示请求被重定向到 http 端点并被中止

#cinder --version 4.1.0

#cinder show 3988928-79b0-4e2e-90a9-38089af5b46e ERROR: Unable to establish connection to http://mydomain:8776/v3/35f4380e80074591a9fd746c09e39d5c/volumes/detail?all_tenants=1&marker=6088358b-2905-42a1-aa50-a014c1dc8147: ('Connection aborted.', BadStatusLine("''",))

知道为什么这个请求会被重定向

【问题讨论】:

    标签: openstack openstack-cinder


    【解决方案1】:

    “cinder” CLI 已弃用,改为使用“openstack” CLI:

    openstack volume show 3988928-79b0-4e2e-90a9-38089af5b46e"
    

    如果您出于某种原因仍想使用“cinder show”,请将 OS_VOLUME_API_VERSION 设置为 3.50。

    export OS_VOLUME_API_VERSION=3.50
    cinder show 3988928-79b0-4e2e-90a9-38089af5b46e
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2012-09-30
      • 2018-04-07
      • 2017-02-21
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2021-03-30
      • 1970-01-01
      相关资源
      最近更新 更多