Bug 1727987
Summary: | Secureboot VM cannot boot normally after complete powerdown. Manual intervention required. | ||
---|---|---|---|
Product: | [oVirt] ovirt-engine | Reporter: | Strahil Nikolov <hunter86_bg> |
Component: | BLL.Virt | Assignee: | Shmuel Melamud <smelamud> |
Status: | CLOSED DUPLICATE | QA Contact: | Nisim Simsolo <nsimsolo> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 4.3.5.3 | CC: | ahadas, bugs, mathieu.simon |
Target Milestone: | ovirt-4.4.4 | Flags: | sbonazzo:
ovirt-4.4?
|
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2020-09-29 14:22:57 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | Virt | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Strahil Nikolov
2019-07-08 18:11:46 UTC
Nvram is not persisted. There’s RFE for that somewhere.... We should probably start with simple ansible to update the common template at least Note also that SecureBoot is tentatively scheduled for 4.4, so an immediate fix for nvram is unlikely, but this workaround is an easy start Hi I've been messing around with UEFI on RHV 4.3.6 and wanted to share some of my findings here: The main issue on OVMF in general without a persistent NVRAM is that it only looks for a loader in BOOT/BOOTX64.EFI in the EFI partition. This issue has equally existed on another KVM-based virtualization platform Proxmox VE, until they've added support for persistent NVRAM (back with Proxmox 4.3 in 2016, though without SecureBoot yet). -> Ultimately adding a persistent NVRAM is going to be required at some point for oVirt/RHV. For OpenSuse: Since currently OVMF isn't persisted, one cannot import their custom signing keys so IMO fully enforcing SecureBoot doesn't work with OpenSuse since they don't have a Microsoft-signed shim loader like RHEL/Ubuntu/CentOS. The OVMF delivered with RHV only ships with 2 Microsoft CAs so for SecureBoot to work, a Microsoft-signed shim loader is mandatory at that point. Debian 10 does have a Microsoft-signed shimx64.efi but puts it into debian/shimx64.efi where a non-persistent OVMF doesn't look for. However it is sufficient to manually copy this file to BOOT/BOOTX64.EFI. Thereafter Debian 10 boots without manual interaction and WITH SecureBoot enabled. Ubuntu 18.04 seems to apply a "trick" by copying its shimx64.efi like RHEL 7 and 8 on UEFI systems. (However I've failed booting RHEL 8.0 installers at all at this point) For details on this see this thread on the oVirt users list: https://lists.ovirt.org/archives/list/users@ovirt.org/thread/UEK5EHLRZYGP73YVMAWUHVWLZYS7W2KI/ Regards Mathieu *** This bug has been marked as a duplicate of bug 1669178 *** Re-targeting to 4.4.4 being marked as duplicate of bug #1669178 which is targeted to 4.4.4. |