[openstack-dev] [Neutron] Issue with neutron-dhcp-agent not recovering known ports cache after restart

Shraddha Pandhe spandhe.openstack at gmail.com
Wed Jul 1 00:25:48 UTC 2015


Hi folks..

I have a question about neutron dhcp agent restart scenario. It seems like,
when the agent restarts, it recovers the known network IDs in cache, but we
don't recover the known ports [1].

So if a port that was present before agent restarted, is deleted after
agent restart, the agent wont have it in its cache. So port here [2] will
be None. So the port will actually never get deleted.

Same problem will happen if a port is updated. Has anyone seen these
issues? Am I missing something?

[1]
https://github.com/openstack/neutron/blob/master/neutron/agent/dhcp/agent.py#L82-L87
[2]
https://github.com/openstack/neutron/blob/master/neutron/agent/dhcp/agent.py#L349
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20150630/3549ca7b/attachment.html>


More information about the OpenStack-dev mailing list