← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 2043558] [NEW] Some init_router_port steps are unnecessary for new devices

 

Public bug reported:

Summary
-------
When doing the init for new router ports, some of the steps are not needed and just add extra overhead. 


Description
-----------
These unnecessary steps slow down the router setup. If the entire network is being setup from scratch, this can increase the time it takes for VMs to become reachable.


Pre-conditions
--------------
The Neutron L3 agent is attempting to setup a router for the first time or from scratch (e.g. following a complete removal of the qrouter & fip namespaces). For replication purposes, this should be a router with a large number of subnets attached (~100).


Step by step reproduction steps
-------------------------------
On a compute node with DVR:

ip netns delete $QROUTER_NETNS && ip netns delete $FIP_NETNS && docker
restart neutron_l3_agent

Note: How the agent is restarted will of course depend on how OpenStack
is being deployed.


Expected output
---------------
Unnecessary steps for new interfaces are skipped.


Actual output
-------------
Unnecessary steps for new interfaces are carried out but result in no changes and delay the router setup being completed.


Version
-------
OpenStack Antelope

** Affects: neutron
     Importance: Undecided
     Assignee: Adam Oswick (adamoswick)
         Status: In Progress

** Changed in: neutron
     Assignee: (unassigned) => Adam Oswick (adamoswick)

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

Title:
  Some init_router_port steps are unnecessary for new devices

Status in neutron:
  In Progress

Bug description:
  Summary
  -------
  When doing the init for new router ports, some of the steps are not needed and just add extra overhead. 

  
  Description
  -----------
  These unnecessary steps slow down the router setup. If the entire network is being setup from scratch, this can increase the time it takes for VMs to become reachable.

  
  Pre-conditions
  --------------
  The Neutron L3 agent is attempting to setup a router for the first time or from scratch (e.g. following a complete removal of the qrouter & fip namespaces). For replication purposes, this should be a router with a large number of subnets attached (~100).

  
  Step by step reproduction steps
  -------------------------------
  On a compute node with DVR:

  ip netns delete $QROUTER_NETNS && ip netns delete $FIP_NETNS && docker
  restart neutron_l3_agent

  Note: How the agent is restarted will of course depend on how
  OpenStack is being deployed.

  
  Expected output
  ---------------
  Unnecessary steps for new interfaces are skipped.

  
  Actual output
  -------------
  Unnecessary steps for new interfaces are carried out but result in no changes and delay the router setup being completed.

  
  Version
  -------
  OpenStack Antelope

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