← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1711303] [NEW] Filter instances by IP when listing is not efficient enough

 

Public bug reported:

Filtering instance by IP when listing is done by:
http://git.openstack.org/cgit/openstack/nova/tree/nova/compute/api.py#n2457

this is due to that IP address is one part of the instance.network_info JSON,
we have to iterate one by one to find the instance that matches the request.

This is actually not efficient enough, on our public cloud deployment, one
Enterprise user could own over 1000 instances and when they filter by
IP, HTTP 500 timeout raised.

We might consider improve the implementation.

** Affects: nova
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1711303

Title:
  Filter instances by IP when listing is not efficient enough

Status in OpenStack Compute (nova):
  New

Bug description:
  Filtering instance by IP when listing is done by:
  http://git.openstack.org/cgit/openstack/nova/tree/nova/compute/api.py#n2457

  this is due to that IP address is one part of the instance.network_info JSON,
  we have to iterate one by one to find the instance that matches the request.

  This is actually not efficient enough, on our public cloud deployment, one
  Enterprise user could own over 1000 instances and when they filter by
  IP, HTTP 500 timeout raised.

  We might consider improve the implementation.

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


Follow ups