Comment 4 for bug 1819963

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

Reviewed: https://review.openstack.org/643151
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=73aaead294b9df412305abb1cb01aac95477bcc1
Submitter: Zuul
Branch: master

commit 73aaead294b9df412305abb1cb01aac95477bcc1
Author: Matt Riedemann <email address hidden>
Date: Wed Mar 13 15:53:09 2019 -0400

    Add functional recreate test for bug 1819963

    When resizing a server that was not created in an explicit
    zone, the scheduler can pick a host in another zone and
    conductor will update the instance.availability_zone value
    for the new dest host zone.

    The problem is when reverting the resize, the server goes
    back to the original source host/zone but the
    instance.availability_zone value in the database is not
    updated which can lead to incorrect results when listing
    servers and filtering by zone.

    This adds a functional recreate test for the bug.

    Change-Id: Ib107650d6a2c991c26b646a0dd10ddc7a3fb7e56
    Related-Bug: #1819963