← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1646122] [NEW] Dump all the instances from the db without paging when filter with ip and ip6 in server list

 

Public bug reported:

The filtering of ip and ip6 is done in the python.
https://github.com/openstack/nova/blob/3cd2005523dc83b1cadc956c4f86385766aaf679/nova/compute/api.py#L2434

So all the instances dump from the db without paging
https://github.com/openstack/nova/blob/3cd2005523dc83b1cadc956c4f86385766aaf679/nova/compute/api.py#L2373

but that can be improved by still paging the db query. It will be better
than dump all the instances in one db query.

** Affects: nova
     Importance: High
         Status: Confirmed


** Tags: api

** Changed in: nova
       Status: New => Confirmed

** Tags added: api

** Changed in: nova
   Importance: Undecided => High

-- 
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/1646122

Title:
  Dump all the instances from the db without paging when filter with ip
  and ip6 in server list

Status in OpenStack Compute (nova):
  Confirmed

Bug description:
  The filtering of ip and ip6 is done in the python.
  https://github.com/openstack/nova/blob/3cd2005523dc83b1cadc956c4f86385766aaf679/nova/compute/api.py#L2434

  So all the instances dump from the db without paging
  https://github.com/openstack/nova/blob/3cd2005523dc83b1cadc956c4f86385766aaf679/nova/compute/api.py#L2373

  but that can be improved by still paging the db query. It will be
  better than dump all the instances in one db query.

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