From ba6741263917e8901a2eb7826f76218dfce3b3cc Mon Sep 17 00:00:00 2001 From: Tin Lam Date: Fri, 24 Nov 2017 15:30:44 -0600 Subject: [PATCH] Fix dumps_log playbook Currently, execution openstack.sh in the dumps_log is not performed causing some variable in the dumps_log.sh to be empty. Consequently, any openstack-related logs are not captured at the end of the gate. This patch set should fix the path issue of the openstack.sh. Change-Id: I1d8f5733d49476e80c7fa1399f46bcd6c45198c0 --- tools/gate/dump_logs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/gate/dump_logs.sh b/tools/gate/dump_logs.sh index 530c08f6e0..a9bf202a84 100755 --- a/tools/gate/dump_logs.sh +++ b/tools/gate/dump_logs.sh @@ -117,7 +117,7 @@ if [ "x$INTEGRATION" == "xmulti" ]; then done fi -source ${WORK_DIR}/tools/gate/funcs/openstack.sh +source ./tools/gate/funcs/openstack.sh mkdir -p ${LOGS_DIR}/openstack $OPENSTACK service list > ${LOGS_DIR}/openstack/service.txt $OPENSTACK endpoint list > ${LOGS_DIR}/openstack/endpoint.txt