Comment 7 for bug 1955035

Revision history for this message
Pierre Riteau (priteau) wrote :

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.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