forked from openstack/nova
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Skip info cache update in case instance is deleted
The network api is sometimes called for a deleted instance causing info cache update to fail. An example of this is the compute manager periodic task cleanup_running_deleted_instances() that tries to shutdown deleted instances still running on a host. Add a check in network_api.update_instance_cache_with_nw_info() that will skip info cache update if the instance is deleted. Change-Id: Ibcf2db92275c9860409793d469ed688e7024120b Closes-Bug: #1282858
- Loading branch information
Showing
4 changed files
with
28 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters