记一次Neutron无法创建网络问题的解决

现象

在GUI界面创建网络时,提示:

Unable to create the network. No tenant network is available for allocation.
Neutron server returns request_ids: [‘req-33ea0c01-a4fe-4af4-afd3-bdcdcf9347bc’]

问题分析

自己的ml2层配置:

[ml2]
type_drivers = flat,vlan,vxlan
tenant_network_types = vxlan
mechanism_drivers = linuxbridge,l2population
extension_drivers = port_security

可见,我加载了3个type_driver: flat,vlan,vxlan;
其中,普通用户默认的网络类型是vxlan,也就是说我的vxlan的相关配置可能写错了。

查看配置ml2_type_vxlan,没有内容。
查看安装时使用的官方Queen版本的安装向导文档,这里是需要配置vni_ranges的。

[ml2_type_vxlan]
#…
vni_ranges = 1:1000

原因

自己在配置ml2_type_vxlan时,将参数vni_ranges=1:1000错误写在了ml2_type_vlan中。
修正后,可以正确创建网络。

参考链接

https://docs.openstack.org/neutron/queens/install/controller-install-option2-ubuntu.html
https://ask.openstack.org/en/question/85338/neutron-net-create-unable-to-create-the-network-no-tenant-network-is-available-for-allocation/

  • 9
    点赞
  • 8
    收藏
    觉得还不错? 一键收藏
  • 4
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 4
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值