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.
Reviewed: https:/ /review. openstack. org/113947 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=257183a8a91 30f2b444f7f96ec 8582da89684528
Committed: https:/
Submitter: Jenkins
Branch: master
commit 257183a8a9130f2 b444f7f96ec8582 da89684528
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: Iceb552663db93f a2a01fb90ece0c1 eebecdb783f
Closes-bug: #1352659