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

image-builder ubuntu for Vsphare Packer experience authentication error #3546

Closed
sina370 opened this issue Aug 2, 2024 · 1 comment
Closed
Labels
bug Something isn't working

Comments

@sina370
Copy link

sina370 commented Aug 2, 2024

What happened:

I have been trying to build ubuntu image for eks anywhere cluster deployment on 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
the image builder be able to ssh

How to reproduce it (as minimally and precisely as possible):

Anything else we need to know?:

Environment:

  • EKS Anywhere Release:
  • EKS Distro Release:1-28 and 1-30
@sina370 sina370 added the bug Something isn't working label Aug 2, 2024
@abhay-krishna
Copy link
Member

@sina370 can you post the image-builder command you're running? Are you trying to build an Ubuntu 20.04 or 22.04 OVA?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants