Andreas, in our case this was a one off.  The system had been running
for 2 months without any issues, and this sudden network restart due to
a daily update check was not expected.  We did a lot of testing
different failover events (disconnecting vNIC, powering off a single
node, stopping keepalived service etc), but we never specifically tested
a restart of the networkd service.  This bug has potentially gone
unnoticed for some time because of this aspect, and the frequency of
this event occurring (in our case), is low.

Just for visibility, the specific workaround I attempted to implement
which recycled keepalived on netowrk restart was to add an override to
networkd unit file using the following commands.  This results in the
immediate issues being fixed (keepalived restarts as desired), but
prevents the network daemon from starting up after a reboot causing the
system to become stuck in a wait loop.  I had to boot to recovery mode
and remove the override file again to restore functionality.

---------------------------------
sudo systemctl edit systemd-networkd

then in the override file via NANO:

[Service]
ExecStartPost=!/bin/systemctl restart keepalived
---------------------------------

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1810583

Title:
  Daily cron restarts network on unattended updates but keepalived
  .service is not restarted as a dependency

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/keepalived/+bug/1810583/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to