Comment 24 for bug 1869050

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

Reviewed: https://review.opendev.org/730344
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=abe04f048c432fed5726af8244bb055e6e44657e
Submitter: Zuul
Branch: stable/rocky

commit abe04f048c432fed5726af8244bb055e6e44657e
Author: Balazs Gibizer <email address hidden>
Date: Wed Mar 25 17:48:23 2020 +0100

    Update scheduler instance info at confirm resize

    When a resize is confirmed the instance does not belong to the source
    compute any more. In the past the scheduler instance info is only
    updated by the _sync_scheduler_instance_info periodic. This caused that
    server boots with anti-affinity did not consider the source host.
    But now at the end of the confirm_resize call the compute also updates
    the scheduler about the move.

    Conflicts:
      nova/compute/manager.py due to
      I933687891abef4878de09481937d576ce5899511 is a stable only patch
      nova/tests/unit/compute/test_compute_mgr.py due to
      35ce77835bb271bad3c18eaf22146edac3a42ea0 is missing from stable/rocky

    Change-Id: Ic50e72e289b56ac54720ad0b719ceeb32487b8c8
    Closes-Bug: #1869050
    (cherry picked from commit 738110db7492b1360f5f197e8ecafd69a3b141b4)
    (cherry picked from commit e8b3927c92d29c74fd0c79b5a51b7a34e9d66236)
    (cherry picked from commit e34b375a6161b15d92beba64fa281f40634ffeab)
    (cherry picked from commit e1116ee3b776ec84e4ce7d6ac9346fa0d43269b5)