openstack-HTTP exception thrown: Maximum number of ports exceeded错误解决方案

最近几天什么都没动无法创建云主机了,经过一番查询

1.查日志 /data/jumpserver/logs

得到错误 HTTP exception thrown: Maximum number of ports exceeded

2.百度查了下,说是ip满了

于是修改/etc/neutron/neutron.conf

vim  /etc/neutron/neutron.conf

# quota_subnet = 10
quota_subnet = 30        //修改subnet数量

# quota_port = 50
quota_port = 100

# quota_vip = 10
quota_vip = 20

vim  /etc/neutron/neutron.conf

# quota_network = 10
quota_network = 30         //将默认的10改大,超过需要创建的网络数

重启,解决问题

systemctl restart neutron-dhcp-agent.service neutron-l3-agent.service neutron-metadata-agent.service neutron-openvswitch-agent.service neutron-server.service neutron-ovs-cleanup.service
原文地址:https://www.cnblogs.com/sung/p/8018619.html