-
Bug
-
Resolution: Done
-
Minor
-
4.17.z
-
Quality / Stability / Reliability
-
False
-
-
None
-
None
-
None
-
None
-
None
-
The current of scos has a efi secure boot failure so when fcos pivots to scos the virtual machine fails to boot. This fix resolves that issue by disabling secure boot if and only if secure boot is enabled in the coreos.ovf configuration
-
None
-
None
-
None
-
None
This is a clone of issue OCPBUGS-37736. The following is the description of the original issue:
—
Modify the import to strip or change the bootOptions.efiSecureBootEnabled
https://redhat-internal.slack.com/archives/CLKF3H5RS/p1722368792144319
archive := &importx.ArchiveFlag{Archive: &importx.TapeArchive{Path: cachedImage}}
ovfDescriptor, err := archive.ReadOvf("*.ovf")
if err != nil {
// Open the corrupt OVA file
f, ferr := os.Open(cachedImage)
if ferr != nil
defer f.Close()
// Get a sha256 on the corrupt OVA file
// and the size of the file
h := sha256.New()
written, cerr := io.Copy(h, f)
if cerr != nil
return fmt.Errorf("ova %s has a sha256 of %x and a size of %d bytes, failed to read the ovf descriptor %w", cachedImage, h.Sum(nil), written, err)
}
ovfEnvelope, err := archive.ReadEnvelope(ovfDescriptor)
if err != nil
- blocks
-
OCPBUGS-38732 OKD, vSphere fails after pivot with secure boot enabled
-
- Closed
-
- clones
-
OCPBUGS-37736 OKD, vSphere fails after pivot with secure boot enabled
-
- Closed
-
- is blocked by
-
OCPBUGS-37736 OKD, vSphere fails after pivot with secure boot enabled
-
- Closed
-
- is cloned by
-
OCPBUGS-38732 OKD, vSphere fails after pivot with secure boot enabled
-
- Closed
-
- links to