use force_delete to delete instances in rollback
Change-Id: Ic7eed36098fe3489cb2c2d5568b06604966fb44d
This commit is contained in:
parent
526aae0a9c
commit
31ffcb8571
@ -45,7 +45,7 @@ def delete_all_instances(**kwargs):
|
|||||||
instances_to_delete = g_utils.all_matches(instances, **kwargs)
|
instances_to_delete = g_utils.all_matches(instances, **kwargs)
|
||||||
for item in instances_to_delete:
|
for item in instances_to_delete:
|
||||||
try:
|
try:
|
||||||
TempestClients.nova().servers.delete(item)
|
TempestClients.nova().servers.force_delete(item)
|
||||||
except Exception:
|
except Exception:
|
||||||
pass
|
pass
|
||||||
wait_for_status(
|
wait_for_status(
|
||||||
|
Loading…
Reference in New Issue
Block a user