Tunnel creation race in ovs-agent, if tunnel_update is called from ml2 plugin
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
Undecided
|
Jakub Libosvar |
Bug Description
There is a race condition in ovs-agent if l2pop is not used.
If ovs agent receives tunnel_update rpc message and starts handling it, it searches in local vlan map and calls ovs-ofctl leading to yield in eventlet. If in another coroutine ovs agent creates a new LocalVLANMapping due to creation of new port for new tenant, local vlan map changes and causes exception, after eventlet starts handling coroutine of tunnel_update.
2015-04-09 17:41:47.771 6067 ERROR oslo.messaging.
2015-04-09 17:41:47.771 6067 TRACE oslo.messaging.
2015-04-09 17:41:47.771 6067 TRACE oslo.messaging.
2015-04-09 17:41:47.771 6067 TRACE oslo.messaging.
2015-04-09 17:41:47.771 6067 TRACE oslo.messaging.
2015-04-09 17:41:47.771 6067 TRACE oslo.messaging.
2015-04-09 17:41:47.771 6067 TRACE oslo.messaging.
2015-04-09 17:41:47.771 6067 TRACE oslo.messaging.
2015-04-09 17:41:47.771 6067 TRACE oslo.messaging.
2015-04-09 17:41:47.771 6067 TRACE oslo.messaging.
2015-04-09 17:41:47.771 6067 TRACE oslo.messaging.
2015-04-09 17:41:47.771 6067 TRACE oslo.messaging.
2015-04-09 17:41:47.771 6067 TRACE oslo.messaging.
2015-04-09 17:41:47.771 6067 TRACE oslo.messaging.
Changed in neutron: | |
assignee: | nobody → Jakub Libosvar (libosvar) |
Changed in neutron: | |
milestone: | none → liberty-1 |
status: | Fix Committed → Fix Released |
Changed in neutron: | |
milestone: | liberty-1 → 7.0.0 |
Fix proposed to branch: master /review. openstack. org/178625
Review: https:/