That is not the issue. I'm talking about the "disabled" keyword in HAProxy configuration file. That can be used in the "frontend" section (among others) to start the frontend without actually binding to a port. To quote the docs: "The instance will still be created and its configuration will be checked, but it will be created in the "stopped" state and will appear as such in the statistics. It will not receive any traffic nor will it send any health-checks or logs." However, if you use that keyword, not only the frontend does NOT appear in stats, but it also cannot be enabled via stats. The fix that I propose fixes it - the frontend is after startup visible in stats (in STOP state) and can be enabled via "enable frontend xyz".
Regards, Ondrej On Mon, Apr 25, 2016 at 1:38 PM, Pavlos Parissis <pavlos.paris...@gmail.com> wrote: > > > On 25/04/2016 12:05 μμ, Ondrej Stumpf wrote: > > Hi, > > I ran into a bug when using the 'disabled' keyword for frontends - > > If I remember correctly you can enable a frontend after it has disabled, > but if you send to stats socket: > > 'shutdown frontend <id>' > > then it can't be enabled. > > Cheers, > Pavlos > >