Comment 5 for bug 1841411

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

Reviewed: https://review.opendev.org/680349
Committed: https://git.openstack.org/cgit/openstack/compute-hyperv/commit/?id=ba406564030d834353a8a1899c8520e522aa39fe
Submitter: Zuul
Branch: stable/stein

commit ba406564030d834353a8a1899c8520e522aa39fe
Author: Lucian Petrut <email address hidden>
Date: Mon Aug 26 10:28:37 2019 +0300

    Avoid error state for recovered instances after failed migrations

    Most users expect that if a live migration fails but the instance
    is fully recovered, it shouldn't enter 'error' state. Setting
    the migration status to 'error' should be enough. This simplifies
    debugging, making it clear that the instance dosn't have to be
    manually recovered.

    This patch changed this behavior, indirectly affecting the Hyper-V
    driver: Idfdce9e7dd8106af01db0358ada15737cb846395

    We'll stop propagating exceptions when managing to recover the
    instance, which matches the reference driver (libvirt) behavior.

    Change-Id: I4b667c06e008b03457d35ce9c920b916d21c255f
    Closes-Bug: 1841411
    (cherry picked from commit a721681e6111d85264e20085d1f184d1c923b69e)