Openstack DevStack:无法创建中子网络

Openstack DevStack:无法创建中子网络,openstack,opendaylight,openstack-neutron,Openstack,Opendaylight,Openstack Neutron,我遵循此文档在Ubuntu中安装openstack: 然而,我无法创建中子网络。 我得到以下错误: $ neutron net-create my-private-net neutron subnet-create $(neutron net-list | grep 'my-private-net' | awk '{print $2}') 10.254.0.0/24 --name my-private-subnet --ip-version 4 --gateway 10.254.0.1 --a

我遵循此文档在Ubuntu中安装openstack:

然而,我无法创建中子网络。 我得到以下错误:

$ neutron net-create my-private-net neutron subnet-create $(neutron net-list | grep 'my-private-net' | awk '{print $2}') 10.254.0.0/24 --name my-private-subnet --ip-version 4 --gateway 10.254.0.1 --allocation-pool start=10.254.0.2,end=10.254.0.254
Discovering versions from the identity service failed when creating   the password plugin. Attempting to determine version from URL.
Internal Server Error (HTTP 500)
Discovering versions from the identity service failed when creating the password plugin. Attempting to determine version from URL.
Internal Server Error (HTTP 500)
我的local.conf

[[local|localrc]]
HOST_IP=192.168.0.3
FLOATING_RANGE=1.2.3.128/25
FIXED_RANGE=10.11.12.0/24
FIXED_NETWORK_SIZE=256
FLAT_INTERFACE=eth0
ADMIN_PASSWORD=stack
MYSQL_PASSWORD=stack
RABBIT_PASSWORD=stack
SERVICE_PASSWORD=stack
SERVICE_TOKEN=1a672b16de58d47d45d7

还有其他人面临过这个问题吗?如何解决此问题?

首先,使用
--debug
运行客户端,以便您可以确切地看到哪个请求触发了该错误。这听起来像是一个Keystone问题,所以不妨先看看Keystone服务器日志。其他openstack命令是否正常工作?例如,你能创建租户、用户、图像、风格等吗?我还没有设置虚拟机。我还没有达到创建租户、用户等的阶段。而且,主机IP是我的笔记本电脑IP正确吗?我在哪里可以找到关键问题?我试图确定的是任何东西是否有效,或者这是否只是一个中子问题。答案在很大程度上决定了在哪里寻找问题。您可能需要配置持久日志记录;有关详细信息,请参阅。这将使诊断更容易。我找到了错误所在的位置。当我运行./stack命令时,我得到一条消息:cp:cannot stat“/opt/stack/cinder/etc/cinder/cinder.conf.sample”:没有这样的文件或目录,不知道现在该怎么做。