eks-anywhere-build-tooling icon indicating copy to clipboard operation
eks-anywhere-build-tooling copied to clipboard

Unable to build RHEL9.2 based BareMetal node images using image-builder from RHEL 9.2 host

Open pdamianov opened this issue 1 year ago • 0 comments

What happened: Following the Documentation https://anywhere.eks.amazonaws.com/docs/osmgmt/artifacts/#build-bare-metal-node-images, I tried to build node RHEL-based BareMetal node images using image-builder from RHEL 9.2

What you expected to happen: Successfully build the images

How to reproduce it (as minimally and precisely as possible): Follow the documentation and try to build RHEL-based node image from RHEL9.2-based admin host

Anything else we need to know?:

  • run:
image-builder build --os redhat --hypervisor baremetal --release-channel 1-29 --baremetal-config redhat/bm_rhel9.json --os-version 9 --force

image

  • run:
image-builder build --os redhat --hypervisor baremetal --release-channel 1-29 --baremetal-config redhat/bm_rhel9.json --os-version 9 --force --firmware efi

image

  • after two weeks of digging, I compiled qemu v6.20 and OVMF.fd from source and got some progress:
image-builder build --os redhat --hypervisor baremetal --release-channel 1-29 --baremetal-config redhat/bm_rhel9.json --os-version 9 --force

image

  • Question: Is it ok for ansible-playbook parameters to exist ubuntu_repo=http://us.archive.ubuntu.com/ubuntu ubuntu_security_repo=http://security.ubuntu.com/ubuntu
  • more detailed log with --ansible-verbosity 6 flag: image

Environment:

  • EKS Anywhere Release: EKS A - 0.20.3
  • EKS Distro Release: 1-29
  • image-buider: 0.5.0
  • host os RHEL 9.2

pdamianov avatar Aug 29 '24 13:08 pdamianov