Public bug reported:
When bridge ports are missing for br-int and br-tun and agent starts up, it
checks for patch ports int-br-ex and phy-br-ex before adding those. But here
the function used to check their existence is get_port_ofport() which retries
it because of the @_ofport_retry decoration.
This causes the restart to become unnecessarily slow because of the retries.
get_port_ofport() should be used only when the port is requested to be created,
and the code waits for the ports to be created before proceeding further. We
could've just checked for the port's existence with a call to port_exists() on
the bridge.
** Affects: neutron
Importance: Undecided
Status: New
** Tags: performance
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1579769
Title:
neutron agent restart slow when bridge ports are missing
Status in neutron:
New
Bug description:
When bridge ports are missing for br-int and br-tun and agent starts up, it
checks for patch ports int-br-ex and phy-br-ex before adding those. But here
the function used to check their existence is get_port_ofport() which retries
it because of the @_ofport_retry decoration.
This causes the restart to become unnecessarily slow because of the retries.
get_port_ofport() should be used only when the port is requested to be created,
and the code waits for the ports to be created before proceeding further. We
could've just checked for the port's existence with a call to port_exists() on
the bridge.
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1579769/+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