Public bug reported:

Kubernetes 1.22 brings GracefullNodeShutdown into beta, by leveraging
systemd-inhibit. It tries to detect the current InhibitDelayMaxSec, and
if it's less than the requested, will place a 99-kubelet.conf in
/etc/systemd/logind.conf.d

However, this doesn't work as systemd-analyze cat-config
systemd/logind.conf would show that
/usr/lib/systemd/logind.conf.d/unattended-upgrades-logind-maxdelay.conf
comes last, and overwrites any requested maxium down to 30 seconds.

This file should either be customizable, or renamed to something like
10-unattended-upgrades-logind-maxdelay.conf so that it would be
evaluated earlier

This is on a cloud image of Ubuntu 21.10

** Affects: unattended-upgrades (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: kubernetes logind

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to unattended-upgrades in
Ubuntu.
https://bugs.launchpad.net/bugs/1949241

Title:
  unattended-upgrades conflicts with kubernetes gracefullshutdown

Status in unattended-upgrades package in Ubuntu:
  New

Bug description:
  Kubernetes 1.22 brings GracefullNodeShutdown into beta, by leveraging
  systemd-inhibit. It tries to detect the current InhibitDelayMaxSec,
  and if it's less than the requested, will place a 99-kubelet.conf in
  /etc/systemd/logind.conf.d

  However, this doesn't work as systemd-analyze cat-config
  systemd/logind.conf would show that
  /usr/lib/systemd/logind.conf.d/unattended-upgrades-logind-
  maxdelay.conf comes last, and overwrites any requested maxium down to
  30 seconds.

  This file should either be customizable, or renamed to something like
  10-unattended-upgrades-logind-maxdelay.conf so that it would be
  evaluated earlier

  This is on a cloud image of Ubuntu 21.10

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1949241/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to