Skip to content

Commit 72e2f72

Browse files
committed
Patch edk2-ovmf file to fix UEFI support
The file 50-edk2-ovmf-cc.json is used by Nova in get_loader() when lauching UEFI instances without Secure Boot. It only supports machine type pc-q35-rhel8.5.0. However, with recent nova-compute container images built on CentOS Stream 8, the machine type is pc-q35-rhel8.6.0, which results in failures to launch instances with: nova.exception.UEFINotSupported: UEFI is not supported There is a fix for RHEL9/c9s [1], but not for RHEL8/c8s. Also see [2] for more details. [1] https://bugzilla.redhat.com/show_bug.cgi?id=2090752 [2] https://bugs.launchpad.net/nova/+bug/1955035
1 parent a7dffd4 commit 72e2f72

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

etc/kayobe/kolla.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -275,6 +275,14 @@ kolla_build_blocks:
275275
ARG mysqld_exporter_version='0.13.0'
276276
prometheus_blackbox_exporter_repository_version: |
277277
ARG blackbox_exporter_version='0.19.0'
278+
nova_base_footer: |
279+
# Fix for https://bugs.launchpad.net/nova/+bug/1955035, i.e.
280+
# https://bugzilla.redhat.com/show_bug.cgi?id=2090752 on c8s
281+
{% raw %}
282+
{% if base_package_type == 'rpm' %}
283+
RUN sed -i 's/"pc-q35-rhel8.5.0"/"pc-q35-*"/' /usr/share/qemu/firmware/50-edk2-ovmf-cc.json
284+
{% endif %}
285+
{% endraw %}
278286
279287
kolla_build_customizations_common:
280288
bifrost_base_pip_packages_append:

0 commit comments

Comments
 (0)