nova/nova/tests
Matt Riedemann 83d74dbbb6 Add functional regression test for bug 1794996
The _destroy_evacuated_instances method on compute
startup tries to cleanup guests from the hypervisor
and allocations held against that compute node resource
provider by evacuated instances, but doesn't take into
account that those evacuated instances could have been
deleted in the meantime which leads to a lazy-load
InstanceNotFound error that kills the startup of the
compute service.

This change adds a functional regression test to recreate
the bug. A subsequent change with the fix will update
the test to show the bug is fixed.

Note that assertFlavorMatchesAllocation and
_boot_and_check_allocations are redefined in the test
class because If6aa37d9b6b48791e070799ab026c816fda4441c
refactored those methods which will cause problems with
backports of this test. The redefined methods will be
removed in a follow up cleanup patch.

Change-Id: I19b0d8baea5440f5d5bc49a6956d9a97bf031a05
Related-Bug: #1794996
(cherry picked from commit d252f81573)
2018-12-06 17:49:44 -05:00
..
functional Add functional regression test for bug 1794996 2018-12-06 17:49:44 -05:00
live_migration/hooks Stop setting glance_api_version in cinder.conf in nova-live-migration 2018-07-03 09:55:26 -04:00
unit Merge "hardware: fix memory check usage for small/large pages" into stable/rocky 2018-12-05 13:18:50 +00:00
__init__.py
fixtures.py fixtures: Track volume attachments within CinderFixtureNewAttachFlow 2018-10-23 13:46:26 +01:00
json_ref.py Transform instance.exists notification 2018-06-05 12:51:30 +00:00
uuidsentinel.py Remove redundant str typecasting 2016-09-23 12:53:34 +05:30