Comment 4 for bug 1352659

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

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

commit 257183a8a9130f2b444f7f96ec8582da89684528
Author: Dan Smith <email address hidden>
Date: Wed Aug 13 09:03:49 2014 -0700

    Direct-load Instance.fault when lazy-loading

    This breaks out instance.fault lazy-loading from the other attributes,
    since we have a direct and more efficient way of fetching the fault than
    re-querying the entire instance with the fault attached.

    This also should help address fault-related races in the API where a
    list of instances is queried, one of those is deleted, and the fault
    attribute later triggers an InstanceNotFound whilst trying to do the
    lazy-load.

    Change-Id: Iceb552663db93fa2a01fb90ece0c1eebecdb783f
    Closes-bug: #1352659