Openstack nova Xena deployed via kolla-ansible UEFI not supported

Bug #2003185 reported by Sven Spescha
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
kolla
Invalid
Undecided
Unassigned

Bug Description

Hi

I'm using a kolla-ansible deployment in docker containers for Openstack.
OS: Rocky Linux 8
Kernel: 4.18.0-372.19.1.el8_6.x86_64
Docker version: 20.10.22 build 3a2c30b
Kolla-ansible version: how do I find out this? --branch stable/xena https://opendev.org/openstack/kolla-ansible --> I git cloned it on the 13.01.23.
Images: the nova docker images have been downloaded yesterday the 17.01.23

The goal is to enable UEFI. Therefore I adjusted the metadata of an Rocky Linux.iso image and added hw_firmware_type uefi on it.
I've found several information on the internet about the UEFI not supported issue but still couldn't fix it alone.

Whenever I want to create an instance with it I get the following message in the nova-scheduler logs on a controller.

2023-01-18 11:06:14.632 21 ERROR nova.scheduler.utils [req-5502056d-ad3e-4f95-9216-f49266f453d1 f071a08f4b2543a3af078f2ebaeb0d54 760a8ba2f2294cad84da36f27889419d - default default] [instance: 315b746a-37bd-4193-8ee8-92b47bef2f39] Error from last host: opstcomp22 (node opstcomp22): ['Traceback (most recent call last):\n', ' File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/compute/manager.py", line 2402, in _build_and_run_instance\n accel_info=accel_info)\n', ' File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/virt/libvirt/driver.py", line 4224, in spawn\n mdevs=mdevs, accel_info=accel_info)\n', ' File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/virt/libvirt/driver.py", line 7072, in _get_guest_xml\n context, mdevs, accel_info)\n', ' File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/virt/libvirt/driver.py", line 6683, in _get_guest_config\n self._configure_guest_by_virt_type(guest, instance, image_meta, flavor)\n', ' File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/virt/libvirt/driver.py", line 6289, in _configure_guest_by_virt_type\n has_secure_boot=guest.os_loader_secure))\n', ' File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/virt/libvirt/host.py", line 1697, in get_loader\n raise exception.UEFINotSupported()\n', 'nova.exception.UEFINotSupported: UEFI is not supported\n', '\nDuring handling of the above exception, another exception occurred:\n\n', 'Traceback (most recent call last):\n', ' File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/compute/manager.py", line 2224, in _do_build_and_run_instance\n filter_properties, request_spec, accel_uuids)\n', ' File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/compute/manager.py", line 2495, in _build_and_run_instance\n instance_uuid=instance.uuid, reason=str(e))\n', 'nova.exception.RescheduledException: Build of instance 315b746a-37bd-4193-8ee8-92b47bef2f39 was re-scheduled: UEFI is not supported\n']

When I check the nova_compute and the nova_libvirt container on both compute nodes, the /usr/share/OVMF directory exists and has it's files in there.
I also created this to make sure: ln -s /usr/share/OVMF/OVMF_CODE.secboot.fd /usr/share/OVMF/OVMF_CODE.fd

What could I try or how can I solve this?

Thank you in advance.

Kind Regards
Sven

Revision history for this message
Michal Nasiadka (mnasiadka) wrote :
Changed in kolla:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.