nova/nova/tests/functional/db
Andrey Volkov 8aadd4ebdf Exclude build request marker from server listing
When listing "real" (already in cell) instances e.g. from
nova_cell1.instances table, a marker option means "start after the
instance with marker".

For VMs:

| uuid | name |
| 1    | vm1  |
| 2    | vm2  |

"openstack server list --marker 1" returns vm2 only.

But for VMs from nova_api.build_requests table it's different.

For VMs:

| uuid | name |
| 1    | vm1  |
| 2    | vm2  |

"openstack server list --marker 1" returns both vm1 and vm2.

This patch excludes instance with marker from listing for
instances from build_requests table.

Closes-Bug: #1808286
Change-Id: I5165b69f956fbf1904112a742698b2739f747e72
(cherry picked from commit 2ef704cba6)
(cherry picked from commit 3eb0ba988f)
2019-01-03 14:27:36 +00:00
..
api Make request_spec.spec MediumText 2017-12-14 21:28:18 -05:00
__init__.py Add second migrate_repo for cells v2 database migrations 2015-03-03 15:41:40 -05:00
test_aggregate.py Fix invalid UUIDs in remaining tests 2018-01-30 17:15:03 +00:00
test_aggregate_model.py Add aggregates tables to the API db. 2016-06-01 12:00:56 -05:00
test_allocation_candidates.py Merge "trivial: use cn instead of rp" 2018-01-31 14:32:40 +00:00
test_archive.py cleanup mapping/reqspec after archive instance 2017-11-21 15:28:07 +01:00
test_build_request.py Exclude build request marker from server listing 2019-01-03 14:27:36 +00:00
test_cell_mapping.py Fix database poison warnings, part 25 2016-11-10 13:57:13 +00:00
test_compute_node.py Filter deleted computes from get_all_by_uuids() 2018-09-21 14:46:35 -04:00
test_connection_switch.py Add scatter gather utilities for cells 2017-06-29 19:41:20 +00:00
test_console_auth_token.py Add ConsoleAuthToken object 2018-01-06 02:03:50 +00:00
test_flavor.py Add Flavor.description attribute 2017-11-05 01:24:01 -05:00
test_flavor_model.py Add Flavor.description attribute 2017-11-05 01:24:01 -05:00
test_host_mapping.py Make discover_hosts only query for unmapped ComputeNode records 2017-05-15 10:50:01 -04:00
test_instance.py Filter out instances without a host when populating AZ 2018-08-21 09:52:21 -04:00
test_instance_group.py Add InstanceGroup._remove_members_in_db 2017-06-08 21:01:08 +00:00
test_instance_group_model.py Add instance groups tables to the API database 2016-06-23 00:28:50 +00:00
test_instance_mapping.py Add get_by_instance_uuids() to InstanceMappingList 2017-04-06 10:57:06 -07:00
test_keypair.py Cleanup some redundant USES_DB_SELF usage 2016-09-26 15:47:16 -04:00
test_quota.py Count instances to check quota 2017-07-18 17:31:15 +00:00
test_quota_model.py Add quota related tables to the api database. 2016-10-12 07:40:00 +00:00
test_quotas.py Add online migration to move quotas to API database 2017-07-24 18:36:46 -04:00
test_request_spec.py Handle missing marker during online data migration 2018-10-16 13:42:07 +00:00
test_resource_class_cache.py [placement] Object changes to support last-modified headers 2017-12-07 18:47:17 +00:00
test_resource_provider.py [placement] Retry allocation writes server side 2018-08-03 14:41:15 +01:00
test_security_group.py Add SecurityGroupList.get_counts() 2017-06-19 21:51:46 +00:00