gpt4 book ai didi

ubuntu - 未能发现可用的身份版本

转载 作者:行者123 更新时间:2023-12-04 18:31:29 28 4
gpt4 key购买 nike

我正在尝试在 ubuntu 18.04 LTS 上使用 devstack 部署 openstack。
我的环境在我在 bashrc 和 apt 中配置的代理后面。

在部署期间,我面临以下错误。 unstack and clean 也无济于事。

我可以尝试什么来解决这个问题?

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$

最佳答案

看来您的凭据在服务之间不匹配。
您正在获得 Forbidden (HTTP 403),这意味着:

  1. Your service credentials are incorrectly populated.
  2. Your proxy is stopping access to http://10.94.60.19/identity. Try to set "no_proxy" environment variable for the same and check if you can access it.

关于ubuntu - 未能发现可用的身份版本,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/58133001/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com