commit 506a8f58cf4b8cecf90b647c7deba47da2a4dfec
Author: Ed Bak <email address hidden>
Date: Tue Sep 10 17:32:28 2013 +0000
libvirt: Allow delete to complete when a volume disconnect fails
If an instance which was booted from a volume fails to spawn, the
instance is left in an ERROR state. If the failure is in the networking
stage Nova will not have attached the volume via the Cinder driver,
and so the volume remains in an available state. In this state the
volume may be deleted or assigned to another instance.
During the subsequent delete an exception may be thrown from
the cinder driver which prevents the instance from completing the
deletion process leaving the instance stuck in Error and unable to
be deleted.
Volume exceptions should be logged and ignored when the instance
is being deleted.
Reviewed: https:/ /review. openstack. org/45914 github. com/openstack/ nova/commit/ 506a8f58cf4b8ce cf90b647c7deba4 7da2a4dfec
Committed: http://
Submitter: Jenkins
Branch: master
commit 506a8f58cf4b8ce cf90b647c7deba4 7da2a4dfec
Author: Ed Bak <email address hidden>
Date: Tue Sep 10 17:32:28 2013 +0000
libvirt: Allow delete to complete when a volume disconnect fails
If an instance which was booted from a volume fails to spawn, the
instance is left in an ERROR state. If the failure is in the networking
stage Nova will not have attached the volume via the Cinder driver,
and so the volume remains in an available state. In this state the
volume may be deleted or assigned to another instance.
During the subsequent delete an exception may be thrown from
the cinder driver which prevents the instance from completing the
deletion process leaving the instance stuck in Error and unable to
be deleted.
Volume exceptions should be logged and ignored when the instance
is being deleted.
Closes-Bug #1222979
Change-Id: Icb3796b0ddba25 cf344953a649b2e 762fab6d782