Allow L3 and DHCP agents to cleanup system resources which they don't host anymore

Registered by Eugene Nikanorov

Currently there is a rescheduling mechanism that allows L3 routers and DHCP services to be moved between agents when
neutron-server thinks particular agent is dead.
That however may lead to several that better be solved:

1) lots of unused namespaces on the network controller.
Complicates troubleshooting
2) running processes: dnsmasq or ns-metadata-proxies
Unmanaged dnsmasq could really do harm to the tenant network conflicting with dnsmasq with host file wich is up-to-date
3) waste of DHCP port

etc

These issues negatively affect cloud more and more as number of networks/routers grow.

The main idea of proposal to create a mechanism that would cleanup resources on agent so only those resources which are bound to the agent have physical representation.
Other physical resources (processes, interfaces, namespaces) are deleted.

Blueprint information

Status:
Complete
Approver:
None
Priority:
Undefined
Drafter:
Eugene Nikanorov
Direction:
Needs approval
Assignee:
Eugene Nikanorov
Definition:
Obsolete
Series goal:
None
Implementation:
Unknown
Milestone target:
None
Completed by
Armando Migliaccio

Related branches

Sprints

Whiteboard

Dec-07-2015(armax): If someone is interested in pursuing it, this must be re-submitted according to guidelines defined in [1].

[1] http://docs.openstack.org/developer/neutron/policies/blueprints.html

-----------

Gerrit topic: https://review.openstack.org/#q,topic:bp/l3-dhcp-agent-autocleanup,n,z

Addressed by: https://review.openstack.org/172883
    Implements blueprint l3-dhcp-agent-autocleanup

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.