aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rwxr-xr-xtools/deploy_aio.sh6
-rwxr-xr-xtools/setup_gate.sh2
2 files changed, 3 insertions, 5 deletions
diff --git a/tools/deploy_aio.sh b/tools/deploy_aio.sh
index e6ef5a11e..8f3c96222 100755
--- a/tools/deploy_aio.sh
+++ b/tools/deploy_aio.sh
@@ -9,7 +9,7 @@ export KOLLA_BASE=$1
export KOLLA_TYPE=$2
function copy_logs {
- docker cp heka:/var/log/kolla /tmp/logs
+ cp -rnL /var/lib/docker/volumes/kolla_logs/_data/* /tmp/logs/kolla/
}
function check_failure {
@@ -41,9 +41,7 @@ function check_failure {
nova list
nova list | awk '/4/ {print $2}' | xargs -n1 nova show
- # NOTE(SamYaple): The copy logs functions is put on hold until Heka is all
- # merged in. At that point we will pull the logs from Heka's volume
- #copy_logs
+ copy_logs
}
function write_configs {
diff --git a/tools/setup_gate.sh b/tools/setup_gate.sh
index 58c11802b..4d1173994 100755
--- a/tools/setup_gate.sh
+++ b/tools/setup_gate.sh
@@ -103,7 +103,7 @@ function setup_logging {
# For ease of access we symlink that logs directory to a known path
ln -s $(pwd)/logs /tmp/logs
- mkdir -p /tmp/logs/{ansible,build}
+ mkdir -p /tmp/logs/{ansible,build,kolla}
}
setup_logging