Comment 6 for bug 1400269

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

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

commit c4eab7062301b8f3b2de2358c589aee4c53074ef
Author: Paul Murray <email address hidden>
Date: Tue Dec 16 14:20:32 2014 +0000

    Fix ironic delete fails when flavor deleted

    The ironic virt driver looks up the flavor of an instance
    when it is going to delete it. This is to obtain extra
    specs details that are not available in the instance details.
    If the flavor has been deleted this lookup fails and causes
    the delete to fail.

    The fix makes the lookup include deleted flavors. Note that
    extra specs handling is changing in nova, so this code is
    likely to become obsolete when they are available by
    other means.

    Change-Id: I47ba78abfe60e82226acc6a17752db503d9f21d8
    Co-Authored-By: Nicholas Randon <email address hidden>
    Co-Authored-By: Phil Day <email address hidden>
    Closes-Bug: #1400269