Closed danielmenezesbr closed 2 years ago
I also faced that issue with fresh installed Operating Systems. The weird part is that python3-netaddr package is installed [1] and if you try to re-launch the install right after the first try (the one which fails) without doing anything else, it starts working...at least in my case
I also faced that issue with fresh installed Operating Systems. The weird part is that python3-netaddr package is installed [1] and if you try to re-launch the install right after the first try (the one which fails) without doing anything else, it starts working...at least in my case
@luisarizmendi , thanks for sharing your experience.
haproxy.cfg.back.j2 is compatible with HA-Proxy 1.8?
I described in item (b) of my first comment my workaround to make this file work in HA-Proxy 1.8
Apologies, I missed that, I've changed from TCP to HTTP the load balancer template
now with the haproxy with mode HTTP worked like a charm @luisarizmendi
Ok, I put tcp back in the config. The problem was that as @danielmenezesbr mentioned, there is a new haproxy release that now includes an example haproxy.config file that was interfering with the config made by the template.
I didn't faced this issue because I already had a haproxy config in my system. I tested the latest commit with an empty server and now it is working
I used ocp-libvirt-ipi-role in my project which provision various OpenShift development environments on GCP such as: CRC, SNC (Single Node Cluster) and MNC.
When the variable lb (haproxy) is true, I needed to make some modifications before starting ansible:
a) pip3 install netaddr
Otherwise, ansible returns an error:
b)
Otherwise, ansible/haproxy returns an error:
My OS: