community-content
community-content copied to clipboard
How-to: Install Fedora CoreOS at Hetzner Cloud
Problem
glibc missing on rescue image
coreos-installer: /lib/x86_64-linux-gnu/libc.so.6: version GLIBC_2.33' not found (required by coreos-installer)`
Installing FCOS doesn't work
hcloud_server.master (remote-exec): E: Failed to fetch http://deb.debian.org/debian/pool/main/g/glibc/libc6-dbg_2.31-13_amd64.deb 404 Not Found [IP: 2a01:4ff:ff00::3:3 80]
seems the coreos-installer is looking for the wrong glibc version
Suggested Fix
@Patrick-Remy can you please take a look?
Current debian 11.0 rescue:
root@rescue ~ # ls -la /lib/x86_64-linux-gnu/libc.so.6
lrwxrwxrwx 1 root root 12 Jul 6 21:16 /lib/x86_64-linux-gnu/libc.so.6 -> libc-2.31.so
root@rescue ~ # ls -la /lib/x86_64-linux-gnu/libc-2.31.so
-rwxr-xr-x 1 root root 1.8M Jul 6 21:16 /lib/x86_64-linux-gnu/libc-2.31.so
Please see this issue, the howto is no longer working: https://github.com/Patrick-Remy/howto-fedora-coreos-hetzner-cloud/issues/1
It's a bit sad, that the only solution is to resize the VM down afterwards, but see this cleaner way: https://github.com/sedlund/terraform-hcloud-fcos
@Patrick-Remy thanks. Do you plan to contribute an update on your tutorial? Otherwise I'll check how we can handle this deprecation.
I'm sorry, I do not plan to update it, the old documentation was already time intensive and I did setup my coreos server, but feel free to update my documentation to match the new approach, or probably @sedlund likes to migrate it?
@rook59 it's easiest to install docker on the rescue and use the coreos-installer container to do the install.
@Patrick-Remy there is a bug in the way coreos-installer container udev interacts with the host systsem udev on single core machines. But I found bind mounting the system udevadm to the container resolves it so you don't have to resize down the vm any longer. See: https://github.com/coreos/coreos-installer/issues/575#issuecomment-885287221
also do not add -f /mnt/fedora-coreos-34.20210626.3.1-metal.x86_64.raw as I did in that comment.
Closing because the tutorial works again. See #727