Comment 39 for bug 1953359

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (stable/ussuri)

Reviewed: https://review.opendev.org/c/openstack/nova/+/822047
Committed: https://opendev.org/openstack/nova/commit/c92e7821e3b97c8469fc2a68621428549d36d755
Submitter: "Zuul (22348)"
Branch: stable/ussuri

commit c92e7821e3b97c8469fc2a68621428549d36d755
Author: Balazs Gibizer <email address hidden>
Date: Mon Dec 6 16:36:41 2021 +0100

    Reproduce bug 1953359

    This patch adds a functional test that reproduces a race between
    incoming migration and the update_available_resource periodic

    Conflicts: fixed conflict on test_numa_server to only add test case for
    1953359

    Fixes:
        - Changed 'start_compute' call to 'start_computes', since the former
          is not present in Ussuri
        - Added more memory to mock 'host_info', since the default would not
          fit the instance. Default was changed in later releases
        - Bumped the API version from 2.0 to 2.1 in the test, since
          microversion 2.47 is required creating an instance
          in a specific host and 2.0 is not supporting microversions. This
          was not needed for later releases, because the API version was
          bumped with some changes made by [1]
        - Reset the original microversion in 'create_server' after the POST
          request, so that subsequent calls are not affected

    [1] Later change that bumps API version on parent classes
    https://review.opendev.org/c/openstack/nova/+/741282

    Co-Authored-By: Gabriel Silva Trevisan <email address hidden>

    Change-Id: I4be429c56aaa15ee12f448978c38214e741eae63
    Related-Bug: #1953359
    (cherry picked from commit c59224d715a21998f40f72cf4e37efdc990e4d7e)
    (cherry picked from commit f0a6d946aaa6c30f826cfced75c2fb06fdb379a8)
    (cherry picked from commit d8859e4f95f5abb20c844d914f2716cba047630e)
    (cherry picked from commit e549fec76fd2015e6e21ee5138bf06142a71e71a)