简体   繁体   English

未能发现可用的身份版本

[英]Failed to discover available identity versions

I am trying to deploy openstack using devstack on ubuntu 18.04 LTS.我正在尝试在 ubuntu 18.04 LTS 上使用 devstack 部署 openstack。 My env is behind proxy which I have configured in both bashrc and apt.我的环境在我在 bashrc 和 apt 中配置的代理后面。

During the deployment I am facing below error.在部署期间,我面临以下错误。 unstack and clean is also not helping this issue. unstack and clean 也无济于事。

What can I try to resolve this?我可以尝试什么来解决这个问题?

INFO keystone.cmd.bootstrap [None req-3b848973-f8af-48df-941a-dfee8e4d40d9 None None] Created region RegionOne
INFO keystone.cmd.bootstrap [None req-3b848973-f8af-48df-941a-dfee8e4d40d9 None None] Created admin endpoint http://10.94.60.19/identity
INFO keystone.cmd.bootstrap [None req-3b848973-f8af-48df-941a-dfee8e4d40d9 None None] Created public endpoint http://10.94.60.19/identity
+./stack.sh:main:1148                      create_keystone_accounts
+lib/keystone:create_keystone_accounts:314  local admin_project
++lib/keystone:create_keystone_accounts:315  oscwrap project show admin -f value -c id
++functions-common:oscwrap:2357             local xtrace
+++functions-common:oscwrap:2358             set +o
+++functions-common:oscwrap:2358             grep xtrace
++functions-common:oscwrap:2358             xtrace='set -o xtrace'
++functions-common:oscwrap:2359             set +o xtrace
Failed to discover available identity versions when contacting http://10.94.60.19/identity. Attempting to parse version from URL.
Could not find versioned identity endpoints when attempting to authenticate. Please check that your auth_url is correct. Forbidden (HTTP 403)
++functions-common:oscwrap:2376             return 1
+lib/keystone:create_keystone_accounts:315  admin_project=
+lib/keystone:create_keystone_accounts:1   exit_trap
+./stack.sh:exit_trap:533                  local r=1
++./stack.sh:exit_trap:534                  jobs -p
+./stack.sh:exit_trap:534                  jobs=
+./stack.sh:exit_trap:537                  [[ -n '' ]]
+./stack.sh:exit_trap:543                  '[' -f /tmp/tmp.JqPFKuVGQG ']'
+./stack.sh:exit_trap:544                  rm /tmp/tmp.JqPFKuVGQG
+./stack.sh:exit_trap:548                  kill_spinner
+./stack.sh:kill_spinner:443               '[' '!' -z '' ']'
+./stack.sh:exit_trap:550                  [[ 1 -ne 0 ]]
+./stack.sh:exit_trap:551                  echo 'Error on exit'
Error on exit
+./stack.sh:exit_trap:553                  type -p generate-subunit
+./stack.sh:exit_trap:554                  generate-subunit 1569580521 204 fail
+./stack.sh:exit_trap:556                  [[ -z /opt/stack/logs ]]
+./stack.sh:exit_trap:559                  /opt/stack/devstack/tools/worlddump.py -d /opt/stack/logs
World dumping... see /opt/stack/logs/worlddump-2019-09-27-103845.txt for details
+./stack.sh:exit_trap:568                  exit 1
stack@host-10-94-60-7:~/devstack$

It seems your credentials are mismatch between services.看来您的凭据在服务之间不匹配。 You are getting Forbidden (HTTP 403) which means either:您正在获得 Forbidden (HTTP 403),这意味着:

  1. Your service credentials are incorrectly populated.您的服务凭据填充不正确。
  2. Your proxy is stopping access to http://10.94.60.19/identity .您的代理正在停止访问http://10.94.60.19/identity Try to set "no_proxy" environment variable for the same and check if you can access it.尝试为其设置“no_proxy”环境变量并检查是否可以访问它。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 联系 http://controller:5000/v3 时未能发现可用的身份版本 - Failed to discover available identity versions when contacting http://controller:5000/v3 wxWidget 3.0.5 编译失败,OpenGL 库不可用 - Failed to compile wxWidget 3.0.5, OpenGL libraries not available gpg:签名失败:密钥不可用 - gpg: signing failed: secret key not available Microk8s 加入集群失败。 无法验证身份 - Microk8s joining cluster failed. Could not verify the identity of Kubernetes:无法验证 API 服务器的身份:tcp 拨号:连接:协议不可用 - Kubernetes: couldn't validate the identity of the API Server: tcp dial : connect : protocol not available GLIBC 的版本 - Versions of GLIBC 无法在AWS Ubuntu实例上运行Shiny应用程序。 xdg-open:没有可用的方法来打开'http://127.0.0.1:3572' - Failed to run a Shiny app on AWS Ubuntu instance. xdg-open: no method available for opening 'http://127.0.0.1:3572' BlueZ 停止工作(它没有发现任何 SDP 服务) - BlueZ stopped working (it doesn't discover any SDP service) 帧缓冲区不可用 - framebuffer not available Ubuntu中红宝石的不同版本 - DIfferent versions of ruby in ubuntu
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM