commit d34e0ce254e25d864fec4b19e618660972da6846
Author: Andrew Laski <email address hidden>
Date: Wed May 13 13:53:34 2015 -0400
Retry a cell delete if host constraint fails
The instance.destroy method has a constraint that fails during a local
delete if the host is not None, because it should be in that case.
Cells calls local_delete when there's no cell_name on the instance, but
when this fails it's likely that we have a host and cell_name now so the
delete method should be attempted again.
Reviewed: https:/ /review. openstack. org/182772 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=d34e0ce254e 25d864fec4b19e6 18660972da6846
Committed: https:/
Submitter: Jenkins
Branch: master
commit d34e0ce254e25d8 64fec4b19e61866 0972da6846
Author: Andrew Laski <email address hidden>
Date: Wed May 13 13:53:34 2015 -0400
Retry a cell delete if host constraint fails
The instance.destroy method has a constraint that fails during a local
delete if the host is not None, because it should be in that case.
Cells calls local_delete when there's no cell_name on the instance, but
when this fails it's likely that we have a host and cell_name now so the
delete method should be attempted again.
Closes-Bug: 1454839 64239a0292946c6 c3bb9837110
Change-Id: I412fab6f43cf2c