Hello,
I am using these instructions in order to deploy FCOS on a Hetzner VPS.
My butane file looks like this:
variant: fcos
version: 1.5.0
passwd:
users:
- name: core
groups:
- wheel
ssh_authorized_keys:
- ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIArauL+P2Tu7Yi900y0YH/Z9Pf7hGI3ktIJYBsxpVglb
Which generates a pretty simple ignition file:
{"ignition":{"version":"3.4.0"},"passwd":{"users":[{"groups":["wheel"],"name":"core","sshAuthorizedKeys":["ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIArauL+P2Tu7Yi900y0YH/Z9Pf7hGI3ktIJYBsxpVglb"]}]}}
I was able to get this all working last week. However, since yesterday it is failing and Iâm not sure what changed. I did make changes to my butane file, but Iâve reverted back to try the exact same thing I did last week.
Iâm installing FCOS using:
export COREOS_DISK="https://builds.coreos.fedoraproject.org/prod/streams/stable/builds/40.20240825.3.0/x86_64/fedora-coreos-40.20240825.3.0-metal.x86_64.raw.xz"
curl -sL $COREOS_DISK | xz -d | dd of=/dev/sda status=progress
There are two things that I notice are different now. One is that there are new lines in the output when I run fdisk -l /dev/sda
in the recovery mode after Iâve installed FCOS.
The new lines are:
GPT PMBR size mismatch (5328895 != 80003071) will be corrected by write.
The backup GPT table is not on the end of the device.
And the full output is:
root@rescue ~ # fdisk -l /dev/sda
GPT PMBR size mismatch (5328895 != 80003071) will be corrected by write.
The backup GPT table is not on the end of the device.
Disk /dev/sda: 38.15 GiB, 40961572864 bytes, 80003072 sectors
Disk model: QEMU HARDDISK
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 00000000-0000-4000-A000-000000000001
Device Start End Sectors Size Type
/dev/sda1 2048 4095 2048 1M BIOS boot
/dev/sda2 4096 264191 260096 127M EFI System
/dev/sda3 264192 1050623 786432 384M Linux filesystem
/dev/sda4 1050624 5326847 4276224 2G Linux filesystem
I then create my ignition file like so:
mount /dev/sda3 /mnt
mkdir /mnt/ignition
vi /mnt/ignition/config.ign
I copy-paste the content of the ignition file in, save, and then power the server off.
After creating a snapshot of the powered-off server and provisioning a new VPS with it, I can not access the server running FCOS at all over SSH.
ssh: connect to host 5.78.122.84 port 22: Network is unreachable
When I log into Hetzner and view the cloud console, I see these errors:
Does anyone have any ideas on how to trouble shoot this?