InhibitDelayMaxSec is not honoured in SUSE Linux Enterprise Server 15 SP4

cat /etc/os-release

NAME=“SLES”
VERSION=“15-SP4”
VERSION_ID=“15.4”
PRETTY_NAME=“SUSE Linux Enterprise Server 15 SP4”
ID=“sles”
ID_LIKE=“suse”
ANSI_COLOR=“0;32”
CPE_NAME=“cpe:/o:suse:sles:15:sp4”
DOCUMENTATION_URL=“https://documentation.suse.com/”

systemd-inhibit --list

WHO UID USER PID COMM WHAT WHY MODE
kubelet 0 root 1581 kubelet shutdown Kubelet needs time to handle node shutdown delay.

cat /etc/systemd/logind.conf

[Login]
#NAutoVTs=6
#ReserveVT=6
#KillUserProcesses=no
#KillOnlyUsers=
#KillExcludeUsers=root
InhibitDelayMaxSec=5
#UserStopDelaySec=10
#HandlePowerKey=poweroff
#HandleSuspendKey=suspend
#HandleHibernateKey=hibernate
#HandleLidSwitch=suspend
#HandleLidSwitchExternalPower=suspend
#HandleLidSwitchDocked=ignore
#HandleRebootKey=reboot
#PowerKeyIgnoreInhibited=no
#SuspendKeyIgnoreInhibited=no
#HibernateKeyIgnoreInhibited=no
#LidSwitchIgnoreInhibited=yes
#RebootKeyIgnoreInhibited=no
#HoldoffTimeoutSec=30s
#IdleAction=ignore
#IdleActionSec=30min
#RuntimeDirectorySize=10%
#RuntimeDirectoryInodesMax=400k
#RemoveIPC=yes
#InhibitorsMax=8192

cat /etc/systemd/logind.conf.d/99-kubelet.conf

Kubelet logind override

[Login]
InhibitDelayMaxSec=600

With the above config, i have expected that system shutdown shall be delayed by 600 seconds but is delayed only for 30 seconds. Can somebody explain reason behind rebooting at 30th seconds instead at 600 seconds.

@Ravisekhar_Akkineni Hi and welcome to the Forum :smile:
Did you modify kubelet-config.json? Have you read this? GracefulNodeShutdown Issue

Thanks for your reply.

OPERATING SYSTEM

NAME=“SLES”
VERSION=“15-SP4”
VERSION_ID=“15.4”
PRETTY_NAME=“SUSE Linux Enterprise Server 15 SP4”
ID=“sles”
ID_LIKE=“suse”
ANSI_COLOR=“0;32”
CPE_NAME=“cpe:/o:suse:sles:15:sp4”
DOCUMENTATION_URL=“https://documentation.suse.com/

systemd version

systemctl --version

systemd 249 (249.11+suse.124.g2bc0b2c447)

In the latest systemd, what is the maximum value for InhibitDelayMaxSec? is it 90 seconds? In latest systemd, i could observe that system is rebooting at 90 seconds even though InhibitDelayMaxSec is 300 seconds.

Kubelet logind override

[Login]
InhibitDelayMaxSec=300