From 91ac17211abc7becc8e792b98b00458e91dab535 Mon Sep 17 00:00:00 2001 From: Jesse Pretorius Date: Fri, 7 Aug 2015 10:44:07 +0100 Subject: [PATCH] Enable debug logging for gate checks This patch enables debug logging for all OpenStack services in the gate checks to ensure that the maximum amount of information is available for debugging gate check failures. Change-Id: Ide583fa6dc06008641bbc10b1abcaa816e662337 Closes-Bug: #1482572 --- scripts/gate-check-commit.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/gate-check-commit.sh b/scripts/gate-check-commit.sh index 712d781fe4..46e82d07cf 100755 --- a/scripts/gate-check-commit.sh +++ b/scripts/gate-check-commit.sh @@ -65,6 +65,9 @@ if [ "${BOOTSTRAP_ANSIBLE}" == "yes" ]; then source $(dirname ${0})/bootstrap-ansible.sh fi +# Enable debug logging for all services to make failure debugging easier +echo "debug: True" | tee -a /etc/openstack_deploy/user_variables.yml + # Run the ansible playbooks if required if [ "${RUN_PLAYBOOKS}" == "yes" ]; then # Set-up our tiny awk script.