1. 程式人生 > >openstack-HTTP exception thrown: Maximum number of ports exceeded錯誤解決方案

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