Comment 20 for bug 1869050

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

Reviewed: https://review.opendev.org/729538
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=e1116ee3b776ec84e4ce7d6ac9346fa0d43269b5
Submitter: Zuul
Branch: stable/stein

commit e1116ee3b776ec84e4ce7d6ac9346fa0d43269b5
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/tests/unit/compute/test_compute_mgr.py
          due to Ib50b6b02208f5bd2972de8a6f8f685c19745514c and
          Ia6d8a7909081b0b856bd7e290e234af7e42a2b38 are missing from
          stable/stein

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