0

手动安装openstack。它由 kvm(rhel7.3) 中的控制器、计算、存储组成。并且,请参阅 openstack 手册(https://docs.openstack.org/ocata/install-guide-rdo/keystone-users.html)但是,它在创建 openstack 项目时警告错误。

[root@test-controller ~]# openstack project create --domain default --description "Test Project" service
Discovering versions from the identity service failed when creating the password plugin. Attempting to determine version from URL.
Could not determine a suitable URL for the plugin

我不知道为什么...

4

6 回答 6

0

此错误消息由不同 API 版本相关的 keystone 引起。如果您的 API 版本是 2?这是不正确的,域功能从版本 3 开始。

所以你改变你的身份验证网址如下

export OS_AUTH_URL=http://YOUR_KEYSTONE_IP:5000/v3

于 2017-11-07T05:07:48.390 回答
0

实际上,您可以检查几个部分来解决此问题。

  1. 当您的 OpenStack 环境安装好后,应该会生成一个 stackrc 文件,其中包含用于 openstack 的所有必要信息。请检查您是否有此文件,如果信息正确,请source stackrc归档;

  2. 如果第一步正常,请先检查您的keystone服务是否正在运行;

  3. 根据您分享的信息,您似乎没有创建名为 keystone 的服务。请按照指南设置所有必要的资源,然后开始创建项目。

注意:一开始,如果手动安装每个组件,环境中是没有用户的。您必须逐步使用 OpenStack 文档来创建所有资源。总之,你必须使用 admin token 为 keystone 创建一个服务,创建一个项目,然后创建一个用户,并为这个用户添加角色,然后你就可以开始你的 openstack 之旅了。

希望这可以帮助你。

于 2017-03-20T05:21:39.473 回答
0

从您的命令中可以看出您错过了导出真实文件,请检查真实文件位置并尝试命令

source "authentical file"

然后运行你的命令。

于 2018-10-10T05:21:11.600 回答
0

您必须先导出您的身份验证数据或以管理员用户身份尝试

于 2020-04-18T18:33:17.157 回答
0

It seems that your keystone service is not running. Please look at the controller is online or not & see whether the keystone is working or not. USE:

openstack service list | grep keystone

OR

See keystone-api container is running or not. If not start the container & wait till it gets started & then try again. OR

Use v3 as the keystone version because only v3 supports "Domains", not v2. So update the auth URL in your RC credential file & include v3 instead of v2. export OS_AUTH_URL=http://YOUR_KEYSTONE_IP:5000/v3

于 2020-01-27T09:46:03.880 回答
0

尝试将 openstack 安装为 Devsatck 或 Packstack。获取定义主机 IP、密码和服务令牌的 openrc 文件。您的 keystone 服务未与您的数据库服务通信。 https://www.tecmint.com/openstack-installation-guide-rhel-centos/

于 2018-02-13T10:01:50.290 回答