nova/nova
Matt Riedemann 8cea14abf3 Fix regression when listing build_requests with marker and ip filter
Change Ic02206e887e3fea7752d615bbed680510c482097 attempted
to optimize the GET /servers flow by skipping filtering on
build requests if the ip or ip6 filters were used, since
servers that are not yet scheduled (build requests) can't have
ips. However, if a marker is provided and the marker is in the
build_requests table, we fail to look there and then check the
cells for the marker, which won't exist and result in a 400
MarkerNotFound error.

This fixes the issue by *not* skipping build requests if there
is a marker specified. A functional test is added which will
show the 400 MarkerNotFound error if the code fix is removed.

Change-Id: Ibdd157d06252c3c0219539ec798c8d9d3a8ae26f
Closes-Bug: #1777458
2018-06-19 15:56:27 -04:00
..
api Merge "Add policy rule to block image-backed servers with 0 root disk flavor" 2018-06-19 12:01:13 +00:00
cells Add instance action record for snapshot instances 2017-12-11 17:46:38 +08:00
cmd Enforce placement minimum in nova.cmd.status 2018-06-15 21:04:50 +00:00
common
compute Fix regression when listing build_requests with marker and ip filter 2018-06-19 15:56:27 -04:00
conductor Use instance project/user when creating RequestSpec during resize reschedule 2018-05-30 12:07:53 -04:00
conf Merge "Update the disk_cachemodes to mention an rbd detail" 2018-06-16 00:13:59 +00:00
console Merge "Convert xenapi's xvp console to processutils." 2018-05-09 04:57:55 +00:00
consoleauth Merge "Remove translation of log messages" 2017-08-10 11:39:03 +00:00
db Optional separate database for placement API 2018-06-15 13:01:50 +01:00
hacking Implement granular policy rules for placement 2018-05-17 11:12:16 -04:00
image Implement certificate_utils 2018-06-12 14:44:32 -04:00
ipv6
keymgr Remove deprecated keymgr code 2017-09-11 15:48:30 -04:00
locale Imported Translations from Zanata 2018-04-11 06:17:52 +00:00
network network: update pci request spec to handle trusted tags 2018-05-31 13:55:40 -04:00
notifications Fix nits from trusted certs notification change 2018-06-15 08:34:12 -04:00
objects Plumb trusted_certs through the compute service 2018-06-12 16:58:25 -04:00
pci network: update pci request spec to handle trusted tags 2018-05-31 13:55:40 -04:00
policies Add policy rule to block image-backed servers with 0 root disk flavor 2018-06-15 17:10:11 -04:00
privsep Merge "Revert "Re-using the code of os brick cinder"" 2018-06-19 02:08:35 +00:00
scheduler Merge "Only run placement request filters when Placement will be called" 2018-06-19 10:30:12 +00:00
servicegroup iso8601.is8601.Utc No Longer Exists 2017-08-29 19:26:55 -04:00
tests Fix regression when listing build_requests with marker and ip filter 2018-06-19 15:56:27 -04:00
virt Merge "libvirt: remove unused get_ovs_interfaceid()" 2018-06-19 10:53:01 +00:00
vnc
volume Remove unnecessary parameters from create volume API 2018-06-12 12:06:41 +05:30
__init__.py
availability_zones.py
baserpc.py
block_device.py Add uuid column to BlockDeviceMapping 2017-12-17 14:28:35 +00:00
cache_utils.py
config.py
context.py Remove RequestContext.instance_lock_checked 2018-04-11 11:46:19 -04:00
crypto.py Convert certificate generation to processutils. 2018-05-02 19:18:41 +10:00
debugger.py
exception.py Add policy rule to block image-backed servers with 0 root disk flavor 2018-06-15 17:10:11 -04:00
exception_wrapper.py
filters.py
hooks.py
i18n.py correct referenced url in comments 2018-01-18 09:16:37 +08:00
loadables.py
manager.py conf: Remove 'db_driver' config opt 2018-03-16 17:23:16 +00:00
policy.py
profiler.py
quota.py Restrict CONF.quota.driver to DB and noop quota drivers 2018-06-01 15:44:52 +00:00
rc_fields.py Make ResourceClass.normalize_name handle sharp S 2018-04-10 12:24:40 -05:00
rpc.py Use oslo.messaging per-call monitoring 2018-06-11 14:44:10 -07:00
safe_utils.py
service.py Deprecate running API services under eventlet 2018-05-16 03:48:32 +00:00
service_auth.py Fix NoneType error when [service_user] is misconfigured 2017-11-28 12:22:30 -06:00
test.py Optional separate database for placement API 2018-06-15 13:01:50 +01:00
utils.py Remove deprecated monkey_patch config options 2018-05-16 11:40:41 -04:00
version.py
weights.py
wsgi.py Refactor WSGI apps and utils to limit imports 2018-03-06 22:05:12 +00:00