Comment 21 for bug 1718512

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

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

commit c2dc902e39eb345ebf674ad47422f1e72ec170e6
Author: Matt Riedemann <email address hidden>
Date: Wed Sep 20 14:24:44 2017 -0400

    Add regression test for persisted RequestSpec.retry from failed resize

    Commit 74ab427d4796d8a386f84a15cc49188c2a60f8f1 in Newton added
    code to persist changes to the RequestSpec during a resize since
    the flavor changes.

    That change inadvertantly also persisted any failed hosts during
    the resize that are stored in the RequestSpec.retry field during
    a reschedule.

    The problem is that later those persisted failed hosts are rejected
    by the RetryFilter, which can be confusing if an admin is trying
    to live migrate or evacate the instance to one of those specific
    hosts.

    This adds a functional regression test to show the failure, which
    will be fixed in a separate change that then modifies the assertions.

    Change-Id: Ib8a23db838b0bbf2cfb8123cf6aaa39d00ff0640
    Related-Bug: #1718512
    (cherry picked from commit 89448bea577b30c40ce39185d14fe14f9c61a0c2)