eks-anywhere icon indicating copy to clipboard operation
eks-anywhere copied to clipboard

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

Open sina370 opened this issue 1 year ago • 0 comments

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": ""

sina370 avatar Aug 02 '24 02:08 sina370