As of now, if vm task_state is not 'None', and user tries
to force-delete instance, then he gets HTTP 500 Error
and instance deletion doesn't progress.
The same is not the case, when user tries with delete api
instead of force-delete api, even if vm task_state is not 'None'.
Fixed the issue by allowing force-delete to delete instance
in task_state other than None.
Reviewed: https:/ /review. openstack. org/530879 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=0d2031a5c40 8ef5919387c680e eaac68709a0f6c
Committed: https:/
Submitter: Zuul
Branch: master
commit 0d2031a5c408ef5 919387c680eeaac 68709a0f6c
Author: Rajesh Tailor <email address hidden>
Date: Wed Jan 3 13:31:38 2018 +0530
Allow force-delete even if task_state is not None
As of now, if vm task_state is not 'None', and user tries
to force-delete instance, then he gets HTTP 500 Error
and instance deletion doesn't progress.
The same is not the case, when user tries with delete api
instead of force-delete api, even if vm task_state is not 'None'.
Fixed the issue by allowing force-delete to delete instance
in task_state other than None.
Change-Id: Ida1a9d8761cec9 585f031ec25e569 2b8bb55661e
Closes-Bug: #1741000