In case some instance was marked as deleting but for some reason didn't
finish (for example request was stuck in libvirt), retry the delete at
startup. This happens at startup and on the host owning the instance,
so there's no reason to use the lock.
Reviewed: https:/ /review. openstack. org/55660 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=0252d0981af 9daaf9370a50c28 d8baf4a9d29619
Committed: https:/
Submitter: Jenkins
Branch: master
commit 0252d0981af9daa f9370a50c28d8ba f4a9d29619
Author: Stanislaw Pitucha <email address hidden>
Date: Fri Nov 8 13:38:08 2013 +0000
Cleanup 'deleting' instances on restart
In case some instance was marked as deleting but for some reason didn't
finish (for example request was stuck in libvirt), retry the delete at
startup. This happens at startup and on the host owning the instance,
so there's no reason to use the lock.
Change-Id: Iad18e9a7c6cb8e 272e67a82284127 ad895441dcf
Partial-Bug: #1248563
Closes-Bug: 1247174
Implements: blueprint recover-stuck-state