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: If5229ec3059076dbc9f4abb6625504e8864c265e
Closes-Bug: #1348584
(cherry picked from commit 5e4a5f0d8c62ca6e94ae6db16e9fbe0428805158)
Reviewed: https:/ /review. openstack. org/109799 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=7de0132e409 a27eb1a12db0355 35ff68e5e561f9
Committed: https:/
Submitter: Jenkins
Branch: stable/icehouse
commit 7de0132e409a27e b1a12db035535ff 68e5e561f9
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 e94ae6db16e9fbe 0428805158)
Closes-Bug: #1348584
(cherry picked from commit 5e4a5f0d8c62ca6