use force_delete to delete instances in rollback

Change-Id: Ic7eed36098fe3489cb2c2d5568b06604966fb44d
This commit is contained in:
Eyal 2017-12-18 11:43:43 +02:00
parent 526aae0a9c
commit 31ffcb8571

View File

@ -45,7 +45,7 @@ def delete_all_instances(**kwargs):
instances_to_delete = g_utils.all_matches(instances, **kwargs)
for item in instances_to_delete:
try:
TempestClients.nova().servers.delete(item)
TempestClients.nova().servers.force_delete(item)
except Exception:
pass
wait_for_status(