Neutron: linuxbridge-agent always entering failed state
I'm trying to set up a small Openstack environment following the Debian 8
install https://docs.openstack.org/newton/install-guide-debian/neutron-controller-install.html (guide). All packages are installed via jessie-backports. While I was able to solve all the problems that occured in the previous steps, I am not able to get the linuxbridge-agent
working.
Installed packages:
ii neutron-server 2:8.1.2-1~bpo8+1 all OpenStack virtual network service - server
ii neutron-common 2:8.1.2-1~bpo8+1 all OpenStack virtual network service - common files
ii neutron-dhcp-agent 2:8.1.2-1~bpo8+1 all OpenStack virtual network service - DHCP agent
ii neutron-l3-agent 2:8.1.2-1~bpo8+1 all OpenStack virtual network service - l3 agent
ii neutron-linuxbridge-agen 2:8.1.2-1~bpo8+1 all OpenStack virtual network service - Linux bridge agen
ii neutron-metadata-agent 2:8.1.2-1~bpo8+1 all OpenStack virtual network service - metadata agent
The linuxbridge-agent on my controller node and compute node are both entering failed state after about 20 seconds. It runs fine the first 20 seconds.
root@controller:~# service neutron-linuxbridge-agent status
● neutron-linuxbridge-agent.service - Openstack Neutron LinuxBridge Plugin Agent
Loaded: loaded (/lib/systemd/system/neutron-linuxbridge-agent.service; enabled)
Active: failed (Result: start-limit) since Mo 2017-02-27 09:52:57 CET; 12s ago
Process: 2196 ExecStart=/etc/init.d/neutron-linuxbridge-agent systemd-start (code=exited, status=1/FAILURE)
Process: 2192 ExecStartPre=/bin/chown neutron:neutron /var/lock/neutron /var/log/neutron /var/lib/neutron (code=exited, status=0/SUCCESS)
Process: 2190 ExecStartPre=/bin/mkdir -p /var/lock/neutron /var/log/neutron /var/lib/neutron (code=exited, status=0/SUCCESS)
Main PID: 2196 (code=exited, status=1/FAILURE)
Feb 27 09:52:56 controller systemd[1]: Unit neutron-linuxbridge-agent.service entered failed state.
Feb 27 09:52:57 controller systemd[1]: neutron-linuxbridge-agent.service holdoff time over, scheduling restart.
Feb 27 09:52:57 controller systemd[1]: Stopping Openstack Neutron LinuxBridge Plugin Agent...
Feb 27 09:52:57 controller systemd[1]: Starting Openstack Neutron LinuxBridge Plugin Agent...
Feb 27 09:52:57 controller systemd[1]: neutron-linuxbridge-agent.service start request repeated too quickly, re...start.
Feb 27 09:52:57 controller systemd[1]: Failed to start Openstack Neutron LinuxBridge Plugin Agent.
Feb 27 09:52:57 controller systemd[1]: Unit neutron-linuxbridge-agent.service entered failed state.
Hint: Some lines were ellipsized, use -l to show in full.
I have configured a self-service network and this is the configuration of my controller node:
/etc/network/interfaces
# The primary network interface
auto eth0
iface eth0 inet static
address 10.0.1.101
netmask 255.255.255.0
gateway 10.0.1.254
# Provider Interface
auto eth1
iface eth1 inet manual
up ip link set dev $IFACE up
down ip link set dev $IFACE down
/etc/neutron/neutron.conf
core_plugin = ml2
service_plugins = router
allow_overlapping_ips = True
notify_nova_on_port_data_changes = True
notify_nova_on_port_status_changes = True
/etc/neutron/plugins/ml2/ml2_conf.ini
type_drivers = flat,vlan,vxlan
tenant_network_types = vxlan
mechanism_drivers = linuxbridge,l2population
extension_drivers = port_security
flat_networks = provider
vni_ranges = 1:1000
enable_ipset = True
/etc/neutron/plugins/ml2/linuxbridge_agent.ini
physical_interface_mappings = provider:eth1
enable_vxlan = True
local_ip = 10.0.1.101 ...