summaryrefslogtreecommitdiff
path: root/docker/keepalived
diff options
context:
space:
mode:
authorÉric Lemoine <elemoine@mirantis.com>2016-02-03 11:55:14 +0100
committerSam Yaple <sam@yaple.net>2016-02-19 20:32:10 +0000
commit3fca4ccbaf66eedc6035826afd842cde02049ba7 (patch)
treed1976c7798d490e7acd688cba20231a479d6001e /docker/keepalived
parent916925c9a80f90fbe2c18cbfd9b6499257431e2b (diff)
downloadkolla-3fca4ccbaf66eedc6035826afd842cde02049ba7.tar.gz
kolla-3fca4ccbaf66eedc6035826afd842cde02049ba7.zip
Make Heka collect HAProxy and Keepalived logs
Partially implements: blueprint heka Change-Id: I7e2bf4e520fa14fd40e3b329f3b2998ae6ea47f4
Diffstat (limited to 'docker/keepalived')
-rw-r--r--docker/keepalived/extend_start.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/docker/keepalived/extend_start.sh b/docker/keepalived/extend_start.sh
index e1fe5d9d8..18e71d1f7 100644
--- a/docker/keepalived/extend_start.sh
+++ b/docker/keepalived/extend_start.sh
@@ -1,5 +1,10 @@
#!/bin/bash
+# NOTE(elemoine): keepalived cannot be configured to change the log address to
+# anything other than /dev/log. Heka's log socket is at /var/lib/kolla/heka/log
+# so we symlink /dev/log to that location.
+ln -sf /var/lib/kolla/heka/log /dev/log
+
modprobe ip_vs
# Workaround for bug #1485079