Hi Pierre,

On Mon, Jan 15, 2018 at 06:45:52PM +0100, Pierre Cheynier wrote:
> Hello,
> 
> We started to use the server-template approach in which you basically
> provision servers in backends using a "check disabled" state, then
> re-enabling them using the Runtime API.
> 
> I recently noticed that when used with dynamic cookies, we end up
> getting these warnings:
> 
> haproxy.c:149
> 
>                         ha_warning("We generated two equal cookies for
> two different servers.\n"
>                                    "Please change the secret key for
> '%s'.\n",
>                                    s->proxy->id);
> 
> The check seems consistent, but not in the case of disabled servers,
> what do you think ?
> 

I'm not so sure about this.
It won't be checked again when server are enabled, so you won't get the
warning if it's still the case.
You shouldn't get those warnings unless multiple servers have the same IP,
though. What does your server-template look like ?

Thanks !

Olivier

Reply via email to