From 4893731d9010991c9abc379a894b60da2924a09b Mon Sep 17 00:00:00 2001 From: Pavel Raiskup Date: Mon, 3 Nov 2014 10:13:00 +0100 Subject: controller/dtf-get-machine: make nova boot fail fatal * controller/bin/dtf-get-machine.in: Do not try to check for IP address if 'nova boot' command failed. --- controller/bin/dtf-get-machine.in | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/controller/bin/dtf-get-machine.in b/controller/bin/dtf-get-machine.in index 6f9873c..54a3253 100644 --- a/controller/bin/dtf-get-machine.in +++ b/controller/bin/dtf-get-machine.in @@ -99,8 +99,7 @@ test -z "$opt_name" && opt_name="testing-$image" info "booting machine $image_version from $image" -machine=$(boot "$opt_name" "$image" "$flavor") +machine=$(boot "$opt_name" "$image" "$flavor") || exit 1 info "machine id: $machine" - get_ip "$machine" -- cgit