The error is as follows:
APR 3 03:52:48 Neutron neutron-linuxbridge-agent:elif Tornado and Tornado.gen.is_coroutine_function (f):
APR 3 03:52:48 Neutron neutron-linuxbridge-agent:attributeerror: ' Module ' object has no attribute ' is_coroutine_function ‘
APR 3 03:52:48 Neutron systemd:neutron-linuxbridge-agent.service:main process exited, code=exited, status=1/failure
APR 3 03:52:48 Neutron systemd:unit Neutron-linuxbridge-agent.service entered failed state.
APR 3 03:52:48 Neutron Systemd:neutron-linuxbridge-agent.service failed.
APR 3 03:52:48 Neutron systemd:neutron-linuxbridge-agent.service holdoff time over, scheduling restart.
APR 3 03:52:48 neutron systemd:starting OpenStack neutron Linux Bridge Agent ...
APR 3 03:52:48 Neutron neutron-enable-bridge-firewall.sh:net.bridge.bridge-nf-call-iptables = 1
APR 3 03:52:48 Neutron neutron-enable-bridge-firewall.sh:net.bridge.bridge-nf-call-ip6tables = 1
APR 3 03:52:48 neutron systemd:started OpenStack neutron Linux Bridge Agent.
APR 3 03:52:49 Neutron neutron-linuxbridge-agent:traceback (most recent):
APR 3 03:52:49 Neutron neutron-linuxbridge-agent:file "/usr/bin/neutron-linuxbridge-agent", line 6, <module>
APR 3 03:52:49 neutron neutron-linuxbridge-agent:from neutron.cmd.eventlet.plugins.linuxbridge_neutron_agent Import Main
APR 3 03:52:49 neutron neutron-linuxbridge-agent:file "/usr/lib/python2.7/site-packages/neutron/cmd/eventlet/ plugins/linuxbridge_neutron_agent.py ", line at <module>
APR 3 03:52:49 neutron neutron-linuxbridge-agent:import \
APR 3 03:52:49 neutron neutron-linuxbridge-agent:file "/usr/lib/python2.7/site-packages/neutron/plugins/ml2/drivers /linuxbridge/agent/linuxbridge_neutron_agent.py ", line A, in <module>
APR 3 03:52:49 Neutron neutron-linuxbridge-agent:from neutron.plugins.ml2.drivers.linuxbridge.agent import arp_ Protect
APR 3 03:52:49 neutron neutron-linuxbridge-agent:file "/usr/lib/python2.7/site-packages/neutron/plugins/ml2/drivers /linuxbridge/agent/arp_protect.py ", line 229, in <module>
APR 3 03:52:49 Neutron neutron-linuxbridge-agent:def ebtables (comm, table= ' Nat '):
APR 3 03:52:49 neutron neutron-linuxbridge-agent:file "/usr/lib/python2.7/site-packages/tenacity/
Init. py ", line 98, in wrap
APR 3 03:52:49 Neutron neutron-linuxbridge-agent:elif Tornado and Tornado.gen.is_coroutine_function (f):
APR 3 03:52:49 Neutron neutron-linuxbridge-agent:attributeerror: ' Module ' object has no attribute ' is_coroutine_function ‘
APR 3 03:52:49 Neutron systemd:neutron-linuxbridge-agent.service:main process exited, code=exited, status=1/failure
APR 3 03:52:49 Neutron systemd:unit Neutron-linuxbridge-agent.service entered failed state.
APR 3 03:52:49 Neutron Systemd:neutron-linuxbridge-agent.service failed.
The phenomenon is that neutron-linuxbridge-agent constantly restarts, but does not produce log files, finally failed to start, pit me for 2 days, find the problem "Neutron-linuxbridge-agent:attributeerror: ' module ' object has no attribute ' is_coroutine_function ' "
Locate the/usr/lib/python2.7/site-packages/tenacity/init. PY and find this code commented out.
As follows:
Used to be:
Def wrap (f):
If Asyncio and Asyncio.iscoroutinefunction (f):
R = asyncretrying (*dargs, DKW)
Elif Tornado and Tornado.gen.is_coroutine_function (f):
R = tornadoretrying (*dargs, *DKW)
Else
R = Retrying (Dargs, DKW)
return r.wraps(f) return wrap
After the change:
Def wrap (f):
If Asyncio and Asyncio.iscoroutinefunction (f):
R = asyncretrying (*dargs, **DKW)
#elif Tornado and Tornado.gen.is_coroutine_function (f):
R = tornadoretrying (*dargs, **DKW)
else: r = Retrying(*dargs, **dkw) return r.wraps(f) return wrap
OpenStack Queens version of Linux Bridge does not come up with a workaround