nova/nova/tests
Matt Riedemann 52d515ba7d Remove legacy request spec compat code from API
For operations which require a request spec, we now require that
the request spec exists when we look it up in the API or we fail.
All instances created since Newton should have a request spec, and
instances created before Newton should have been migrated to have
a request spec as part of an online data migration. Failing to find
a request spec will now result in a 500 internal server error.

As a result, the RequestSpec.get_by_instance_uuid query is moved
to before updating the instance.task_state in the various API methods
since we want to do all we can before updating the instance in case
we fail.

Related to blueprint request-spec-use-by-compute

Change-Id: I34ffaf285718059b55f90e812b57f1e11d566c6f
2018-12-18 11:13:31 -05:00
..
functional Drop request spec migration code 2018-12-17 13:54:48 -05:00
live_migration/hooks Add post-test hook for testing evacuate 2018-10-25 16:15:56 -04:00
unit Remove legacy request spec compat code from API 2018-12-18 11:13:31 -05:00
__init__.py
fixtures.py Merge "Replace ThreadPoolExecutor with GreenThreadPoolExecutor" 2018-12-17 11:07:01 +00:00
json_ref.py Transform instance.exists notification 2018-06-05 12:51:30 +00:00