SolaceLabs / solace-ha-docker-compose

Configure High-availability Groups Using Docker Compose
Apache License 2.0
8 stars 8 forks source link

haproxy 2.4 issue #7

Open Francommit opened 3 years ago

Francommit commented 3 years ago

The latest version of haproxy causes a permission error when using this script.

lb            | Could not open file '/usr/local/etc/haproxy/haproxy.cfg' Permission denied at /assertMaster.perl line 78.
lb exited with code 13

https://github.com/SolaceLabs/solace-ha-docker-compose/blob/master/template/PubSub_Standard_HA.YML#L76

Setting it to 2.3 fixes the issue.

franklin-antony commented 2 years ago

Thanks @Francommit . This worked once i switched the tag to image: 'haproxy:2.3'

downvoteit commented 2 years ago

With haproxy:2.3 it works.

With latest (2.5.5 GA now) permissions must be granted to create /usr/local/etc/haproxy/haproxy.cfg from assertMaster.perl script.

Docker log:

Could not open file '/usr/local/etc/haproxy/haproxy.cfg' Permission denied at /assertMaster.perl line 78.
dev-mansonthomas commented 1 year ago

With latest (2.5.5 GA now) permissions must be granted to create /usr/local/etc/haproxy/haproxy.cfg from assertMaster.perl script.

How do you do that? 😇

I'm trying to run a product that depends on HAProxy, so I know little about this assertMaster.perl file