From e9b9a84157735d3ed22fce2d1b63915ff2689691 Mon Sep 17 00:00:00 2001 From: SamYaple Date: Sat, 19 Mar 2016 03:09:04 +0000 Subject: [PATCH] Fix permissions for log extraction in gate Some gates are failing to properly pull all logs out resuling in an UNSTABLE status. This resets all logs to 777 perms to ensure readability by jenkins. TrivialFix Change-Id: Ib92c5bfea5fa8bcc6380ad8aa6001b13888717ac --- tools/deploy_aio.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/deploy_aio.sh b/tools/deploy_aio.sh index 8f3c96222f..aed4ec95b3 100755 --- a/tools/deploy_aio.sh +++ b/tools/deploy_aio.sh @@ -10,6 +10,8 @@ export KOLLA_TYPE=$2 function copy_logs { cp -rnL /var/lib/docker/volumes/kolla_logs/_data/* /tmp/logs/kolla/ + # NOTE(SamYaple): Fix permissions for log extraction in gate + chmod -R 777 /tmp/logs/kolla/ } function check_failure {