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.
Change-Id: I644608b4e197ddea31c5f264adb492f2c8931f04
Related-Bug: #1852610
(cherry picked from commit 94d3743b185d22c07504f5d878dff2f9ef42cee3)
Reviewed: https:/ /review. opendev. org/694544 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=28d76cc7ae5 c86d251915392b5 b961a975b343ae
Committed: https:/
Submitter: Zuul
Branch: stable/train
commit 28d76cc7ae5c86d 251915392b5b961 a975b343ae
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.
Change-Id: I644608b4e197dd ea31c5f264adb49 2f2c8931f04 07504f5d878dff2 f9ef42cee3)
Related-Bug: #1852610
(cherry picked from commit 94d3743b185d22c