Comment 7 for bug 1499647

Revision history for this message
Ann Taraday (akamyshnikova) wrote : Re: L3 HA: extra L3HARouterAgentPortBinding created for routers

This all seems very strange for me also.

I did more testing today. I apply patch with refactor https://review.openstack.org/#/c/230481/ (in create_router notifications are outside of transaction) . There was duplicates, I added UniqueConstraint after that appeared extra bindings with l3_agent_id=None. I've added transaction in create_ha_port_and_bind in neutron/scheduler/l3_agent_scheduler.py Extra bindings with l3_agent_id=None still appeared. I'll push this changes and will think over weekend what else could be done.