← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 2044484] Re: Enabling DHCP after setting the subnet's 'enable_dhcp' to false does not recreate the metadata namespace

 

Reviewed:  https://review.opendev.org/c/openstack/neutron/+/901812
Committed: https://opendev.org/openstack/neutron/commit/850a2133660eb51f2e2e906957a05e0f47454ead
Submitter: "Zuul (22348)"
Branch:    master

commit 850a2133660eb51f2e2e906957a05e0f47454ead
Author: hailun.huang <hailun.huang@xxxxxxxxxxxx>
Date:   Fri Nov 24 14:18:08 2023 +0800

    Remove the restriction on empty cidr's update events
    
    If we set the subnet's enable_dhcp to False and then reconfigure DHCP,
    there will be an update event in the port_binding table.
    We need to assess whether metadata services need to be provided or
    stopped based on this update event.
    
    Closes-Bug: #2044484
    Change-Id: Ic6ebe4ea782890975b680f420e7fcd802e6cda9d


** Changed in: neutron
       Status: In Progress => Fix Released

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

Title:
  Enabling DHCP after setting the subnet's 'enable_dhcp' to false does
  not recreate the metadata namespace

Status in neutron:
  Fix Released

Bug description:
  Suppose we already have the following resources:
  network_A,
  datapath_A corresponds to network_A.
  subnet_A,
  And use subnet_A create a vm_A. The vm_A's port is bound to datapath_A in the port_binding table.
  If we set enable_dhcp to False for subnet_A, the metadata agent will delete the corresponding namespace for network_A to stop the metadata service. If, at this point, we reconfigure subnet_A's DHCP, the metadata agent will not recreate the namespace corresponding to network_A to provide metadata services.

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



References