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

ABI day2 pxe install can't reboot from disk properly with the setBootOrder error

    • Important
    • None
    • Rejected
    • False
    • Hide

      None

      Show
      None
    • Hide
      * Previously, when you used the Agent-based Installer to install a cluster on a host, sometimes the `/dev/sda` device, an Extensible Firmware Interface (EFI) device, failed to mount. With this release, a retry operation is added to the EFI device so it mounts correctly. (link:https://issues.redhat.com/browse/OCPBUGS-50621[*OCPBUGS-50621*])
      Show
      * Previously, when you used the Agent-based Installer to install a cluster on a host, sometimes the `/dev/sda` device, an Extensible Firmware Interface (EFI) device, failed to mount. With this release, a retry operation is added to the EFI device so it mounts correctly. (link: https://issues.redhat.com/browse/OCPBUGS-50621 [* OCPBUGS-50621 *])
    • Bug Fix
    • Done

      This is a clone of issue OCPBUGS-45116. The following is the description of the original issue:

      Description of problem:

          Test pxe boot in ABI day2 install, day2 host can not reboot from the disk properly, but reboot from pxe again. This is not reproduced in all hosts and reboots.

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

          4.18.0-0.nightly-2024-11-26-075648

      How reproducible:

          Not always, about 70% in amd64 and 100% in arm64

      Steps to Reproduce:

          1. Run ABI day1 install booting from pxe
          2. After day1 cluster is installed, run ABI day2 install booting from pxe
          3. Day2 host hasn't reboot from disk as expected, but reboot from pxe again. From agent.service log, we can see the error:
      
      level=info msg=\"SetBootOrder, runtime.GOARCH: amd64, device: /dev/sda\"\ntime=\"2024-11-27T06:48:15Z\" level=info msg=\"Setting efibootmgr to boot from disk\"\ntime=\"2024-11-27T06:48:15Z\" level=error msg=\"failed to find EFI directory\" error=\"failed to mount efi device: failed executing /usr/bin/nsenter [--target 1 --cgroup --mount --ipc --pid -- mount /dev/sda2 /mnt], Error exit status 32, LastOutput \\\"mount: /var/mnt: special device /dev/sda2 does not exist.\\\"\"\ntime=\"2024-11-27T06:48:15Z\" level=warning msg=\"Failed to set boot order\" error=\"failed to mount efi device: failed executing /usr/bin/nsenter [--target 1 --cgroup --mount --ipc --pid -- mount /dev/sda2 /mnt], Error exit status 32     

      Actual results:

          Day2 host hasn't reboot from disk as expected

      Expected results:

          Day2 host should reboot from disk to complete the installation

      Additional info:

          

            [OCPBUGS-50621] ABI day2 pxe install can't reboot from disk properly with the setBootOrder error

            Errata Tool added a comment -

            Since the problem described in this issue should be resolved in a recent advisory, it has been closed.

            For information on the advisory (OpenShift Container Platform 4.18.2 bug fix update), and where to find the updated files, follow the link below.

            If the solution does not work for you, open a new bug report.
            https://access.redhat.com/errata/RHBA-2025:1904

            Errata Tool added a comment - Since the problem described in this issue should be resolved in a recent advisory, it has been closed. For information on the advisory (OpenShift Container Platform 4.18.2 bug fix update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2025:1904

            zhenying niu added a comment - Jobs agaist latest 4.18 pass now: https://qe-private-deck-ci.apps.ci.l2s4.p1.openshiftapps.com/view/gs/qe-private-deck/pr-logs/pull/openshift_release/61658/rehearse-61658-periodic-ci-openshift-openshift-tests-private-release-4.18-arm64-nightly-baremetal-pxe-compact-agent-ipv4-static-day2-f14/1894737217352372224 https://qe-private-deck-ci.apps.ci.l2s4.p1.openshiftapps.com/view/gs/qe-private-deck/pr-logs/pull/openshift_release/61658/rehearse-61658-periodic-ci-openshift-openshift-tests-private-release-4.18-amd64-nightly-baremetal-pxe-sno-agent-ipv4-static-day2-f14/1894737080316071936

              itsoiref@redhat.com Igal Tsoiref
              openshift-crt-jira-prow OpenShift Prow Bot
              zhenying niu zhenying niu
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: