diff --git a/tacker/nfvo/drivers/vim/openstack_driver.py b/tacker/nfvo/drivers/vim/openstack_driver.py index 4f088ec2d..fb050e822 100644 --- a/tacker/nfvo/drivers/vim/openstack_driver.py +++ b/tacker/nfvo/drivers/vim/openstack_driver.py @@ -762,7 +762,7 @@ class OpenStack_Driver(abstract_vim_driver.VimAbstractDriver, def delete_execution(self, execution_id, auth_dict=None): return self.get_mistral_client(auth_dict).executions \ - .delete(execution_id) + .delete(execution_id, force=True) def delete_workflow(self, workflow_id, auth_dict=None): return self.get_mistral_client(auth_dict) \ diff --git a/tacker/nfvo/workflows/vim_monitor/vim_monitor_utils.py b/tacker/nfvo/workflows/vim_monitor/vim_monitor_utils.py index e55e30c9f..88d9ec1c4 100644 --- a/tacker/nfvo/workflows/vim_monitor/vim_monitor_utils.py +++ b/tacker/nfvo/workflows/vim_monitor/vim_monitor_utils.py @@ -52,7 +52,7 @@ def delete_executions(mistral_client, vim_id): executions = mistral_client.executions.list( workflow_name='vim_id_' + vim_id) for execution in executions: - mistral_client.executions.delete(execution.id) + mistral_client.executions.delete(execution.id, force=True) def delete_workflow(mistral_client, vim_id):