OpenStack Queens version of Linux Bridge does not come up with a workaround

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.