Comment 5 for bug 1826472

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

Reviewed: https://review.opendev.org/656594
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=481cb5ce04e220c26e5772f4253d63e212adca45
Submitter: Zuul
Branch: master

commit 481cb5ce04e220c26e5772f4253d63e212adca45
Author: Matt Riedemann <email address hidden>
Date: Tue Apr 30 17:45:32 2019 -0400

    Find instance in another cell during floating IP re-association

    When associating a floating IP to instance A but it was already
    associated with instance B, we try to refresh the info cache on
    instance B. The problem is the context is targeted to the cell
    for instance A and instance B might be in another cell, so we'll
    get an InstanceNotFound error trying to lookup instance B.

    This change tries to find the instance in another cell using its
    instance mapping, and makes the code a bit more graceful if
    instance B is deleted.

    Change-Id: I71790afd0784d98050ccd7cc0e046321da249cbe
    Closes-Bug: #1826472