kubernetes-sigs / image-builder

Tools for building Kubernetes disk images
https://image-builder.sigs.k8s.io/
Apache License 2.0
401 stars 394 forks source link

(proxmox) Error getting SSH address: 500 QEMU guest agent is not running #1588

Closed lknite closed 1 month ago

lknite commented 1 month ago

dhcp is configured and works

==> proxmox-iso.ubuntu-2204: Waiting for SSH to become available...
2024/10/11 08:59:14 packer-plugin-proxmox_v1.2.1_x5.0_linux_amd64 plugin: 2024/10/11 08:59:14 [DEBUG] Error getting SSH address: 500 QEMU guest agent is not running
2024/10/11 08:59:22 packer-plugin-proxmox_v1.2.1_x5.0_linux_amd64 plugin: 2024/10/11 08:59:22 [DEBUG] Error getting SSH address: 500 QEMU guest agent is not running
2024/10/11 08:59:30 packer-plugin-proxmox_v1.2.1_x5.0_linux_amd64 plugin: 2024/10/11 08:59:30 [DEBUG] Error getting SSH address: 500 QEMU guest agent is not running
2024/10/11 08:59:38 packer-plugin-proxmox_v1.2.1_x5.0_linux_amd64 plugin: 2024/10/11 08:59:38 [DEBUG] Error getting SSH address: 500 QEMU guest agent is not running
2024/10/11 08:59:46 packer-plugin-proxmox_v1.2.1_x5.0_linux_amd64 plugin: 2024/10/11 08:59:46 [DEBUG] Error getting SSH address: 500 QEMU guest agent is not running
2024/10/11 08:59:54 packer-plugin-proxmox_v1.2.1_x5.0_linux_amd64 plugin: 2024/10/11 08:59:54 [DEBUG] Error getting SSH address: 500 QEMU guest agent is not running
2024/10/11 09:00:02 packer-plugin-proxmox_v1.2.1_x5.0_linux_amd64 plugin: 2024/10/11 09:00:02 [DEBUG] Error getting SSH address: 500 QEMU guest agent is not running
2024/10/11 09:00:10 packer-plugin-proxmox_v1.2.1_x5.0_linux_amd64 plugin: 2024/10/11 09:00:10 [DEBUG] Error getting SSH address: 500 QEMU guest agent is not running
2024/10/11 09:00:18 packer-plugin-proxmox_v1.2.1_x5.0_linux_amd64 plugin: 2024/10/11 09:00:18 [DEBUG] Error getting SSH address: 500 QEMU guest agent is not running

What steps did you take and what happened?

[~/g/image-builder (main)]
[lknite@wb]$ cat go.sh 
#!/bin/bash

# configure via env vars
export PACKER_LOG=1
export PROXMOX_BRIDGE="vmbr0"
export PROXMOX_ISO_POOL="tower"
export PROXMOX_NODE="pve-a"
export PROXMOX_STORAGE_POOL="cephfs"
export PROXMOX_TOKEN="..redacted.."
export PROXMOX_URL="https://10.0.0.21:8006/api2/json"
export PROXMOX_USERNAME="capmox@pve!capi"

# update dependencies
cd images/capi
make deps-proxmox
cd ../..

# build images
cd images/capi
#make help
make build-proxmox-ubuntu-2204
#make build-proxmox-ubuntu-2404
cd ../..

What did you expect to happen?

image-build process to complete and generate proxmox images


/kind bug

mcbenjemaa commented 1 month ago

Please check this comment and let us know: https://kubernetes.slack.com/archives/C01E0Q35A8J/p1728660319621979?thread_ts=1728658375.194739&cid=C01E0Q35A8J

lknite commented 1 month ago

Disabling a firewall looks to have fixed this.