Comment 12 for bug 1797580

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

Reviewed: https://review.openstack.org/611944
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=fbf729d61b608bf8b19157bf699f6c0b5f43f10d
Submitter: Zuul
Branch: stable/queens

commit fbf729d61b608bf8b19157bf699f6c0b5f43f10d
Author: Matt Riedemann <email address hidden>
Date: Fri Oct 12 11:37:38 2018 -0400

    Add regression test for bug 1797580

    Microversion 2.56 allows cold migrating to a specified target host. The
    compute API sets the requested destination on the request spec with the
    specified target host and then conductor sends that request spec to the
    scheduler to validate the host. Conductor later persists the changes to
    the request spec because it's the resize flow and the flavor could change
    (even though in this case it won't since it's a cold migrate). After
    confirming the resize, if the server is live migrated it will fail during
    scheduling because of the persisted RequestSpec.requested_destination
    from the cold migration, and you can't live migrate to the same host on
    which the instance is currently running.

    This change adds a test to recreate the regression bug.

    Change-Id: I588655fdd90917d00ccf5eb0a8df7bccc1ac0e81
    Related-Bug: #1797580
    (cherry picked from commit bfc8d1052ba6f1011fcdb882a825694acf98dd39)
    (cherry picked from commit cb9c96f0a8287a3261432c75f9178275780cec38)