An Ubuntu kernel bug causes container crashes
61–70 of 133 posts
Re: An Ubuntu kernel bug causes container crashes
#62Earlier quoted context omitted.
> have to follow the procedure for restoring from backup or re-mounting the root volume on an alternate house to revert the kernel version being run. Or add `systemd.mask=docker.service` to your boot parameters to prevent Docker from starting.
Which, if your server is stuck in a infinitive "boot -> docker starting -> container starting -> crashing kernel -> reboot" loop, you won't ever get a chance of actually adding anything to your boot parameters.
Re: An Ubuntu kernel bug causes container crashes
#63Earlier quoted context omitted.
Sounds like a VM and not a physical server.
Nope. Back before VMs were thing it was common to do "lights out" style remote management via a console server. That console server would then have a serial connection (the old 9 pin d-sub plug[1]) to your individual physical servers. You could then connect to your remote servers local TTY via the console server a little like jumping to remote servers via an SSH bastion. However it did sometimes require a little bit…
Re: An Ubuntu kernel bug causes container crashes
#64Earlier quoted context omitted.
Or a real server with Lights Out Management.
That’s why “usually” is in the sentence. :) Most smaller teams usually don’t prioritize physical access — they usually only need it for one-off events. While this would be a one-off event, it would be one that affects many servers.
Re: An Ubuntu kernel bug causes container crashes
#65Earlier quoted context omitted.
> have to follow the procedure for restoring from backup or re-mounting the root volume on an alternate house to revert the kernel version being run. Or add `systemd.mask=docker.service` to your boot parameters to prevent Docker from starting.
Which, if your server is stuck in a infinitive "boot -> docker starting -> container starting -> crashing kernel -> reboot" loop, you won't ever get a chance of actually adding anything to your boot parameters.
Failing that you could try the “single” directive and poke other configurations once booted in that mode.
A faf to be sure, but hopefully viable options (assuming the interactive menu hasn't been disabled to save a few seconds off boot time!).
Re: An Ubuntu kernel bug causes container crashes
#66The cost of complexity showing itself. A sysadmin friend of mine is totally against docker and his reason is that he wants as little complexity as is needed on his systems. Complexity, he says, leads to emergent behavior.
This is not a docker bug, it is a kernel bug. It could be triggered by other complex applications that use kernel container features.
Re: An Ubuntu kernel bug causes container crashes
#67Re: An Ubuntu kernel bug causes container crashes
#68Auto update strikes again. Really, we need to re-think this.
Re: An Ubuntu kernel bug causes container crashes
#69The cost of complexity showing itself. A sysadmin friend of mine is totally against docker and his reason is that he wants as little complexity as is needed on his systems. Complexity, he says, leads to emergent behavior.
----
[1] I have a couple of bits running via LCX but otherwise use VMs to split services out
[2] One large VM running many containers³, or sometimes a couple of VMs, perhaps separating them performance-wise across drives or with CPU core affinity where that was/seemed easier, or just so in case of disaster they could concentrate on getting the higher priority VM+containers restored and back up first.
[3] Obviously one VM per container would defeat the container benefits, though I've seen this done where docker was the only officially supported install option and they wanted to run a service in a VM.
Re: An Ubuntu kernel bug causes container crashes
#70This was exceptionally annoying for me, some ec2 instances are used only during the day and we stop/start them with an in house scheduling application outside office hours. Also automatic security upgrades are enabled. Came in to work one day last week and all of our UAT environment was down. It is possible to ssh in for about 2 seconds before the kernel panic so I solved it by doing this: while true; do ssh sudo mv…
sleep 0.1
on most systems. (And on Busybox, you should have usleep.)