Wrong uuid passed by disable_isolated_metadata_proxy

Bug #1526084 reported by Shih-Hao Li
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Medium
Shih-Hao Li

Bug Description

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.

Tags: l3-ipam-dhcp
Shih-Hao Li (shihli)
description: updated
summary: - Fix uuid passing in disable_isolated_metadata_proxy
+ Wrong uuid passed by disable_isolated_metadata_proxy
description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (master)

Fix proposed to branch: master
Review: https://review.openstack.org/257593

Changed in neutron:
assignee: nobody → Shih-Hao Li (shihli)
status: New → In Progress
Henry Gessau (gessau)
tags: added: l3-ipam-dhcp
Changed in neutron:
importance: Undecided → Medium
Shih-Hao Li (shihli)
description: updated
Changed in neutron:
assignee: Shih-Hao Li (shihli) → Armando Migliaccio (armando-migliaccio)
Changed in neutron:
assignee: Armando Migliaccio (armando-migliaccio) → Shih-Hao Li (shihli)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

Reviewed: https://review.openstack.org/257593
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=5bd76c52844ffcfb2bd0ce1753b5159ef510b323
Submitter: Jenkins
Branch: master

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.

    Closes-bug: #1526084
    Change-Id: Icab94f4e09e95fa6729c458522a3fe50e850a4be

Changed in neutron:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.