aws / aws/eks-anywhere

image-builder failed with error "qemu-system-x86_64": executable file not found in $PATH

Open
#5,938 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
2.1k
Forks
328
Avg merge
1d 4h
Merged PRs (30d)
9

Description

**What happened**:

Trying to create ubuntu baremetal image for Intel NUC following instructions from https://anywhere.eks.amazonaws.com/docs/reference/artifacts/#build-bare-metal-node-images

Ran the command to build
```
image-builder build --os ubuntu --hypervisor baremetal --release-channel 1-26
```

Got error:
```
Build 'qemu' errored after 964 microseconds: Failed creating Qemu driver: exec: "qemu-system-x86_64": executable file not found in $PATH
```

**What you expected to happen**:

The script to

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

- Setup Ubuntu Desktop 22.10 as administrative machine
- Follow instructions to install prereqs https://anywhere.eks.amazonaws.com/docs/reference/artifacts/#build-bare-metal-node-images
- The instructions have a line that mentions `qemu-kvm`
```
sudo apt install jq make python3-pip qemu-kvm libvirt-daemon-system libvirt-clients virtinst cpu-checker libguestfs-tools libosinfo-bin unzip ansible -y
```

**Anything else we need to know?**:

**Environment**:
- Ubuntu 22.10

Contributor guide

Open the contributing guide

Research direction

Start with the documented bare-metal image-build prerequisites and reproduce `image-builder build --os ubuntu --hypervisor baremetal --release-channel 1-26` on Ubuntu 22.10. Check whether the documented `qemu-kvm` installation provides the required `qemu-system-x86_64` executable. Done means the prerequisites or instructions clearly enable the build to find that executable.

Written by the indexing model from the issue text.

Assessment

Tech stack
ubuntu
Domain
infrastructure, operating-systems
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.