+++ This bug was initially created as a clone of Bug #1796996 +++ We rely on vendored baremetal-operator code to handle various information about baremetal servers including BMC credentials and hardware profiles. The BMO uses the string 'unknown' as hardware.DefaultProfileName. As these string values are exposed to the user in the baremetal platform as part of the install-config, it felt awkward if a user wanted to explicitly use the default hardware profile to have to write the string 'unknown'. In golang, people are generally just writing the constant, 'hardware.DefaultProfileName`. So, in the terraform variables, we mapped the string value 'default' to mean that, but it wasn't done for creating the machines for workers. Now that you can deploy workers during installation as a day-1 operation, if you specify the string 'default' for workers, they get stuck in the 'match profile' state of the BMO. Keep in mind, these baremetalhosts are all defined in the 'hosts' section of the install config, but the profiles are now working differently depending on whether it's part of the control plane (i.e. created by terraform) or not.
version 4.3.0-0.nightly-2020-03-01-194304 True False 34s Cluster version is 4.3.0-0.nightly-2020-03-01-194304 Verified on bare metal installation with: hosts: - name: openshift-master-0 role: master bmc: address: ipmi://[fd2e:6f44:5dd8:c956::1]:6230 username: admin password: password bootMACAddress: 52:54:00:f7:4b:18 hardwareProfile: default - name: openshift-master-1 role: master bmc: address: ipmi://[fd2e:6f44:5dd8:c956::1]:6231 username: admin password: password bootMACAddress: 52:54:00:4e:98:a4 hardwareProfile: default - name: openshift-master-2 role: master bmc: address: ipmi://[fd2e:6f44:5dd8:c956::1]:6232 username: admin password: password bootMACAddress: 52:54:00:42:b9:a3 hardwareProfile: default - name: openshift-worker-0 role: worker bmc: address: ipmi://[fd2e:6f44:5dd8:c956::1]:6233 username: admin password: password bootMACAddress: 52:54:00:23:5c:3f hardwareProfile: default - name: openshift-worker-1 role: worker bmc: address: ipmi://[fd2e:6f44:5dd8:c956::1]:6234 username: admin password: password bootMACAddress: 52:54:00:ef:d6:1d hardwareProfile: default
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, 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:0676