← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1557002] [NEW] isolated metadata proxy will not be updated when router interface add/delete

 

Public bug reported:

When create/delete router interface, the isolated metadata proxy for
isolated network will not be updated. It will cause two issues.

a) The isolated metadata proxy process will still be there, even if no
subnet will use it. It will waste the resource of host, especially when
there are many networks.

Reproduce:
1) Set "enable_isolated_metadata = True" in configuration.
2) Create a network.
3) Create a ipv4 subnet for the network.
4) Attach the subnet to a router.
The  isolated metadata proxy process is useless now, but it is still there. Even if I restarted the dhcp-agent, the process will not be killed.

b) The  isolated metadata proxy process will not be spawned, when a
subnet becomes isolated.

Reproduce:
1) Set "enable_isolated_metadata = True" in configuration.
2) Create a network.
3) Create a ipv4 subnet for the network.
4) Attach the subnet to a router.
5) Update the network with "neutron net-update test-net --admin_state_up False" The isolated metadata proxy should be killed now.
6) Update the network with "neutron net-update test-net --admin_state_up True" 
7) Detach the subnet from the router. The subnet becomes isolated, but the  isolated metadata proxy process will not be spawned. And the isolated metadata service can be used.

Bug [1] introduced a way to update the network on dhcp agent when
create/delete router interface. The fix can be based on that bug, to
update the metadata proxy process according to the change of router
interface.

[1] https://bugs.launchpad.net/neutron/+bug/1544515

** Affects: neutron
     Importance: Undecided
     Assignee: Hong Hui Xiao (xiaohhui)
         Status: New

** Changed in: neutron
     Assignee: (unassigned) => Hong Hui Xiao (xiaohhui)

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1557002

Title:
  isolated metadata proxy will not be updated when router interface
  add/delete

Status in neutron:
  New

Bug description:
  When create/delete router interface, the isolated metadata proxy for
  isolated network will not be updated. It will cause two issues.

  a) The isolated metadata proxy process will still be there, even if no
  subnet will use it. It will waste the resource of host, especially
  when there are many networks.

  Reproduce:
  1) Set "enable_isolated_metadata = True" in configuration.
  2) Create a network.
  3) Create a ipv4 subnet for the network.
  4) Attach the subnet to a router.
  The  isolated metadata proxy process is useless now, but it is still there. Even if I restarted the dhcp-agent, the process will not be killed.

  b) The  isolated metadata proxy process will not be spawned, when a
  subnet becomes isolated.

  Reproduce:
  1) Set "enable_isolated_metadata = True" in configuration.
  2) Create a network.
  3) Create a ipv4 subnet for the network.
  4) Attach the subnet to a router.
  5) Update the network with "neutron net-update test-net --admin_state_up False" The isolated metadata proxy should be killed now.
  6) Update the network with "neutron net-update test-net --admin_state_up True" 
  7) Detach the subnet from the router. The subnet becomes isolated, but the  isolated metadata proxy process will not be spawned. And the isolated metadata service can be used.

  Bug [1] introduced a way to update the network on dhcp agent when
  create/delete router interface. The fix can be based on that bug, to
  update the metadata proxy process according to the change of router
  interface.

  [1] https://bugs.launchpad.net/neutron/+bug/1544515

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1557002/+subscriptions


Follow ups