Nova is looking for OVMF file no longer provided by CentOS 7.6
Bug #1825386 reported by
Chris Friesen
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Undecided
|
Kashyap Chamarthy | ||
OpenStack-Ansible |
Fix Released
|
Undecided
|
Mohammed Naser |
Bug Description
In nova/virt/
It appears that centos 7.6 has modified the OVMF-20180508-3 rpm to no longer contain this file. Instead it now seems to be named /usr/share/
This will break the ability to boot guests using UEFI.
summary: |
- nova is looking for OVMF file no longer provided by latest CentOS + nova is looking for OVMF file no longer provided by CentOS 7.6 |
summary: |
- nova is looking for OVMF file no longer provided by CentOS 7.6 + Nova is looking for OVMF file no longer provided by CentOS 7.6 |
Changed in nova: | |
assignee: | nobody → Kashyap Chamarthy (kashyapc) |
status: | New → In Progress |
To post a comment you must log in.
Yes, that's a known problem, because Nova hard-codes the OVMF binary file path:
DEFAULT_ UEFI_LOADER_ PATH = { OVMF/OVMF_ CODE.fd" , AAVMF/AAVMF_ CODE.fd"
"x86_64": "/usr/share/
"aarch64": "/usr/share/
}
Simple (but ugly) workaround ------- ------- -------
-------
You can do this on your CentOS host:
ln -sf /usr/share/ OVMF/OVMF_ CODE.secboot. fd /usr/share/ OVMF/OVMF_ CODE.fd
More robust fix
---------------
This whole firmware binary selection will addressed as part of a larger effort to support Secure Boot for KVM/QEMU guests:
https:/ /review. openstack. org/#/c/ 506720
Add "Secure Boot support for KVM & QEMU guests" spec
Where Nova will use libvirt's (release 5.2 or 5.3) firmware auto-selection features, and all this hard-coding will go away. More of it is discussed in the above mentioned spec.