Comment 4 for bug 1436568

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

Reviewed: https://review.openstack.org/204995
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=5eddd50537f1666021f71b2df7f49d58400ec31f
Submitter: Jenkins
Branch: master

commit 5eddd50537f1666021f71b2df7f49d58400ec31f
Author: Lucas Alvares Gomes <email address hidden>
Date: Thu Jul 23 10:54:12 2015 +0100

    Ironic: Better handle InstanceNotFound on destroy()

    After telling Ironic to delete the instance the destroy() code in the
    Ironic nova driver keeps waiting for the provision state of that node
    to change. If the instance have been already cleaned up in Ironic the
    nova code should just ignore it and continue. This also skip trying to
    update the node to remove the instance association if the instance was
    already removed in Ironic.

    Missing unittests to the _unprovision() method were added as part of
    this patch since it touches it.

    Closes-Bug: #1436568
    Change-Id: I0b1b710056d48c8b7bb2b46fdaba192922926420