aws / aws/eks-anywhere

image-builder ubuntu for Vsphare Packer experience authentication error to the VM

Open
#8,566 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
2.1k
Forks
328
Avg merge
1d 4h
Merged PRs (30d)
9

Description

Hi,

I have been trying to build ubuntu image for eks anywhere cluster deployment for vsphare. Running the image builder fails with below:

==> vsphere-iso.vsphere: Waiting for SSH to become available...
==> vsphere-iso.vsphere: 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 password], no supported methods remain
==> vsphere-iso.vsphere: Clear boot order...
==> vsphere-iso.vsphere: Power off VM...
==> vsphere-iso.vsphere: Deleting Floppy image ...
==> vsphere-iso.vsphere: Destroying VM...
Build 'vsphere-iso.vsphere' errored after 39 minutes 42 seconds: 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 password], no supported methods remain

==> Wait completed after 39 minutes 42 seconds

I have followed the creating image documentation and even specified below credential but no success.
"ubuntu_username": "",
"ubuntu_password": ""

Contributor guide

Open the contributing guide

Research direction

Start with the vsphere-iso image-builder path and the documented ubuntu_username/ubuntu_password settings; reproduce the SSH authentication failure during the “Waiting for SSH” step. Done means identifying the cause in this VMware/Ubuntu build and documenting or implementing a verified resolution.

Written by the indexing model from the issue text.

Assessment

Tech stack
kubernetes, ubuntu
Domain
infrastructure
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.