You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the Flatcar storage is full, a power off is made and a subsequent disk resize is performed.
After the instance is started, the partition is resized automatically (vda9) but some of the systemd units fail to start.
Impact
Low. If another reboot is performed, the systemd units are back running fine.
ader1990
changed the title
Flatcar systemd units fail at first boot after disk is resized (because storage was full)
Flatcar systemd units fail at first boot after disk is resized (resize done because the storage was full)
Dec 6, 2023
Thanks, for systemd-hwdb-update.service we should pre-build the DB at image generation with systemd-hwdb --usr --root=/build/amd64-usr/. When /usr/lib/udev/hwdb.bin exists it will be used. In the update postinst action we can delete the file in /etc from the upperdir or delete it at boot.
For the rest we should do the resize from the initrd, before initrd-setup-root to make sure that we always use the available space. (Maybe systemd-repart could do that.)
Description
If the Flatcar storage is full, a power off is made and a subsequent disk resize is performed.
After the instance is started, the partition is resized automatically (vda9) but some of the systemd units fail to start.
Impact
Low. If another reboot is performed, the systemd units are back running fine.
Environment and steps to reproduce
How to reproduce:
dd if=/dev/zero of=toobig.file bs=1G count=1000
which ends when it runs out of spaceThe image used was https://alpha.release.flatcar-linux.net/amd64-usr/current/flatcar_production_qemu_image.img
The issue is that there are systemd units starting before the resize has been performed.
Failed units:
The text was updated successfully, but these errors were encountered: