Remove reduntant call to update_instance_info_cache
get_instance_nw_info calls _get_instance_nw_info,
which is decorated with @refresh_cache. This in
turn calls update_instance_info_cache, again. This
is both expensive and more importantly dangerous because
the method update_instance_info_cache may call
_get_instance_nw_info itself, thus causing an infinite
loop.
Reviewed: https:/ /review. openstack. org/56504 github. com/openstack/ nova/commit/ 651fac3d5d250d4 2e640c3ac113084 bf0d2fa3b4
Committed: http://
Submitter: Jenkins
Branch: master
commit 651fac3d5d250d4 2e640c3ac113084 bf0d2fa3b4
Author: armando-migliaccio <email address hidden>
Date: Thu Nov 14 18:59:20 2013 -0800
Remove reduntant call to update_ instance_ info_cache
get_ instance_ nw_info calls _get_instance_ nw_info, instance_ info_cache, again. This instance_ info_cache may call instance_ nw_info itself, thus causing an infinite
which is decorated with @refresh_cache. This in
turn calls update_
is both expensive and more importantly dangerous because
the method update_
_get_
loop.
Change-Id: Id8f0241d1c6609 cf4e064ee685522 8ae7de250e2
Partial-bug: 1235435