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
This commit is contained in:
Adam Harwell 2018-04-25 16:49:05 -07:00
parent c5c7770e30
commit aa1b32df54
1 changed files with 3 additions and 0 deletions

View File

@ -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