If has_secure_boot is false, only 50-edk2-ovmf-cc.json from edk2-ovmf would match, but it only supports machine pc-q35-rhel8.5.0, so we fail to return a loader and instead raise exception.UEFINotSupported().
This fixes it:
sed -i 's/"pc-q35-rhel8.5.0"/"pc-q35-rhel8.5.0", "pc-q35-rhel8.6.0"/' /usr/share/qemu/firmware/50-edk2-ovmf-cc.json
I can reproduce this using recent Kolla Wallaby container images on CentOS Stream 8.
The problem happens in get_loader():
machine = self.get_ canonical_ machine_ type(arch, machine)
=> this sets machine to pc-q35-rhel8.6.0
If has_secure_boot is false, only 50-edk2- ovmf-cc. json from edk2-ovmf would match, but it only supports machine pc-q35-rhel8.5.0, so we fail to return a loader and instead raise exception. UEFINotSupporte d().
This fixes it:
sed -i 's/"pc- q35-rhel8. 5.0"/"pc- q35-rhel8. 5.0", "pc-q35- rhel8.6. 0"/' /usr/share/ qemu/firmware/ 50-edk2- ovmf-cc. json