Cloud Engine HA proxy not running

Problem

HA proxy is not running in your on-premises installation, or it is rebooting continuously.


Solution

Normally you should see in the docker logs for the HA container why it is not running or rebooting. Your best bet will be reading this logs. With this information we could go further on troubleshooting the issue. Some reasons (blind shots) why it could be not starting/rebooting:

  1. Wrong configuration: if the configuration has been changed but not checked, this could be the reason. Rollback the configuration change. In the future, always do a copy of the configuration and check it before applying it. 
  2. Necessary container not running: HA proxy configuration relies in other back-end containers and services that should be running. A usual case is the acp-service container, that must be running in order that HA service can work. It will usually be written in the logs which service is missing.