Packer snapshot build fails: Timeout waiting for SSH after enabling Rescue Mode #1789
Unanswered
LeonardoDSchule
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hey
I’m trying to build my own snapshot using the official hcloud-microos-snapshots.pkr.hcl file from the kube-hetzner repository.
Unfortunately, the snapshot build process consistently fails at the SSH step after enabling Rescue Mode and rebooting the server. Here’s the relevant part of the output:
==> hcloud.microos-x86-snapshot: Using SSH communicator to connect:
==> hcloud.microos-x86-snapshot: Waiting for SSH to become available...
==> hcloud.microos-x86-snapshot: Timeout waiting for SSH.
==> hcloud.microos-x86-snapshot: Destroying server...
It seems that even though the server is created and rebooted into Rescue Mode, Packer is unable to establish an SSH connection. I’m using a valid Hetzner API token, and the SSH key is uploaded successfully by Packer.
Has anyone else experienced this?
Is there a known workaround or something I might be missing in the configuration?
Beta Was this translation helpful? Give feedback.
All reactions