The _heal_instance_info cache() always accesses instance['info_cache']
therefore we should always load the info_cache so we can avoid the extra
query to fetch it.
Closes-bug: #1309239
Conflicts:
nova/compute/manager.py
(cherry picked from commit 5aa29b6b0a34d603e882a80cdc8e936f983b1892)
Reviewed: https:/ /review. openstack. org/95631 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=b0b523b4aff f8f5a59aca23ccd 3904eb4e29bf42
Committed: https:/
Submitter: Jenkins
Branch: stable/havana
commit b0b523b4afff8f5 a59aca23ccd3904 eb4e29bf42
Author: Aaron Rosen <email address hidden>
Date: Thu Apr 17 15:44:59 2014 -0700
Remove unnecessary call to fetch info_cache
The _heal_instance_info cache() always accesses instance[ 'info_cache' ]
therefore we should always load the info_cache so we can avoid the extra
query to fetch it.
Closes-bug: #1309239
Conflicts: compute/ manager. py
nova/
(cherry picked from commit 5aa29b6b0a34d60 3e882a80cdc8e93 6f983b1892)
Change-Id: I3c2e005b98abf2 a80276562cc05e8 8ba5ff199bc