When using session_persistence with SOURCE_IP or APP_COOKIE,
the haproxy.cfg is as folllows.
---
backend <pool_id>
...
...
stick-table ... ... peers <listener_id>_peers
---
If amphora-vm's init system is systemd, reloading haproxy can get a
failed result. Systemd script needs to specify -L <peer name> when
chekcing haproxy.cfg.
Reviewed: https:/ /review. openstack. org/455569 /git.openstack. org/cgit/ openstack/ octavia/ commit/ ?id=7f1f43f18c3 08051d45255c36f 3a69f2fbb3485a
Committed: https:/
Submitter: Jenkins
Branch: master
commit 7f1f43f18c30805 1d45255c36f3a69 f2fbb3485a
Author: ckji <email address hidden>
Date: Tue Apr 11 15:45:10 2017 +0800
Fix error 500 when using SOURCE_IP and APP_COOKIE
When using session_persistence with SOURCE_IP or APP_COOKIE,
the haproxy.cfg is as folllows.
---
backend <pool_id>
...
...
stick-table ... ... peers <listener_id>_peers
---
If amphora-vm's init system is systemd, reloading haproxy can get a
failed result. Systemd script needs to specify -L <peer name> when
chekcing haproxy.cfg.
Closes-Bug: #1681623 dff4fab7c413a9f ee735d46ceb
Change-Id: Ibda50f1faafd8a