Bug 2032573

Summary: Adopting enforces deploy_kernel/ramdisk which does not work with deploy_iso
Product: OpenShift Container Platform Reporter: Dmitry Tantsur <dtantsur>
Component: Bare Metal Hardware ProvisioningAssignee: Dmitry Tantsur <dtantsur>
Bare Metal Hardware Provisioning sub component: ironic QA Contact: Lubov <lshilin>
Status: CLOSED ERRATA Docs Contact:
Severity: urgent    
Priority: urgent CC: afasano, bfournie, lshilin, rpittau, zbitter
Version: 4.10Keywords: Triaged
Target Milestone: ---Flags: rpittau: needinfo-
Target Release: 4.10.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-03-10 16:33:57 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 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