From b4cd1a4f59d52b6a56fb58bef11624e1cea6c0ef Mon Sep 17 00:00:00 2001 From: Carlos Goncalves Date: Sun, 20 Mar 2016 22:05:39 +0100 Subject: Output log when compute node is back online The network interface of the compute node is set to down for 180 seconds, and then brought up back again. While it's unreachable we cannot call out the COMPUTE_IP:disable_network.log Change-Id: Iaa90339093c8fda88d883b688a4c8495e78414b7 Signed-off-by: Carlos Goncalves --- tests/run.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/run.sh b/tests/run.sh index 167a16be..5e1eb375 100755 --- a/tests/run.sh +++ b/tests/run.sh @@ -161,8 +161,6 @@ cleanup() { stop_monitor stop_inspector stop_consumer - ssh $ssh_opts_cpu "heat-admin@$COMPUTE_IP" \ - "[ -e disable_network.log ] && cat disable_network.log" python ./nova_force_down.py "$COMPUTE_HOST" --unset sleep 1 @@ -178,6 +176,8 @@ cleanup() { #TODO: add host status check via nova admin api echo "waiting disabled compute host back to be enabled..." sleep 180 + ssh $ssh_opts_cpu "heat-admin@$COMPUTE_IP" \ + "[ -e disable_network.log ] && cat disable_network.log" } -- cgit 1.2.3-korg