[英]Openstack keystone token issue. Failed to discover available identity versions
Im attempting to setup keystone identity service on virtualized Ubuntu 20.4 via Windows Hyper-V on Windows 10.我试图通过 Windows 10 上的 Windows Hyper-V 在虚拟化 Ubuntu 20.4 上设置 keystone 身份服务。
I followed the instructions on: https://docs.openstack.org/keystone/pike/install/index-ubuntu.html very carefully & attempted this 4 times from scratch with a new VM.我非常仔细地按照以下说明操作: https ://docs.openstack.org/keystone/pike/install/index-ubuntu.html 并使用新 VM 从头开始尝试了 4 次。
However, all calls to OpenStack web service API either via curl, or command line result in some type of 404 Error.但是,通过 curl 或命令行对 OpenStack Web 服务 API 的所有调用都会导致某种类型的 404 错误。
Here my detailed steps (not including VM setup):这是我的详细步骤(不包括VM设置):
In /etc/apache2/apache2.conf Set ServerName controller
在 /etc/apache2/apache2.conf 中设置
ServerName controller
Here is the issue:这是问题:
Attempt # 1 - Using curl to call keystone API (404):尝试 #1 - 使用 curl 调用 keystone API (404):
Attempt # 2 - Using openstack command line tool, again (404):尝试 #2 - 再次使用 openstack 命令行工具(404):
Troubleshooting:故障排除:
Keystone logs look good with no error: Keystone 日志看起来不错,没有错误:
Furthermore, apache2 is running as I can see default server page:此外,apache2 正在运行,因为我可以看到默认服务器页面:
So why cant keystone API be reached?那么为什么无法访问 keystone API 呢?
Appreciated赞赏
export these variables and test again导出这些变量并再次测试
export OS_AUTH_VERSION=3
export OS_ENDPOINT_TYPE=internalURL
export OS_INTERFACE=internalURL
export OS_AUTH_TYPE=password
export OS_TENANT_NAME=admin
export OS_NO_CACHE=1
check your wsgi and apache2 vhost config too, to make sure apache will redircet it correctly检查您的 wsgi 和 apache2 vhost 配置,以确保 apache 将正确重定向它
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.