-
Bug
-
Resolution: Done
-
Major
-
None
-
4.11
-
Quality / Stability / Reliability
-
False
-
-
None
-
Moderate
-
None
-
None
-
None
-
Rejected
-
None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
Description of problem:
Incorrect bmh.yaml in static configuration https://docs.openshift.com/container-platform/4.11/installing/installing_bare_metal_ipi/ipi-install-expanding-the-cluster.html#preparing-the-bare-metal-node_ipi-install-expanding
Version-Release number of selected component (if applicable):
4.11
How reproducible:
Steps to Reproduce:
1. 2. 3.
Actual results:
--- apiVersion: v1 kind: Secret metadata: name: openshift-worker-<num>-network-config-secret type: Opaque stringData: nmstate: | hosts: - name: openshift-master-0 role: master bmc: address: redfish+http://<out_of_band_ip>/redfish/v1/Systems/ username: <user> password: <password> disableCertificateVerification: null bootMACAddress: <NIC1_mac_address> bootMode: UEFI rootDeviceHints: deviceName: "/dev/sda" networkConfig: interfaces: - name: <nic1_name> type: ethernet state: up ipv4: address: - ip: <ip_address> prefix-length: 24 enabled: true dns-resolver: config: server: - <dns_ip_address> routes: config: - destination: 0.0.0.0/0 next-hop-address: <next_hop_ip_address> next-hop-interface: <next_hop_nic1_name> --- apiVersion: v1 kind: Secret metadata: name: openshift-worker-<num>-bmc-secret namespace: openshift-machine-api type: Opaque data: username: <base64_of_uid> password: <base64_of_pwd> --- apiVersion: metal3.io/v1alpha1 kind: BareMetalHost metadata: name: openshift-worker-<num> namespace: openshift-machine-api spec: online: True bootMACAddress: <nic1_mac_address> bmc: address: <protocol>://<bmc_url> credentialsName: openshift-worker-<num>-bmc-secret disableCertificateVerification: True username: <bmc_username> password: <bmc_password> rootDeviceHints: deviceName: <root_device_hint> preprovisioningNetworkDataName: openshift-worker-<num>-network-config-secret
Expected results:
--- apiVersion: v1 kind: Secret metadata: name: openshift-worker-<num>-network-config-secret type: Opaque stringData: nmstate: | interfaces: - name: <nic1_name> type: ethernet state: up ipv4: address: - ip: <ip_address> prefix-length: 24 enabled: true dns-resolver: config: server: - <dns_ip_address> routes: config: - destination: 0.0.0.0/0 next-hop-address: <next_hop_ip_address> next-hop-interface: <next_hop_nic1_name> --- apiVersion: v1 kind: Secret metadata: name: openshift-worker-<num>-bmc-secret namespace: openshift-machine-api type: Opaque data: username: <base64_of_uid> password: <base64_of_pwd> --- apiVersion: metal3.io/v1alpha1 kind: BareMetalHost metadata: name: openshift-worker-<num> namespace: openshift-machine-api spec: online: True bootMACAddress: <nic1_mac_address> bmc: address: <protocol>://<bmc_url> credentialsName: openshift-worker-<num>-bmc-secret disableCertificateVerification: True username: <bmc_username> password: <bmc_password> rootDeviceHints: deviceName: <root_device_hint> preprovisioningNetworkDataName: openshift-worker-<num>-network-config-secret
Additional info:
https://github.com/openshift/openshift-docs/pull/53444