nova/nova
Matt Riedemann dae6fbfce6 Add functional test for resize crash compute restart revert
During review of change I51673e58fc8d5f051df911630f6d7a928d123a5b
there was discussion about the RESIZE_MIGRATING crashed resize
cleanup on restart of the compute service and how it may or may
not work but is likely missing some things to cleanup like fields
set on the instance during prep_resize and resource allocations
in placement.

This adds a functional test to hit that code and make assertions
about what it does and does not cleanup after the crashed resize.

Conflicts:
    nova/tests/functional/integrated_helpers.py
Note: file conflict is due to not having patch
Iea283322124cb35fc0bc6d25f35548621e8c8c2f in queens, and this is why
the test_init_host change is needed as well.

Related-Bug: #1836369

Change-Id: I107d842520c088b4859a3b36621ce6bd8e970475
(cherry picked from commit 8db712fe04)
(cherry picked from commit c565cab479)
(cherry picked from commit f04fc63ffc)
2019-10-28 15:01:02 +01:00
..
CA
api Retrun 400 if invalid query parameters are specified 2019-08-13 08:55:27 +09:00
cells Add instance action record for snapshot instances 2017-12-11 17:46:38 +08:00
cmd fix cellv2 delete_host 2019-07-25 13:45:06 +03:00
common
compute cleanup evacuated instances not on hypervisor 2019-10-28 14:54:01 +01:00
conductor Cleanup when hitting MaxRetriesExceeded from no host_available 2019-07-30 12:26:08 -04:00
conf Fail to live migration if instance has a NUMA topology 2019-07-02 14:25:26 +00:00
console Fix accumulated nits 2018-01-16 14:54:04 +00:00
consoleauth Fix stacktraces with redis caching backend 2018-10-01 07:52:08 +00:00
db Add functional recreate test for bug 1764556 2019-07-31 10:00:20 -04:00
hacking trivial: Rename 'policy_check' -> 'policy' 2017-10-25 17:56:40 +01:00
image Fix regression in glance client call 2019-04-23 15:28:37 +00:00
ipv6
keymgr Remove deprecated keymgr code 2017-09-11 15:48:30 -04:00
locale Imported Translations from Zanata 2018-03-01 06:16:22 +00:00
network Move get_pci_mapping_for_migration to MigrationContext 2019-07-01 16:29:12 +00:00
notifications Merge "Remove noisy DEBUG log" into stable/queens 2018-09-21 12:01:58 +00:00
objects Don't generate service UUID for deleted services 2019-07-31 10:03:53 -04:00
pci PCI: do not force remove allocated devices 2019-02-05 23:29:54 +00:00
policies Add policy rule to block image-backed servers with 0 root disk flavor 2018-06-18 13:51:41 -04:00
privsep stable-only: fix typo in IVS related privsep method 2018-10-03 19:28:30 +00:00
scheduler Merge "Disable limit if affinity(anti)/same(different)host is requested" into stable/queens 2019-08-12 16:24:03 +00:00
servicegroup Fix service list for disabled compute using MC driver 2018-09-16 19:12:55 +00:00
tests Add functional test for resize crash compute restart revert 2019-10-28 15:01:02 +01:00
virt Merge "Stop sending bad values from libosinfo to libvirt" into stable/queens 2019-10-22 16:27:24 +00:00
vnc
volume Use migration_status during volume migrating and retyping 2019-05-07 12:43:40 +01:00
__init__.py
availability_zones.py Avoid lazy-load error when getting instance AZ 2017-05-25 15:46:22 -04:00
baserpc.py
block_device.py Add uuid column to BlockDeviceMapping 2017-12-17 14:28:35 +00:00
cache_utils.py remove log translation tags from nova.cells 2017-04-10 14:48:07 +00:00
config.py Set default of oslo.privsep.daemon logging to INFO level 2018-09-15 02:21:10 +00:00
context.py Allow cinderv2 endpoints within the request context catalog 2018-06-05 10:04:06 +01:00
crypto.py
debugger.py
exception.py Block swap volume on volumes with >1 rw attachment 2019-05-30 17:29:53 -04:00
exception_wrapper.py rename binary to source in versioned notifications 2017-07-25 17:36:04 +02:00
filters.py
hooks.py
i18n.py correct referenced url in comments 2018-01-18 09:16:37 +08:00
loadables.py
manager.py
policy.py Add policy granularity to the Flavors API 2017-07-19 15:56:47 -04:00
profiler.py
quota.py Fix server_group_members quota check 2018-07-11 15:04:34 -04:00
rpc.py Remove dead code of api.fault notification sending 2017-10-09 17:29:40 +02:00
safe_utils.py Allow wrapping of closures 2017-07-20 10:07:52 +01:00
service.py Move conductor wait_until_ready() delay before manager init 2018-09-01 17:25:02 -04:00
service_auth.py Fix NoneType error when [service_user] is misconfigured 2017-11-28 12:22:30 -06:00
test.py Fix the request context in ServiceFixture 2018-09-04 19:36:26 +00:00
utils.py Make supports_direct_io work on 4096b sector size 2018-11-21 10:47:30 +00:00
version.py
weights.py
wsgi.py