image-builder
image-builder copied to clipboard
flatcar qemu build broken: ssh connection failed
Environment
-
Make target:
make build-qemu-flatcar
- Run using container image? (Y/N): Y (also tried with pure cli on the host)
- Environment vars: None used
- Vars file: None used
What steps did you take and what happened?
- clone the repo
- installed the requirements
- run the make build-qemu-flatcar command
it circles until timeout with the error below:
2024/04/19 10:52:11 packer-plugin-qemu_v1.1.0_x5.0_linux_amd64 plugin: 2024/04/19 10:52:11 [DEBUG] Detected authentication error. Increasing handshake attempts.
2024/04/19 10:52:18 packer-plugin-qemu_v1.1.0_x5.0_linux_amd64 plugin: 2024/04/19 10:52:18 [INFO] Attempting SSH connection to 127.0.0.1:2686...
2024/04/19 10:52:18 packer-plugin-qemu_v1.1.0_x5.0_linux_amd64 plugin: 2024/04/19 10:52:18 [DEBUG] reconnecting to TCP connection for SSH
2024/04/19 10:52:18 packer-plugin-qemu_v1.1.0_x5.0_linux_amd64 plugin: 2024/04/19 10:52:18 [DEBUG] handshaking with SSH
2024/04/19 10:52:18 packer-plugin-qemu_v1.1.0_x5.0_linux_amd64 plugin: 2024/04/19 10:52:18 Keyboard interactive challenge:
2024/04/19 10:52:18 packer-plugin-qemu_v1.1.0_x5.0_linux_amd64 plugin: 2024/04/19 10:52:18 -- User:
2024/04/19 10:52:18 packer-plugin-qemu_v1.1.0_x5.0_linux_amd64 plugin: 2024/04/19 10:52:18 -- Instructions:
2024/04/19 10:52:18 packer-plugin-qemu_v1.1.0_x5.0_linux_amd64 plugin: 2024/04/19 10:52:18 -- Question 1: Password:
2024/04/19 10:52:20 packer-plugin-qemu_v1.1.0_x5.0_linux_amd64 plugin: 2024/04/19 10:52:20 [DEBUG] SSH handshake err: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey keyboard-interactive], no supported methods remain
What did you expect to happen?
i expect the build to finish without any issue
/kind bug