Actions
Bug #22217
openCompute node build script fails to SSH into more recent Debian/Ubuntu
Status:
New
Priority:
Normal
Assigned To:
Category:
Deployment
Target version:
Story points:
-
Description
This might be as simple as one misconfiguration, but if you take our current compute node build script and try to build an image on top of a Debian 12 AMI, it never manages to SSH in to start the build work. This error repeats until it gives up:
2024/10/18 01:27:58 packer-builder-amazon-ebs plugin: Using host value: 54.175.47.1 2024/10/18 01:27:58 packer-builder-amazon-ebs plugin: [INFO] Attempting SSH connection to 54.175.47.1:22... 2024/10/18 01:27:58 packer-builder-amazon-ebs plugin: [DEBUG] reconnecting to TCP connection for SSH 2024/10/18 01:27:58 packer-builder-amazon-ebs plugin: [DEBUG] handshaking with SSH 2024/10/18 01:27:58 packer-builder-amazon-ebs plugin: [DEBUG] SSH handshake err: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain 2024/10/18 01:27:58 packer-builder-amazon-ebs plugin: [DEBUG] Detected authentication error. Increasing handshake attempts. ==> amazon-ebs: Error waiting for SSH: Packer experienced an authentication error when trying to connect via SSH. This can happen if your username/password are wrong. You may want to double-check your credentials as part of your debugging process. original error: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain
I've checked that admin
is still the correct username at least.
Files
Updated by Brett Smith 21 days ago
Updated by Brett Smith 21 days ago
- Subject changed from Compute node build script fails to SSH into Debian 12 to Compute node build script fails to SSH into more recent Debian/Ubuntu
- File packer-build-compute-image-267.log packer-build-compute-image-267.log added
Same problem happens with Ubuntu 22.04 using the ubuntu
user.
Updated by Peter Amstutz 18 days ago
- Target version set to Development 2024-11-06 sprint
Look into this post-3.0, candidate for a 3.0.1 fix.
Updated by Peter Amstutz 16 days ago
- Assigned To changed from Lucas Di Pentima to Brett Smith
Updated by Peter Amstutz 2 days ago
- Target version changed from Development 2024-11-06 sprint to Development 2024-11-20
Actions