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.
Reviewed: https:/ /review. opendev. org/670393 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=8db712fe040 b15f2b8bc553833 8658d3aac246e3
Committed: https:/
Submitter: Zuul
Branch: master
commit 8db712fe040b15f 2b8bc5538338658 d3aac246e3
Author: Matt Riedemann <email address hidden>
Date: Thu Jul 11 17:11:32 2019 -0400
Add functional test for resize crash compute restart revert
During review of change I51673e58fc8d5f 051df911630f6d7 a928d123a5b
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.
Related-Bug: #1836369
Change-Id: I107d842520c088 b4859a3b36621ce 6bd8e970475