]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Do not lookup l3-agent for floating IP if host=None, dvr issue
authorBrian Haley <brian.haley@hp.com>
Thu, 18 Sep 2014 01:48:53 +0000 (21:48 -0400)
committerBrian Haley <brian.haley@hp.com>
Tue, 23 Sep 2014 19:08:34 +0000 (15:08 -0400)
commit4478eee9e55193746b43ad5158be5fee29aef8a3
treecb35691a0b7a30160fb254c1e3f16aa8b20c24ae
parent48ec1fbfc3a96e1bac36d9089895966dee249538
Do not lookup l3-agent for floating IP if host=None, dvr issue

If a floating IP has been associated with a port, but the port
has not been associated with an instance, attempting to lookup
the l3-agent hosting it will cause an AgentNotFoundByTypeHost
exception.  Just skip it and go onto the next one.

Change-Id: If3df9770fa9e2d2eada932ee5f243d3458bf7261
Closes-Bug: #1370795
neutron/db/l3_dvr_db.py
neutron/tests/unit/db/test_l3_dvr_db.py