Comment 7 for bug 1831771

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

Reviewed: https://review.opendev.org/711210
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=24600430a2e4c67a4584d1ee466d3376aae96f25
Submitter: Zuul
Branch: stable/train

commit 24600430a2e4c67a4584d1ee466d3376aae96f25
Author: Matthew Booth <email address hidden>
Date: Thu Oct 17 21:29:46 2019 +0100

    Functional test for UnexpectedDeletingTaskStateError

    Adds a regression-style test for two cleanup bugs when
    'UnexpectedDeletingTaskStateError' is raised during build.

    Modified:
     nova/tests/functional/regressions/test_bug_1831771.py
     nova/tests/functional/integrated_helpers.py

    NOTE(stephenfin): The '_build_server' function has to be replaced by
    '_build_minimal_create_server_request' since we don't have change
    I91fa2f73185fef48e9aae9b7f61389c374e06676 here. Similarly, we need to
    make '_wait_until_deleted' handle responses that don't include the
    'status' field, such as the response received when creating a server,
    which was done in change I0c56841d098d3e9d72db65be3143f3c893f0b6ba on
    master. Finally, change I36da36cc5b099174eece0dfba29485fc20b2867b has
    been squashed into this change to avoid the races we saw with this test
    on master.

    Change-Id: Ief1dfbb6cc9d67b73dfab4c7b63358e76e12866b
    Related-Bug: #1848666
    Related-Bug: #1831771
    (cherry picked from commit 10434bd229973b37647741e58aff3ac90b3a0a6c)