From aa1b32df541b8f478754f14dce04246c1d25e934 Mon Sep 17 00:00:00 2001 From: Adam Harwell Date: Wed, 25 Apr 2018 16:49:05 -0700 Subject: [PATCH] Fix keepalived vrrp check script to be in PATH ACTIVE_STANDBY is currently broken because keepalived can't access the main check script. Change-Id: I66a5df575583b0545fb00bc1170ad8064d2963aa --- .../amphora-agent-source-install/75-amphora-agent-install | 3 +++ 1 file changed, 3 insertions(+) diff --git a/elements/amphora-agent/install.d/amphora-agent-source-install/75-amphora-agent-install b/elements/amphora-agent/install.d/amphora-agent-source-install/75-amphora-agent-install index f92033a69c..a331bb22de 100755 --- a/elements/amphora-agent/install.d/amphora-agent-source-install/75-amphora-agent-install +++ b/elements/amphora-agent/install.d/amphora-agent-source-install/75-amphora-agent-install @@ -19,6 +19,9 @@ $AMP_VENV/bin/pip install -U -c /opt/upper-constraints.txt /opt/amphora-agent # Link the amphora-agent out to /usr/local/bin where the startup scripts look ln -s $AMP_VENV/bin/amphora-agent /usr/local/bin/amphora-agent || true +# Also link out the vrrp check script(s) so they're in PATH for keepalived +ln -s $AMP_VENV/bin/haproxy-vrrp-* /usr/local/bin/ || true + mkdir /etc/octavia # we assume certs, etc will come in through the config drive mkdir /etc/octavia/certs