HAProxy backend acl not saving
-
Hello,
I have a situation where the ACLs I create in the HAProxy/Backend don't save to the config file.
The error looks like this:
Errors found while starting haproxy
[ALERT] 291/153828 (33675) : parsing [/var/etc/haproxy_test/haproxy.cfg:67] : error detected while parsing switching rule : no such ACL : 'idempiere'.
[ALERT] 291/153828 (33675) : Error(s) found in configuration file : /var/etc/haproxy_test/haproxy.cfg
[ALERT] 291/153828 (33675) : Fatal errors found in configuration.When you look at the /var/etc/haproxy_test/haproxy.cfg, the backend looks like this:
backend secure.blindmotion.com.au_ipvANY
mode tcp
id 101
log global
balance roundrobin
timeout connect 30000
timeout server 30000
retries 3
option httpchk OPTIONS /
use-server erp.blindmotion.com.au if idempiere
server erp.blindmotion.com.au 10.0.0.189:8080 id 100 check inter 1000
server cms.blindmotion.com.au 10.0.0.173:80 id 105 check inter 1000The ACL is not getting saved to the config file, which results in the back end servers not being used as intended.
Editing the /var/etc/haproxy/haproxy.cfg file gets overwritten by PF sense when the 'Save' button is clicked in the HAProxy/Backend GUI.Is this a bug? Something wrong with my setup?
Is there a workaround?I have reinstalled 2.5.2-RELEASE with no change.
-
@blindmotphil Am seeing the same problem on my unit. Did you manage to fix this since you last posted?