Reviewed:  https://review.opendev.org/692352
Committed: 
https://git.openstack.org/cgit/openstack/neutron/commit/?id=7a9d6d26419defa148764166600bc4ac6b50c109
Submitter: Zuul
Branch:    master

commit 7a9d6d26419defa148764166600bc4ac6b50c109
Author: LIU Yulong <[email protected]>
Date:   Thu Oct 31 19:17:36 2019 +0800

    Do not initialize snat-ns twice
    
    If the DVR+HA router has external gateway, the snat-namespace will be
    initialized twice during agent restart. And that ns initialization
    function will run many external resource processing actions which will
    definitely increase the starting time of L3 agent. This patch addresses
    this issue.
    
    Change-Id: I7719491275fa1ebfa7e881366e5cb066e3d4185c
    Closes-Bug: #1850779


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

Title:
  [L3] snat-ns will be initialized twice for DVR+HA routers during agent
  restart

Status in neutron:
  Fix Released

Bug description:
  If the  DVR+HA router has external gateway, the snat-namespace will be 
initialized twice during agent restart.
  And that initialized function will run many [1][2] external resource 
processing actions which will definitely increase the starting time of agent.

  
https://github.com/openstack/neutron/blob/master/neutron/agent/l3/dvr_snat_ns.py#L31-L39
  
https://github.com/openstack/neutron/blob/master/neutron/agent/l3/namespaces.py#L91-L108

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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to