Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-24479

Wrong UEFI entries created by the Assisted installer when the base OS is not RHCOS (OKD, OCP/SCOS)

XMLWordPrintable

    • Important
    • No
    • Rejected
    • False
    • Hide

      None

      Show
      None

      oDescription of problem:

      As described in https://github.com/openshift/installer/pull/7484#issuecomment-1833285723, when nodes boot via UEFI and the agent-installer performs an OKD/FCOS installation, the default uefi entry is created and set as default, but it targets [EFI]/redhat/shim* instead of [EFI]/fedora/shim*.

      This might be due to https://github.com/openshift/assisted-installer/blob/master/src/ops/ops.go#L251-L261

      Version-Release number of selected component (if applicable):

      4.15 OKD (on FCOS and SCOS), 4.16 OCP (when not using RHCOS, but SCOS), 

      How reproducible:

      Always

      Steps to Reproduce:

          1. Configure nodes to boot via UEFI
          2. Install okd through the agent installation (or OCP when the machine-os-content is not rhel, but CentOS steam CoreOS)
          3.
          

      Actual results:

      The default boot entry loads the first-stage bootloader from [EFI]/redhat/shimx64.efi    

      Expected results:

      The default boot entry loads the first-stage bootloader from [EFI]/(fedora|centos)/shimx64.efi when FCOS (or SCOS) is the base os

      Additional info:

          

              beth.white Beth White
              rhn-support-adistefa Alessandro Di Stefano
              Biagio Manzari Biagio Manzari
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: