summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorCarlos Goncalves <carlos.goncalves@neclab.eu>2016-03-20 22:05:39 +0100
committerCarlos Goncalves <carlos.goncalves@neclab.eu>2016-03-20 22:14:12 +0100
commitb4cd1a4f59d52b6a56fb58bef11624e1cea6c0ef (patch)
tree3ab0b2fa50a5ff9cf63491df7f0664b8af9e80ee /tests
parent5996a35d07d1a5c661adb3af37c4e6eb4f4a5331 (diff)
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 <carlos.goncalves@neclab.eu>
Diffstat (limited to 'tests')
-rwxr-xr-xtests/run.sh4
1 files 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"
}