[pve-devel] applied: [PATCH ha-manager] Fix check for maintenance mode

Thomas Lamprecht t.lamprecht at proxmox.com
Mon Dec 2 09:53:49 CET 2019


On 12/2/19 9:45 AM, Fabian Ebner wrote:
> Signed-off-by: Fabian Ebner <f.ebner at proxmox.com>
> ---
>  src/PVE/HA/Manager.pm | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/PVE/HA/Manager.pm b/src/PVE/HA/Manager.pm
> index d1d70b8..1eb117f 100644
> --- a/src/PVE/HA/Manager.pm
> +++ b/src/PVE/HA/Manager.pm
> @@ -607,7 +607,7 @@ sub next_state_stopped {
>  	return;
>      }
>  
> -    if ($ns->node_is_offline_delayed($sd->{node}) && !$ns->get_node_state($sd->{node}) ne 'maintenance') {
> +    if ($ns->node_is_offline_delayed($sd->{node}) && $ns->get_node_state($sd->{node}) ne 'maintenance') {
>  	&$change_service_state($self, $sid, 'fence');
>  	return;
>      }
> 

applied, thanks!




More information about the pve-devel mailing list