It is possible to delete a source compute service which has
pending migration-based allocations and servers in VERIFY_RESIZE
status. Doing so deletes the compute service and compute node
but orphans the source node resource provider along with its
resource allocations held by the migration record while there
is a pending resized server.
This adds a simple cold migrate test which deletes the source
compute service while the server is in VERIFY_RESIZE status and
then tries to confirm the resize which fails.
Reviewed: https:/ /review. opendev. org/695935 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=7d673872462 f53d0ce5e651263 253ec4057a2138
Committed: https:/
Submitter: Zuul
Branch: stable/stein
commit 7d673872462f53d 0ce5e651263253e c4057a2138
Author: Matt Riedemann <email address hidden>
Date: Thu Nov 14 11:38:07 2019 -0500
Add functional recreate test for bug 1852610
It is possible to delete a source compute service which has
pending migration-based allocations and servers in VERIFY_RESIZE
status. Doing so deletes the compute service and compute node
but orphans the source node resource provider along with its
resource allocations held by the migration record while there
is a pending resized server.
This adds a simple cold migrate test which deletes the source
compute service while the server is in VERIFY_RESIZE status and
then tries to confirm the resize which fails.
Conflicts:
nova/ tests/functiona l/wsgi/ test_services. py
NOTE(mriedem): The conflict is due to change 85937ef83f689b7 163d965a89ec10a which is not in Stein.
If32bca0701
Change-Id: I644608b4e197dd ea31c5f264adb49 2f2c8931f04 07504f5d878dff2 f9ef42cee3) 251915392b5b961 a975b343ae)
Related-Bug: #1852610
(cherry picked from commit 94d3743b185d22c
(cherry picked from commit 28d76cc7ae5c86d