-
Bug
-
Resolution: Done
-
Major
-
4.10
-
Important
-
None
-
2
-
Metal Platform 223, Metal Platform 224, Metal Platform 225, Metal Platform 226, Metal Platform 227
-
5
-
Rejected
-
False
-
-
NA
Description of problem:
Disconnected IPI OCP 4.10.22 cluster install on baremetal fails when hostname of master nodes does not include "master"
Version-Release number of selected component (if applicable): 4.10.22
How reproducible: Perform disconnected IPI install of OCP 4.10.22 on bare metal with master nodes that do not contain the text "master"
Steps to Reproduce:
Perform disconnected IPI install of OCP 4.10.22 on bare metal with master nodes that do not contain the text "master"
Actual results: master nodes do come up.
Expected results: master nodes should come up despite that the text "master" is not in their hostname.
Additional info:
Disconnected IPI OCP 4.10.22 cluster install on baremetal fails when hostname of master nodes does not include "master"
The code for the cluster-baremetal-operator at the following link:
The following condition is concerning:
if strings.Contains(bmh.Name, "master") && len(bmh.Spec.BootMACAddress) > 0
The packages reveal that bmh.Name references the name inside the metadata of the BMH object.
Should a customer have masters with names that do not include the text "master", the above condition can never become true, and so, the following slice is never created :
macs = append(macs, bmh.Spec.BootMACAddress)
- is cloned by
-
OCPBUGS-747 [4.11] Disconnected IPI OCP cluster install on baremetal fails when hostname of master nodes does not include the text "master
- Closed
- is depended on by
-
OCPBUGS-747 [4.11] Disconnected IPI OCP cluster install on baremetal fails when hostname of master nodes does not include the text "master
- Closed
- links to