Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hetnzer: Channel 24.05 not working #207

Open
theduke opened this issue Jun 2, 2024 · 5 comments
Open

Hetnzer: Channel 24.05 not working #207

theduke opened this issue Jun 2, 2024 · 5 comments

Comments

@theduke
Copy link

theduke commented Jun 2, 2024

I just tried to set up a new Hetzner Cloud server with the just released 24.05.

The installation works, but after the reboot the network isn't reachable anymore.

I connected with the console, it looks like the interfaces are configured correctly, but no default gateway is set up. (ip route is empty).

@CherryKitten
Copy link

can confirm, had the same problem a few days ago

@Zaunei
Copy link

Zaunei commented Jun 19, 2024

I tried it with an Ubuntu 22.04 CX22 instance today and had no problems with the network after the reboot. I just used the normal command right after login into the new VM via SSH:

curl https://raw.githubusercontent.com/elitak/nixos-infect/master/nixos-infect | PROVIDER=hetznercloud NIX_CHANNEL=nixos-24.05 bash 2>&1 | tee /tmp/infect.log

@gbytedev
Copy link

gbytedev commented Jul 9, 2024

Possibly related: networking doesn't work after the update to 24.05.

This box has been working well until today since it was originally provisioned with nixos-infect box to nixos 22.11.

I suspect the default network configuration added by nixos-infect is now erroneous.

@tcurdt
Copy link

tcurdt commented Jul 9, 2024

What worked for me is to use PROVIDER=hetznercloud NIX_CHANNEL=nixos-23.11 and then switch to 24.05 once the system is up. Really not ideal. But since flakes are not supported by nixos-infect not much of a difference.

@ahirner
Copy link

ahirner commented Sep 7, 2024

I tried it with an Ubuntu 22.04 CX22 instance today and had no problems with the network after the reboot. I just used the normal command right after login into the new VM via SSH:

curl https://raw.githubusercontent.com/elitak/nixos-infect/master/nixos-infect | PROVIDER=hetznercloud NIX_CHANNEL=nixos-24.05 bash 2>&1 | tee /tmp/infect.log

The issue does not reproduce if rebooting a new system, or switching then rebooting a non-flake system.
After including one in our flakes config, networking fails:

image

image

Removing this link-local ipv6 address from the interfaces.ipv6.addresses produced by nixos-infect allows error free rebooting and the system stays reachable:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants