← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1176963] Re: nicira plugin: metadata access network management makes unnecessary calls to backend

 

** Changed in: quantum/grizzly
       Status: Fix Committed => Fix Released

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

Title:
  nicira plugin: metadata access network management makes unnecessary
  calls to backend

Status in OpenStack Quantum (virtual network service):
  Fix Released
Status in quantum grizzly series:
  Fix Released

Bug description:
  The following operation:

  https://github.com/openstack/quantum/blob/master/quantum/plugins/nicira/common/metadata_access.py#L124

  is aimed at understanding wheter ports are already configured on the router.
  It is executed with an elevated context in order to take into account 'provider router' use case. 
  However, since it is a plugin call, it goes all the way down to the backend NVP API.

  The device_id filter is not applied to the backend API call, and
  therefore this can cause a very large query on the NVP platform.

  This particular issue can be easily fixed by avoiding backend access
  at all, as it's not necessary.

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