Bug 2032573 - Adopting enforces deploy_kernel/ramdisk which does not work with deploy_iso
Summary: Adopting enforces deploy_kernel/ramdisk which does not work with deploy_iso
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Bare Metal Hardware Provisioning
Version: 4.10
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: ---
: 4.10.0
Assignee: Dmitry Tantsur
QA Contact: Lubov
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-12-14 18:09 UTC by Dmitry Tantsur
Modified: 2022-03-10 16:34 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-03-10 16:33:57 UTC
Target Upstream Version:
Embargoed:
rpittau: needinfo-


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift ironic-image pull 248 0 None Merged Bug 2032573: Update ironic to include latest major bugfixes 2022-01-05 10:10:45 UTC
OpenStack gerrit 821537 0 None MERGED Adoption: do not validate boot interface when local booting 2021-12-21 09:17:02 UTC
Red Hat Product Errata RHSA-2022:0056 0 None None None 2022-03-10 16:34:19 UTC

Description Dmitry Tantsur 2021-12-14 18:09:18 UTC
We need to be able to adopt without building an ISO in advance, now we get:

2021-12-12T03:26:29.986 current provision state {host: 'openshift-machine-api~ostest-master-0', lastError: "Error while attempting to adopt node b7828939-f236-45e2-910b-d324a2d00229: Error validating Redfish virtual media. Some parameters were missing in node's driver_info. Missing are: ['deploy_kernel', 'deploy_ramdisk'].", current: 'adopt failed', target: 'active'}

This validation was added when network booting was the default, it's less important now.

Comment 1 Zane Bitter 2021-12-14 18:28:17 UTC
In the short term our options are to change baremetal-operator to always build an ISO, even for externally provisioned hosts, or to skip the test:

[sig-installer][Feature:baremetal] Baremetal platform should have baremetalhost resources [Suite:openshift/conformance/parallel]

Comment 2 Bob Fournier 2021-12-15 01:30:31 UTC
As a workaround only for baremetal the test failing, to not check the Operational Status - https://github.com/openshift/origin/pull/26693

Comment 6 Zane Bitter 2022-01-04 20:01:59 UTC
Can we make sure we restore the CI test before closing this?

Comment 9 Zane Bitter 2022-01-10 17:45:35 UTC
https://github.com/openshift/origin/pull/26734 is the patch to restore the CI test.

Comment 10 Lubov 2022-01-17 12:46:46 UTC
I see the patch is merged

Comment 13 errata-xmlrpc 2022-03-10 16:33:57 UTC
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 (Moderate: OpenShift Container Platform 4.10.3 security 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/RHSA-2022:0056


Note You need to log in before you can comment on or make changes to this bug.