Redirect subnode cleanup to devstack-gate-cleanup-host.txt

Just like we redirect cleanup away from console log into its own file,
do the same thing for the subnode.

Change-Id: Ia84cd2877b71343ee5429ce7d0335f13707bfe32
This commit is contained in:
Joe Gordon 2015-03-26 14:18:51 -04:00
parent faa054373c
commit f6766c4e43
1 changed files with 1 additions and 1 deletions

View File

@ -452,7 +452,7 @@ tsfilter cleanup_host &> $WORKSPACE/devstack-gate-cleanup-host.txt
if [[ "$DEVSTACK_GATE_TOPOLOGY" != "aio" ]]; then
for NODE in `cat /etc/nodepool/sub_nodes_private`; do
echo "Collecting logs from $NODE"
remote_command $NODE "source $WORKSPACE/test_env.sh; source $BASE/new/devstack-gate/functions.sh; cleanup_host"
remote_command $NODE "source $WORKSPACE/test_env.sh; source $BASE/new/devstack-gate/functions.sh; tsfilter cleanup_host &> $WORKSPACE/devstack-gate-cleanup-host.txt"
rsync -avz "$NODE:$BASE/logs/" "$BASE/logs/$NODE-subnode/"
done
fi