Re: Removed health check in combination with load-server-state-from-file (Bug)

2017-08-30 Thread Julien Laffaye
On Wed, Aug 30, 2017 at 11:18 AM, Cyril Bonté wrote: > Isn't the state file part of the configuration? :-) > yes it is. it is also part of the previous working configuration.

Re: Removed health check in combination with load-server-state-from-file (Bug)

2017-08-30 Thread Georg Faerber
On 17-08-30 11:12:15, Julien Laffaye wrote: > On Wed, Aug 30, 2017 at 10:38 AM, Cyril Bonté wrote: > > > Well health checks or not, the state file reflects the state you want. > > You can absolutely imagine cases where health checks were never activated, > > and someone used the CLI to set a serv

Re: Removed health check in combination with load-server-state-from-file (Bug)

2017-08-30 Thread Cyril Bonté
> De: "Julien Laffaye" > Hello Cyril, > > > Well, you can also think of this use case which I find legit: > - you don't have probe > - you want to have probe so you add one and reload haproxy > - you realize your probe does not do want you intended, your backends > are turning down > - you panic

Re: Removed health check in combination with load-server-state-from-file (Bug)

2017-08-30 Thread Julien Laffaye
On Wed, Aug 30, 2017 at 10:38 AM, Cyril Bonté wrote: > Well health checks or not, the state file reflects the state you want. > You can absolutely imagine cases where health checks were never activated, > and someone used the CLI to set a server DOWN. If you save the servers > state and reload ha

Re: Removed health check in combination with load-server-state-from-file (Bug)

2017-08-30 Thread Cyril Bonté
> De: "Arnaud Jost" > À: haproxy@formilux.org > Envoyé: Mercredi 30 Août 2017 10:01:37 > Objet: RE: Removed health check in combination with > load-server-state-from-file (Bug) > > > > > Hello Cyril, > > > This also can be achieved by using

RE: Removed health check in combination with load-server-state-from-file (Bug)

2017-08-30 Thread Arnaud Jost
tate because of health check, if a disable health check on it, i expected the server to be UP. De : Cyril Bonté Envoyé : mardi 29 août 2017 00:12 À : Julien Laffaye; Tim Düsterhus Cc : haproxy@formilux.org Objet : Re: Removed health check in combination with lo

Re: Removed health check in combination with load-server-state-from-file (Bug)

2017-08-28 Thread Cyril Bonté
Hi Julien and Tim, Le 28/08/2017 à 10:32, Julien Laffaye a écrit : Hello, I am experiencing the same problem. Is this the expected behaviour ? Or is it a bug ? Yes, it's expected. One use case is to start all servers in a DOWN state then programmatically set one or several of them UP once ev

Re: Removed health check in combination with load-server-state-from-file (Bug)

2017-08-28 Thread Julien Laffaye
Hello, I am experiencing the same problem. Is this the expected behaviour ? Or is it a bug ? Regards, Julien On Sat, Aug 26, 2017 at 2:55 AM, Tim Düsterhus wrote: > Hi > > as I did not receive any reply at all to my email from Aug 13 I thought > I resend it (Quoted below). Can anyone at least

Re: Removed health check in combination with load-server-state-from-file (Bug)

2017-08-25 Thread Tim Düsterhus
Hi as I did not receive any reply at all to my email from Aug 13 I thought I resend it (Quoted below). Can anyone at least verify that my bug report is valid? :-) Tim Am 13.08.2017 um 13:19 schrieb Tim Düsterhus: > Hi > > I run haproxy with 'load-server-state-from-file'. Before reloading > hapr

Removed health check in combination with load-server-state-from-file (Bug)

2017-08-13 Thread Tim Düsterhus
Hi I run haproxy with 'load-server-state-from-file'. Before reloading haproxy I dump the state using: echo show servers state |nc -U admin.sock > /etc/haproxy/state/global I noticed a buggy behaviour with this: 1. Check that the backend is 'DOWN'. 2. Dump the state using the command above (the