Oracle OpenStack 4.0.1: neutron_linuxbridge_agent Container Keeps Restarting once Multiple External Network is Configured

(Doc ID 2407797.1)

Last updated on JUNE 11, 2018

Applies to:

Oracle OpenStack for Oracle Linux - Version OpenStack 4.0.1 and later
Linux x86-64

Symptoms

The Docker container neutron-linuxbridge-agent keeps restarting:
# docker ps | grep neutron-linuxbridge-agent
26875b6f9660 oracle/ol-openstack-neutron-linuxbridge-agent:4.0.1 "kolla_start" 5 days ago Restarting (1) 57 seconds ago neutron_linuxbridge_agent

 

In /var/lib/docker/volumes/kolla_logs/_data/neutron/neutron-linuxbridge-agent.log we found error:
2018-06-02 14:04:39.991 1 ERROR neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent [-] Parsing physical_interface_mappings failed: Invalid mapping: 'enp1s0f0'. Agent terminated!

 

Multiple external network is configured on linuxbridge agent:
| *-- | neutron_bridge_name | br-ex1,br-ex2 |
| *-- | neutron_external_interface | enp1s0f1,enp1s0f0 |
| *-- | neutron_plugin_agent | linuxbridge |

 

Incorrect physical_interface_mappings found:
# cat /etc/kolla/neutron-linuxbridge-agent/ml2_conf.ini
[ml2]
type_drivers = flat,vlan,vxlan
tenant_network_types = vxlan
mechanism_drivers = linuxbridge,l2population
extension_drivers = port_security

[ml2_type_vlan]
network_vlan_ranges =

[ml2_type_flat]
flat_networks = physnet1,physnet2

[ml2_type_vxlan]
vni_ranges = 1:1000
vxlan_group = x.x.x.x

[securitygroup]
firewall_driver = neutron.agent.linux.iptables_firewall.IptablesFirewallDriver

[linux_bridge]
physical_interface_mappings = physnet1:enp1s0f1,enp1s0f0

[vxlan]
l2_population = true
local_ip = x.x.x.x

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms