Cosa build metal fails with localhost/coreos-assembler

Hi, can someone give me a tip. I wanted to create a metal image (raw.xz) with “my own” coreos-assembler. I get the following error (with or without my custom changes in config repo). The OSTree was created, but metal build failed. The metal build works if I use readymade “Quay

  • kola_args=(kola qemuexec -m 2048 --auto-cpus -U --workdir none)
  • base_qemu_args=(-drive ‘if=none,id=root,format=raw,snapshot=on,file=’“${vmbuilddir}”‘/root,index=1’ -device ‘virtio-blk,drive=root’ -kernel “${vmbuilddir}/kernel” -initrd “${vmbuilddir}/initrd” -no-reboot -nodefaults -device virtio-serial -virtfs ‘local,id=workdir,path=’“${workdir}”‘,security_model=none,mount_tag=workdir’ -append “root=/dev/vda console=${DEFAULT_TERMINAL} selinux=1 enforcing=0 autorelabel=1”)
  • ‘[’ -L /srv/src/config ‘]’
  • ‘[’ -f /srv/cache/cache2.qcow2 ‘]’
  • ‘[’ -z ‘’ ‘]’
  • kola qemuexec -m 2048 --auto-cpus -U --workdir none – -drive if=none,id=root,format=raw,snapshot=on,file=/srv/tmp/supermin.build/root,index=1 -device virtio-blk,drive=root -kernel /srv/tmp/supermin.build/kernel -initrd /srv/tmp/supermin.build/initrd -no-reboot -nodefaults -device virtio-serial -virtfs local,id=workdir,path=/srv,security_model=none,mount_tag=workdir -append ‘root=/dev/vda console=ttyS0 selinux=1 enforcing=0 autorelabel=1’ -serial file:/srv/tmp/runvm-console.txt -device virtserialport,chardev=virtioserial0,name=cosa-cmdout -chardev stdio,id=virtioserial0 -drive if=none,id=target,format=raw,file=/srv/tmp/build/fedora-coreos-32.20200603.dev.0-metal.x86_64.raw.tmp,cache=unsafe -device virtio-blk,serial=target,drive=target
    qemu-system-x86_64: error: failed to set MSR 0x48b to 0x1358ae00000000
    qemu-system-x86_64: /builddir/build/BUILD/qemu-4.2.0/target/i386/kvm.c:2947: kvm_put_msrs: Assertion `ret == cpu->kvm_msr_buf->nmsrs’ failed.
    Error: signal: aborted (core dumped)
    2020-06-03T13:53:38Z cli: signal: aborted (core dumped)
  • cat /srv/tmp/runvm-console.txt
  • fatal ‘Failed to run ‘'‘kola qemuexec’'’’
  • echo ‘fatal: Failed to run ‘'‘kola qemuexec’'’’
    fatal: Failed to run ‘kola qemuexec’
  • exit 1
  • rc=1
  • set +x

Trying to use a search engine for the error turns up [PATCH] target/i386: relax assert when old host kernels don't include msrs

Are you in that situation of having an old host kernel?

I don’t think so; the host system is a Fedora Silverblue 32 (VM with enabled nested virt.) with kernel 5.6.15-300.fc32.x86_64…