From 3e9ef233537f2d08d5af58550c2ce39f13a3f84e Mon Sep 17 00:00:00 2001 From: micafer Date: Wed, 3 Oct 2018 13:20:07 +0200 Subject: [PATCH] Stop ctxt processes before destroying VMs --- IM/InfrastructureManager.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/IM/InfrastructureManager.py b/IM/InfrastructureManager.py index ca40a40c2..b30ba106a 100644 --- a/IM/InfrastructureManager.py +++ b/IM/InfrastructureManager.py @@ -1111,6 +1111,8 @@ def DestroyInfrastructure(inf_id, auth): sel_inf = InfrastructureManager.get_infrastructure(inf_id, auth) delete_list = list(reversed(sel_inf.get_vm_list())) + # First stop ctxt processes + sel_inf.stop() # Destroy the Infrastructure sel_inf.destroy(auth, delete_list) # Set the Infrastructure as deleted