commit 5bd76c52844ffcfb2bd0ce1753b5159ef510b323
Author: Shih-Hao Li <email address hidden>
Date: Wed Dec 30 11:43:23 2015 -0800
Fix uuid passing in disable_isolated_metadata_proxy
In DhcpAgent, when enable_isolated_metadata_proxy() spawns
a metadata proxy agent for a network, it will pass router_id
instead of network_id if metadata network is enabled and
a router port is connected to this network.
Later, MetadataDriver will register this uuid (i.e. router_id)
with monitor for the new metadata proxy process.
But when disable_isolated_metadata_proxy() destroys a metadata
proxy agent for a network, it always passes network_id as the uuid.
Thus MetadataDriver can not find the matching process. So the
corresponding metadata proxy agent can not be destroyed.
Reviewed: https:/ /review. openstack. org/257593 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=5bd76c52844 ffcfb2bd0ce1753 b5159ef510b323
Committed: https:/
Submitter: Jenkins
Branch: master
commit 5bd76c52844ffcf b2bd0ce1753b515 9ef510b323
Author: Shih-Hao Li <email address hidden>
Date: Wed Dec 30 11:43:23 2015 -0800
Fix uuid passing in disable_ isolated_ metadata_ proxy
In DhcpAgent, when enable_ isolated_ metadata_ proxy() spawns
a metadata proxy agent for a network, it will pass router_id
instead of network_id if metadata network is enabled and
a router port is connected to this network.
Later, MetadataDriver will register this uuid (i.e. router_id)
with monitor for the new metadata proxy process.
But when disable_ isolated_ metadata_ proxy() destroys a metadata
proxy agent for a network, it always passes network_id as the uuid.
Thus MetadataDriver can not find the matching process. So the
corresponding metadata proxy agent can not be destroyed.
Closes-bug: #1526084 a6729c458522a3f e50e850a4be
Change-Id: Icab94f4e09e95f