nova/nova/compute
Rajesh Tailor 0d2031a5c4 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: Ida1a9d8761cec9585f031ec25e5692b8bb55661e
Closes-Bug: #1741000
2018-01-31 15:30:40 +05:30
..
monitors Remove translation of log messages 2017-06-09 09:06:16 +00:00
__init__.py Switch to using oslo_* instead of oslo.* 2015-02-06 06:03:10 -05:00
api.py Allow force-delete even if task_state is not None 2018-01-31 15:30:40 +05:30
build_results.py Compute Add build_instance hook in compute manager 2014-12-04 10:12:00 -05:00
cells_api.py Fix missing marker functions 2018-01-25 03:37:48 +00:00
claims.py [Trivial] docstrings, typos, minor refactoring 2017-08-28 08:33:58 -05:00
flavors.py Add microversion to allow setting flavor description 2017-11-15 22:10:39 +00:00
instance_actions.py Add instance action record for snapshot instances 2017-12-11 17:46:38 +08:00
instance_list.py Split instance_list into instance and multi_cell 2017-12-04 10:59:55 +08:00
manager.py Merge "Ironic: Get IP address for volume connector" 2018-01-27 22:05:30 +00:00
migration_list.py Fix comment in MigrationSortContext 2018-01-10 14:04:23 -05:00
multi_cell_list.py Some nit fix in multi_cell_list 2017-12-13 14:27:20 +08:00
power_state.py Removed enum duplication from nova.compute 2016-09-02 07:30:44 +00:00
provider_tree.py ProviderTree.new_child: parent is either uuid or name 2018-01-30 16:25:47 +02:00
resource_tracker.py Merge "[placement] Add sending global request ID in delete (3)" 2018-01-31 00:29:34 +00:00
rpcapi.py Change compute RPC to use alternates for resize 2018-01-22 20:09:15 +00:00
stats.py Address nits in I83a5f06ad 2016-03-09 13:19:59 +00:00
task_states.py Have one list of reboot task_states 2017-09-14 20:57:38 +00:00
utils.py Transform instance.resize_prep notification 2018-01-25 09:30:50 +09:00
vm_states.py Removed enum duplication from nova.compute 2016-09-02 07:30:44 +00:00