Improve DVR router sheduling mechanism for better performance/scalability

Registered by Oleg Bondarev on 2015-11-17

Neutron code does not properly handle scheduling for DVR and often confuses why a router has been scheduled to an L3 agent, especially in cases where an agent could host both the centralized and a distributed piece of the router.

Blueprint information

Status:
Complete
Approver:
Carl Baldwin
Priority:
Low
Drafter:
Carl Baldwin
Direction:
Approved
Assignee:
Oleg Bondarev
Definition:
Approved
Series goal:
Accepted for mitaka
Implementation:
Implemented
Milestone target:
milestone icon mitaka-3
Started by
Oleg Bondarev on 2015-11-17
Completed by
Oleg Bondarev on 2016-02-02

Related branches

Sprints

Whiteboard

Feb 2, 2016 (carl_baldwin): This is finished and I believe that it had the desired effect. A lot of scheduling stuff was simplified and I believe the end-user experience is improve too. Thanks, Oleg!

Jan-24-2016(armax): looks on track. It's unclear if the backlog includes all there is to it.

Dec-07-2015(armax): this is a blank canvas, more details must be provided.

Gerrit topic: https://review.openstack.org/#q,topic:bp/improve-dvr-l3-agent-binding,n,z

Addressed by: https://review.openstack.org/254837
    Improve bindings of DVR routers to L3 agents

Addressed by: https://review.openstack.org/259113
    Introduce new query to return all hosts for DVR router

Addressed by: https://review.openstack.org/261477
    Introduce new queries to return DVR routers for a host

Addressed by: https://review.openstack.org/255374
    Remove duplicate for check_ports_exist_on_l3agent

Addressed by: https://review.openstack.org/261972
    Bring more consistency in getting l3 agents hosting router

Addressed by: https://review.openstack.org/262558
    Refactor remove_router_interface() for DVR

Addressed by: https://review.openstack.org/143169
    HA for DVR - Neutron Server side code changes

Gerrit topic: https://review.openstack.org/#q,topic:bug/1543513,n,z

Addressed by: https://review.openstack.org/277781
    Bing back dvr routers autoscheduling

Addressed by: https://review.openstack.org/412209
    Remove useless unit tests in test_l3_agent_scheduler

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.