IBM / Ansible-OpenShift-Provisioning

Automate the deployment of Red Hat OpenShift Container Platform on IBM zSystems (s390x). Automated User-Provisoned Infrastructure (UPI) setup using Kernel-based Virtual Machine (KVM).
https://ibm.github.io/Ansible-OpenShift-Provisioning/
MIT License
20 stars 44 forks source link

Duplicate entries found in haproxy.cfg #321

Closed sanjayy-ibm closed 2 months ago

sanjayy-ibm commented 2 months ago

The OCP cluster installation failed because HAProxy did not start due to duplicate entries in the haproxy.cfg file.

listen api-server-6443
  bind *:6443
  mode tcp
  #6443 section
  server control-3 control-3.agent.abisno.com:6443 check inter 1s
  server control-2 control-2.agent.abisno.com:6443 check inter 1s
  server control-1 control-1.agent.abisno.com:6443 check inter 1s
  server control-1 control-1.agent.abisno.com:6443 check inter 1s backup
listen machine-config-server-22623
  bind *:22623
  mode tcp
  #22623 section
  server control-3 control-3.agent.abisno.com:22623 check inter 1s
  server control-2 control-2.agent.abisno.com:22623 check inter 1s
  server control-1 control-1.agent.abisno.com:22623 check inter 1s
  server control-1 control-1.agent.abisno.com:22623 check inter 1s backup

TASK [haproxy : Restart haproxy] *************************************************************************************************************************************************************
fatal: [abi-bastion-iso]: FAILED! => {"changed": false, "msg": "Unable to start service haproxy: Job for haproxy.service failed because the control process exited with error code.\nSee \"systemctl status haproxy.service\" and \"journalctl -xeu haproxy.service\" for details.\n"}