Even if the server external events extension filters out events
whose related instance does not have a host, the corresponding
instance is still sent to the compute API module.
As this might result in KeyError, instance without host should
be filtered out before calling the compute API module.
Reviewed: https:/ /review. openstack. org/109551 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=5e4a5f0d8c6 2ca6e94ae6db16e 9fbe0428805158
Committed: https:/
Submitter: Jenkins
Branch: master
commit 5e4a5f0d8c62ca6 e94ae6db16e9fbe 0428805158
Author: Salvatore Orlando <email address hidden>
Date: Fri Jul 25 04:19:10 2014 -0700
Do not pass instances without host to compute API
Even if the server external events extension filters out events
whose related instance does not have a host, the corresponding
instance is still sent to the compute API module.
As this might result in KeyError, instance without host should
be filtered out before calling the compute API module.
Change-Id: If5229ec3059076 dbc9f4abb662550 4e8864c265e
Closes-Bug: #1348584