← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 2127029] Re: Neutron dhcp agent does not start due to broken resync thread

 

Reviewed:  https://review.opendev.org/c/openstack/neutron/+/962871
Committed: https://opendev.org/openstack/neutron/commit/84b9b62e6a4b35d480d274231b024aa6d69bda82
Submitter: "Zuul (22348)"
Branch:    master

commit 84b9b62e6a4b35d480d274231b024aa6d69bda82
Author: Vladimir Kozhukalov <kozhukalov@xxxxxxxxx>
Date:   Thu Oct 2 14:42:44 2025 -0500

    Fix periodic_resync thread in DHCP agent
    
    The thread tries to use threading.Event as a
    thread target. This prevents DHCP agent to start.
    
    Closes-Bug: #2127029
    Change-Id: Iac731787ed858fe0c0f752e3bdf400005c5f40be
    Signed-off-by: Vladimir Kozhukalov <kozhukalov@xxxxxxxxx>


** 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/2127029

Title:
  Neutron dhcp agent does not start due to broken resync thread

Status in neutron:
  Fix Released

Bug description:
  The dhcp agent tries to run the periodic resync thread but it
  mistakenly uses the event object as the thread target and this
  periodic_resync method throws an exception which prevents the dhcp
  agent to start. See for details [1] and [2].

  [1] https://opendev.org/openstack/neutron/src/commit/d7e80423fd300f4cd407a86221932146d74d3a04/neutron/agent/dhcp/agent.py#L419
  [2] https://opendev.org/openstack/neutron/src/commit/d7e80423fd300f4cd407a86221932146d74d3a04/neutron/agent/dhcp/agent.py#L122

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



References