Neutron (networking)
Fail to create new network (internal server error)
If you get an internal server error when creating a new network, it means that some aspect of provisioning the network (on switches in particular) has failed during the commit of the record to the database. This can be the result of a few problems, and you should examine the neutron-server logs to get more info. Putting Neutron into debug mode also can help diagnose.
Neutron is trying to re-allocate a particular VLAN segment
We have observed this problem, where Neutron tries to create another network on the same VLAN segment, which can be disallowed depending on how Neutron is trying to configure the switch/network. Normally only one network is tied to a single segment. You can check to see if this is a problem by inspecting the MariaDB neutron
database:
This should print something like the following:
You should look out for rows where allocated=0 and there is a network ID defined, or rows where allocated=1 and there is no network ID. In each case, the fix is to adjust the value of the allocated column:
Neutron is failing to SSH to the target switch
This should be apparent in the logs. Check that the switch IP/hostname, username, and password/identity file is properly configured. It can be helpful to check the value that is rendered to the final service configuration at /etc/kolla/neutron-server/ml2_conf.ini on the node running the neutron-server service.
Last updated