Activity log for bug #1554825

Date Who What changed Old value New value Message
2016-03-09 01:02:36 Shih-Hao Li bug added bug
2016-03-09 01:18:16 OpenStack Infra neutron: status New In Progress
2016-03-09 01:18:16 OpenStack Infra neutron: assignee Shih-Hao Li (shihli)
2016-03-09 02:47:11 Koji Iida bug added subscriber Koji Iida
2016-03-09 13:35:46 Ihar Hrachyshka neutron: importance Undecided High
2016-03-09 13:36:31 Ihar Hrachyshka neutron: milestone mitaka-rc1
2016-03-09 13:36:39 Ihar Hrachyshka tags l3-ipam-dhcp
2016-03-10 17:05:12 Shih-Hao Li description In Dnsmasq, the function get_isolated_subnets() returns a list of subnets in a network if the subnet is not connected to a router. The implementation of this function checks all the router interface ports in a cached network object passed from DHCP agent. But the cached network object is not updated when a subnet is added to or removed from a router. In Dnsmasq, the function get_isolated_subnets() returns a list of subnets in a network if the subnet is not connected to a router. The implementation of this function checks all the router interface ports in a cached network object passed from DHCP agent. But the cached network object is not updated when a subnet is attached to or detached from a router. This could cause problem when a new VM is booted on a subnet just attached to a router. The VM will get the metadata route to the DHCP port instead of to the route port from Dnsmasq. Based on current DHCP agent implementation, if DHCP agent is restarted, it will try to restart all metadata proxies. But it will skip the metadata proxy for the networks with any subnet attached to a router. Instead, DHCP agent will start a metadata-proxy for the router. If old metadata proxy processes for the networks are still running, then the metadata route to the DHCP port should still work. But consider the case when a openstack network node is restarted, then all old processes are gone. Thus DHCP agent will not start those metadata proxies for networks with attached router. This means any VM that has routing table containing a metadata route to the DHCP port will fail to reach metadata service because the corresponding metadata proxy that handle 169.254.169.254:80 is not running.
2016-03-10 17:08:50 Shih-Hao Li summary get_isolated_subnets does not return latest results Cached network object in DHCP agent in not updated with router interface changes
2016-03-10 17:44:41 Shih-Hao Li summary Cached network object in DHCP agent in not updated with router interface changes Cached network object in DHCP agent not updated with router interface changes
2016-03-13 08:37:37 OpenStack Infra neutron: status In Progress Fix Released
2016-07-17 21:07:03 OpenStack Infra tags l3-ipam-dhcp in-stable-liberty l3-ipam-dhcp