Ask Your Question
0

Neutron: linuxbridge-agent always entering failed state

asked 2017-02-27 03:46:41 -0500

flno gravatar image

updated 2017-03-01 05:56:32 -0500

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 ...
(more)
edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted
0

answered 2017-03-01 04:20:14 -0500

Vinoth gravatar image

Could you post the neutron-l3-agent log here?

edit flag offensive delete link more

Comments

@Vinoth: I've edited my post with the logfile information. Thanks!

flno gravatar imageflno ( 2017-03-01 05:57:20 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2017-02-27 03:45:02 -0500

Seen: 1,333 times

Last updated: Mar 01 '17