yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #54425
[Bug 1533457] Re: Neutron server unable to sync HA info after race between HA router creating and deleting
Reviewed: https://review.openstack.org/265680
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=179b8301edad50f999417f52b77092a496fb448e
Submitter: Jenkins
Branch: master
commit 179b8301edad50f999417f52b77092a496fb448e
Author: LIU Yulong <liuyulong@xxxxxxxx>
Date: Mon Jan 11 11:31:36 2016 +0800
Filter HA router without HA port bindings after race conditions
Neutron server will not be able to sync ha router data after
race happened between get_ha_router_port_bindings and HA router
deleting API call. Once the ports of L3HARouterAgentPortBinding
were deleted the _process_sync_ha_data may get a None binding
port, and then the _process_sync_ha_data will fail to get the
HA interface port info due to the None port. This patch will
filter the bindings without port.
Change-Id: Ie38baf061d678fc5d768195b25241efbad74e42f
Closes-Bug: #1533457
** Changed in: neutron
Status: In Progress => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1533457
Title:
Neutron server unable to sync HA info after race between HA router
creating and deleting
Status in neutron:
Fix Released
Bug description:
Neutron server will not be able to sync ha router data after race
happened between get_ha_router_port_bindings and HA router deleting
API call.
Exception:
File "neutron/db/db_base_plugin_v2.py", line 921, in _make_port_dict
res = {"id": port["id"],
TypeError: 'NoneType' object has no attribute '__getitem__'
Trace:
http://paste.openstack.org/show/473839/
The new trace:
neutron server side:
http://paste.openstack.org/show/489511/
l3 agent side:
http://paste.openstack.org/show/489509/
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1533457/+subscriptions
References