Do not fail cell's instance deletion, if it's missing info_cache
Currently the methods in cell messaging are trying to refresh the
instance. However, in some corner cases info_cache is not being
created for instances in ERROR state. This makes the delete
operation, of such instances, to fail, while it should not.
Handling the InstanceInfoCacheNotFound exception and not
re-raising it, for delete operations.
(cherry picked from commit 47898ba8f9526c88a03209dbc35a59d90b79e809)
Reviewed: https:/ /review. openstack. org/113208 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=82cc3be42fb cb7b3088d15ed15 af520ae3fa0cec
Committed: https:/
Submitter: Jenkins
Branch: stable/icehouse
commit 82cc3be42fbcb7b 3088d15ed15af52 0ae3fa0cec
Author: Vladik Romanovsky <email address hidden>
Date: Mon May 12 17:24:48 2014 -0400
Do not fail cell's instance deletion, if it's missing info_cache
Currently the methods in cell messaging are trying to refresh the
instance. However, in some corner cases info_cache is not being
created for instances in ERROR state. This makes the delete
operation, of such instances, to fail, while it should not.
Handling the InstanceInfoCac heNotFound exception and not
re-raising it, for delete operations.
(cherry picked from commit 47898ba8f9526c8 8a03209dbc35a59 d90b79e809)
Conflicts:
nova/ tests/cells/ test_cells_ messaging. py
Closes-Bug: #1316373 8293d950d60fb12 6e325a2c0cf
Change-Id: I33c33e3ac1180e