[pve-devel] applied: [PATCH ha-manager 1/3] lrm.service: do not timeout on stop

Fabian Gr├╝nbichler f.gruenbichler at proxmox.com
Fri Oct 13 10:42:30 CEST 2017


all three patches

On Wed, Oct 11, 2017 at 03:10:18PM +0200, Thomas Lamprecht wrote:
> we must shut all services down when stopping the LRM for a host
> shutdown, this can take longer than 95 seconds and should not
> get interrupted to ensure a gracefull poweroff.
> 
> The watchdog is still active untill all services got stopped so we
> still are safe from a freeze or equivalent failure.
> 
> Signed-off-by: Thomas Lamprecht <t.lamprecht at proxmox.com>
> ---
>  debian/pve-ha-lrm.service | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/debian/pve-ha-lrm.service b/debian/pve-ha-lrm.service
> index 12143f3..a527844 100644
> --- a/debian/pve-ha-lrm.service
> +++ b/debian/pve-ha-lrm.service
> @@ -20,7 +20,7 @@ After=lxc.service
>  ExecStart=/usr/sbin/pve-ha-lrm start
>  ExecStop=/usr/sbin/pve-ha-lrm stop
>  PIDFile=/var/run/pve-ha-lrm.pid
> -TimeoutStopSec=95
> +TimeoutStopSec=infinity
>  KillMode=process
>  Type=forking
>  
> -- 
> 2.11.0
> 
> 
> _______________________________________________
> pve-devel mailing list
> pve-devel at pve.proxmox.com
> https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel



More information about the pve-devel mailing list