From 2157b42d054ab3e94f639ee7e1ef20c1d0893585 Mon Sep 17 00:00:00 2001 From: Loic Dachary Date: Wed, 4 Nov 2015 13:20:06 +0100 Subject: [PATCH] openstack: wait for server delete to complete Signed-off-by: Loic Dachary --- teuthology/openstack/openstack-teuthology.init | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/teuthology/openstack/openstack-teuthology.init b/teuthology/openstack/openstack-teuthology.init index de93f63aac..42c586d30b 100755 --- a/teuthology/openstack/openstack-teuthology.init +++ b/teuthology/openstack/openstack-teuthology.init @@ -73,7 +73,7 @@ case $1 in openstack server list --long -f json | \ jq ".[] | select(.Properties | contains(\"ownedby='$ip'\")) | .ID" | \ while read uuid ; do - eval openstack server delete $uuid + eval openstack server delete --wait $uuid done openstack volume list --long -f json | \ jq ".[] | select(.Properties | contains(\"ownedby='$ip'\")) | .ID" | \ -- 2.39.5