-
Bug
-
Resolution: Obsolete
-
Major
-
4.10
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)
- clones
-
OCPBUGS-421 Disconnected IPI OCP 4.10.22 cluster install on baremetal fails when hostname of master nodes does not include the text "master
- Closed
- depends on
-
OCPBUGS-421 Disconnected IPI OCP 4.10.22 cluster install on baremetal fails when hostname of master nodes does not include the text "master
- Closed
- is cloned by
-
OCPBUGS-1239 [4.10] Disconnected IPI OCP cluster install on baremetal fails when hostname of master nodes does not include the text "master
- Closed
-
OCPBUGS-1806 OCP cluster install on baremetal fails when hostname of master nodes does not include the text "master" (take 2)
- Closed
- is depended on by
-
OCPBUGS-1239 [4.10] Disconnected IPI OCP cluster install on baremetal fails when hostname of master nodes does not include the text "master
- Closed
- links to