Bug 1841355
| Summary: | Rebuild ironic-ipa-downloader with latest RPM's | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Stephen Benjamin <stbenjam> |
| Component: | Bare Metal Hardware Provisioning | Assignee: | Julia Kreger <jkreger> |
| Bare Metal Hardware Provisioning sub component: | ironic | QA Contact: | Lubov <lshilin> |
| Status: | CLOSED ERRATA | Docs Contact: | |
| Severity: | urgent | ||
| Priority: | urgent | CC: | augol, lshilin, shardy |
| Version: | 4.5 | Keywords: | Triaged |
| Target Milestone: | --- | ||
| Target Release: | 4.5.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: |
Cause:
A missing package in the build image generated errors regarding "efibootmgr" being unable to be executed.
Consequence:
While deploys would not fail, if a machine was in UEFI mode and the requested disk image did not conform to UEFI standards for EFI bootloader location, or if the UEFI firmware of the hardware looked for a non-standard default file, the host may not have booted.
Fix:
IPA ramdisk images now include "efibootmgr".
Result:
With "efibootmgr" now in the images, the UEFI NVRAM setting table is now updated to include a reference to the known disk and file on disk that is a known available bootloader as opposed to relying on hardware defaults and integrated search logic with-in the hardware firmware.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2020-07-13 17:42:41 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Stephen Benjamin
2020-05-28 23:27:31 UTC
I'm using this bug to force ironic-ipa-downloader to rebuild, and leaving https://bugzilla.redhat.com/show_bug.cgi?id=1840222 to possibly pick up https://review.opendev.org/#/c/731575/ which is a fix to ironic to prevent forcing the host off. Could you, please, provide instructions how can we verify this fix? I think we can verify this by checking the IPA package version, and/or verifying the missing efibootmanager file is present E.g: Make note of the provisioningNetworkCIDR from the install-config, this determines the IP to use below - fd00:1101::2 is the default provisioning IP for the bootstrap VM in a dev-scripts environment, or you could use fd00:1101::3 to download the files from a running cluster. mkdir ipa_tmp; cd ipa_tmp wget http://[fd00:1101::2]/images/ipa-ramdisk-pkgs.info wget http://[fd00:1101::2]/images/ironic-python-agent.initramfs cat ipa-ramdisk-pkgs.info This will show e.g rhosp-director-images-ipa-x86_64 16.0 20200513.1.el8ost noarch which can be verified to be equal to (or newer than) the fixed-in-version for bz1810604 To be completely sure we can also check for the existence of the previously missing file, e.g: zcat ironic-python-agent.initramfs | cpio -ivd find . -name efibootmgr This should show /usr/sbin/efibootmgr both recommended verifications passed Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, 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-2020:2409 |