image-builder
image-builder copied to clipboard
build-qemu-ubuntu-2204 stuck in "Waiting for SSH to become available..."
Hi,
I installed the image builder based on this doc.
Then to building an image for Openstack I use this doc.
But with this command make build-qemu-ubuntu-2204
it stucks in the ssh step.
My operating system is ubuntu 22.04
This is the log of the command:
hack/ensure-ansible.sh
fatal: not a git repository (or any of the parent directories): .git
Starting galaxy collection install process
Nothing to do. All requested collections are already installed. If you want to reinstall them, consider using `--force`.
hack/ensure-packer.sh
hack/ensure-goss.sh
Right version of binary present
packer build -var-file="/root/image-builder/images/capi/packer/config/kubernetes.json" -var-file="/root/image-builder/images/capi/packer/config/cni.json" -var-file="/root/image-builder/images/capi/packer/config/containerd.json" -var-file="/root/image-builder/images/capi/packer/config/wasm-shims.json" -var-file="/root/image-builder/images/capi/packer/config/ansible-args.json" -var-file="/root/image-builder/images/capi/packer/config/goss-args.json" -var-file="/root/image-builder/images/capi/packer/config/common.json" -var-file="/root/image-builder/images/capi/packer/config/additional_components.json" -color=true -var-file="/root/image-builder/images/capi/packer/qemu/qemu-ubuntu-2204.json" packer/qemu/packer.json
fatal: not a git repository (or any of the parent directories): .git
qemu: output will be in this color.
==> qemu: Retrieving ISO
==> qemu: Trying https://releases.ubuntu.com/22.04/ubuntu-22.04.1-live-server-amd64.iso
==> qemu: Trying https://releases.ubuntu.com/22.04/ubuntu-22.04.1-live-server-amd64.iso?checksum=sha256%3A10f19c5b2b8d6db711582e0e27f5116296c34fe4b313ba45f9b201a5007056cb
qemu: ubuntu-22.04.1-live-server-amd64.iso 1.37 GiB / 1.37 GiB [==================================================================================================================] 100.00% 1m15s
==> qemu: https://releases.ubuntu.com/22.04/ubuntu-22.04.1-live-server-amd64.iso?checksum=sha256%3A10f19c5b2b8d6db711582e0e27f5116296c34fe4b313ba45f9b201a5007056cb => /root/.cache/packer/281aa9855752339063385b35198e73db74cd61ba.iso
==> qemu: Starting HTTP server on port 8247
==> qemu: Found port for communicator (SSH, WinRM, etc): 2769.
==> qemu: Looking for available port between 5900 and 6000 on 127.0.0.1
==> qemu: Starting VM, booting from CD-ROM
qemu: The VM will be run headless, without a GUI. If you want to
qemu: view the screen of the VM, connect via VNC without a password to
qemu: vnc://127.0.0.1:5952
==> qemu: Waiting 10s for boot...
==> qemu: Connecting to VM via VNC (127.0.0.1:5952)
==> qemu: Typing the boot commands over VNC...
qemu: Not using a NetBridge -- skipping StepWaitGuestAddress
==> qemu: Using SSH communicator to connect: 127.0.0.1
==> qemu: Waiting for SSH to become available...
/kind bug [One or more /area label. See https://github.com/kubernetes-sigs/cluster-api/labels?q=area for the list of labels]