Bug 1805237

Summary: [Baremetal][IPI] Select disks to be used during node deployment in install-config.yaml
Product: OpenShift Container Platform Reporter: Luis Arizmendi <larizmen>
Component: InstallerAssignee: Derek Higgins <derekh>
Installer sub component: OpenShift on Bare Metal IPI QA Contact: Lubov <lshilin>
Status: CLOSED ERRATA Docs Contact:
Severity: high    
Priority: medium CC: beth.white, derekh, lshilin, rbartal, tsedovic
Version: 4.4Keywords: Triaged
Target Milestone: ---   
Target Release: 4.6.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Feature: When using baremetal IPI rootDeviceHints can be used to provide Guidance for how to choose the device to receive the image being provisioned. Reason: On systems with multiple disks, deployer may want to choose the disk where RHCOS is written to Result:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-10-27 15:55:19 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:
Bug Depends On: 1871653    
Bug Blocks:    

Description Luis Arizmendi 2020-02-20 14:38:00 UTC
Description of problem:

While installing OpenShift Baremetal IPI we can choose the NIC used by the control plane to provision the nodes but we cannot choose anything related to disks in the install-config.yaml:

https://github.com/openshift/installer/blob/master/pkg/types/baremetal/platform.go

It would be nice to be able to choose one of the (possible) multiple disks present in the physical nodes instead of asking for a single disk/RAID or just using the first available drive.

It would be even better if that configuration could be done on a per-node or group of nodes basis.

Comment 1 Derek Higgins 2020-03-25 18:49:32 UTC
Patch posted upstream of a possible solution
https://github.com/openshift/installer/pull/3348

Comment 3 Beth White 2020-05-28 12:07:29 UTC
This is not considered a release blocker for 4.5. Moving to 4.6.

Comment 5 Tomas Sedovic 2020-08-13 11:24:35 UTC
Moving to modified since the PR has been merged: https://github.com/openshift/installer/pull/3795

Comment 9 Lubov 2020-09-24 15:29:18 UTC
rootDeviceHints are implemented and working fine since 4.6.0-0.nightly-2020-09-24-095222 

This BZ is verified as part of https://bugzilla.redhat.com/show_bug.cgi?id=1871653

Comment 11 errata-xmlrpc 2020-10-27 15:55:19 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 (OpenShift Container Platform 4.6 GA Images), 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:4196