← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1829332] Re: neutron-server report DhcpPortInUse ERROR log

 

Reviewed:  https://review.opendev.org/659523
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=494b65d951dbc03f4cebb3bc14970e54ff6adb5f
Submitter: Zuul
Branch:    master

commit 494b65d951dbc03f4cebb3bc14970e54ff6adb5f
Author: Yang JianFeng <yjf1970231893@xxxxxxxxx>
Date:   Thu May 16 17:40:28 2019 +0800

    Optimize the code that fixes the race condition of DHCP agent.
    
    https://review.opendev.org/#/c/236983/
    https://review.opendev.org/#/c/606383/
    The above patchs that resolve the race condition of DHCP agent will
    result in neutron-server raise DhcpPortInUse ERROR log. And, the
    second patch may result in old dhcp agent create a redundant port.
    
    Closes-Bug: #1829332
    Change-Id: If7a7ac2f88ce5b0e799c1104c936735a6cc860aa


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

Title:
  neutron-server report DhcpPortInUse ERROR log

Status in neutron:
  Fix Released

Bug description:
  In our environment, the /var/log/neutron/server.log occasionally
  report the following error: http://paste.openstack.org/show/751456/

  I found it is resulted by https://review.opendev.org/#/c/236983/ and https://review.opendev.org/#/c/606383/. The two patches resolved they closed bug, but I think their solutions are not perfect.
  They may result in the following issues:
  1. Result in neutron-server raise ERROR log
  2. If we encounter the case: https://bugs.launchpad.net/neutron/+bug/1795126, the old agent may create a redundant port. Because of the neutron-dhcp-agent may create a new port after it received DhcpPortInUse exception.

  So, I think we should optimize these codes.

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


References