Catching InstanceNotFound exception during reboot instance
If the instance is deleted during reboot(most of soft reboot), an
InstanceNotFound exception may be raised when update instance info to DB,
and the instance may become running deleted, so catching the exception and
logging it.
This commit is a supplement of bug #1111213, which may result in the instance
becomes running deleted, when deleting an instance after soft reboot.
Reviewed: https:/ /review. openstack. org/23069 github. com/openstack/ nova/commit/ 5eed26fec4185df cd8e9c1877a5a47 068b0f3cc6
Committed: http://
Submitter: Jenkins
Branch: master
commit 5eed26fec4185df cd8e9c1877a5a47 068b0f3cc6
Author: Wangpan <email address hidden>
Date: Wed Feb 27 14:41:41 2013 +0800
Catching InstanceNotFound exception during reboot instance
If the instance is deleted during reboot(most of soft reboot), an Found exception may be raised when update instance info to DB,
InstanceNot
and the instance may become running deleted, so catching the exception and
logging it.
This commit is a supplement of bug #1111213, which may result in the instance
becomes running deleted, when deleting an instance after soft reboot.
Change-Id: I3e8df109d43104 0c64e87f16ca84f f5b62dde898