nova/nova/tests/functional/db
Jack Ding 164b1ba301 Handle missing marker during online data migration
During upgrade the instance used by the request spec marker could be
deleted and purged between sessions. This would cause the database
online data migration to fail as the marker instance couldn't be found.

Fix by handling the MarkerNotFound exception and re-trying without the
marker. This will go through all the instances and reset the marker when
done.

Closes-Bug: #1793419
Change-Id: If96e3d038346f16cc93209bccf3db028bacfe59b
Signed-off-by: Jack Ding <jack.ding@windriver.com>
(cherry picked from commit ff03b157b9)
(cherry picked from commit 57b46754ff)
2018-10-16 13:42:07 +00:00
..
api Make request_spec.spec MediumText 2017-12-14 21:28:18 -05:00
__init__.py
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 Raise MarkerNotFound if BuildRequestList.get_by_filters doesn't find marker 2017-12-12 21:27:28 -05: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