Comment 31 for bug 1852610

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to nova (stable/queens)

Reviewed: https://review.opendev.org/699705
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=922098044b37c66c51e83f4879c1f37ae999f196
Submitter: Zuul
Branch: stable/queens

commit 922098044b37c66c51e83f4879c1f37ae999f196
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/functional/integrated_helpers.py

    NOTE(mriedem): The conflict is due to not having change
    Iea283322124cb35fc0bc6d25f35548621e8c8c2f in Queens. As a result
    the helper methods are moved from ServerMovingTests to
    ProviderUsageBaseTestCase within test_servers.py.

    Change-Id: I644608b4e197ddea31c5f264adb492f2c8931f04
    Related-Bug: #1852610
    (cherry picked from commit 94d3743b185d22c07504f5d878dff2f9ef42cee3)
    (cherry picked from commit 28d76cc7ae5c86d251915392b5b961a975b343ae)
    (cherry picked from commit 7d673872462f53d0ce5e651263253ec4057a2138)
    (cherry picked from commit 1563a15c8b4bcf1a602f72a549c8d9c56ed7da4e)