360SDN.COM

openstack报错: No tenant network is available for allocation

来源:  2019-04-24 19:13:35    评论:0点击:

创建selfservice网络时报错:
 
[root@controller ~]# openstack network create selfservice
Error while executing command: HttpException: Unknown error, {"NeutronError": {"message": "Unable to create the network. No tenant network is available for allocation.", "type": "NoNetworkAvailable", "detail": ""}} 
在dashboard上创建网络报同样错误: 
查看neutron日志:
 
[root@controller ~]# cat /var/log/neutron/server.log
2018-06-11 11:09:00.505 5569 ERROR neutron.pecan_wsgi.hooks.translation     raise exc.NoNetworkAvailable()
2018-06-11 11:09:00.505 5569 ERROR neutron.pecan_wsgi.hooks.translation NoNetworkAvailable: Unable to create the network. No tenant network is available for allocation.
2018-06-11 11:09:00.505 5569 ERROR neutron.pecan_wsgi.hooks.translation 
google查找原因: 
https://access.redhat.com/solutions/756453,这里提到 tunnel_id_ranges = 1:1000。 
解决问题:
 
[root@controller ~]# vim /etc/neutron/plugins/ml2/ml2_conf.ini
[ml2_type_vxlan]
 
#
 
vni_ranges = 1:1000   #在配置文件中增加vni_ranges = 1:1000 



 
原文:https://blog.csdn.net/networken/article/details/80651054 
为您推荐

友情链接 |九搜汽车网 |手机ok生活信息网|ok生活信息网|ok微生活
 Powered by www.360SDN.COM   京ICP备11022651号-4 © 2012-2016 版权