Removed unnecessary call to instance.info_cache.delete from
_local_delete method because info_cache is deleted by calling
instance.destroy from _local_delete. Also it raises
InstanceInfoCacheNotFound exception in a race condition when
instance.refresh is called after info_cache is deleted by this call.
Reviewed: https:/ /review. openstack. org/226690 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=cb02486816e 646f6b60d973f0e 43bdb61b375c5b
Committed: https:/
Submitter: Jenkins
Branch: master
commit cb02486816e646f 6b60d973f0e43bd b61b375c5b
Author: ankitagrawal <email address hidden>
Date: Wed Sep 23 03:18:12 2015 -0700
Remove unnecessary call to info_cache.delete
Removed unnecessary call to instance. info_cache. delete from destroy from _local_delete. Also it raises oCacheNotFound exception in a race condition when refresh is called after info_cache is deleted by this call.
_local_delete method because info_cache is deleted by calling
instance.
InstanceInf
instance.
Partial-Bug: 1404867 4fb5d9cb35a03ae 868d5106ba1
Change-Id: Ia76ded06a9ce01