Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Ocata Neutron Error : Interface name must be shorter than IFNAMSIZ (15)

I'm setting up ocata on a new environment, and have everything running. My vms wont spawn without an error when it tries to setup the interface in neutron. I can see in the neutron-openvswitch logs that its failing due to trying to apply iptables rules. Seems its using a long interface name for some reason.

ERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent ; Stdout: ; Stderr: iptables-restore v1.4.21: interface name `3a3dddce-4752-4ddb-8442-6ef69b7e0fbd' must be shorter than IFNAMSIZ (15)

Any idea if this is the name it should be using? I think its the neutron port-id, but its over 15 chars. Why isn't it using the tap name?

Here are the setting I have uncommented in openvswitch_agent.ini

debug = true
tunnel_types = vxlan
l2_population = true
local_ip = XXX.XXX.XXX.XXX
bridge_mappings = provider:br-provider
firewall_driver = neutron.agent.linux.iptables_firewall.IptablesFirewallDriver
enable_security_group = true
enable_ipset = true