-
Bug
-
Resolution: Won't Do
-
Minor
-
None
-
4.13
-
Important
-
No
-
Rejected
-
False
-
-
-
4/12: telco re-reviewed
Description of problem:
BMH with static network configuration is stuck in inspecting state as the network configuration is not applied.
Version-Release number of selected component (if applicable):
4.13.0-rc.2
How reproducible:
100%
Steps to Reproduce:
1. Create following BMH: --- apiVersion: v1 data: password: pass username: user kind: Secret metadata: name: openshift-master-0-bmc-secret namespace: openshift-machine-api type: Opaque --- apiVersion: v1 kind: Secret metadata: name: openshift-master-0-network-config-secret namespace: openshift-machine-api type: Opaque stringData: nmstate: | hosts: - name: openshift-master-0 role: master bmc: address: ilo5-virtualmedia://[$ADDR]:443/redfish/v1/Systems/1 disableCertificateVerification: True username: user password: pass bootMACAddress: 48:df:37:ae:b2:b5 rootDeviceHints: deviceName: /dev/sda networkConfig: interfaces: - name: ens2f0 type: ethernet state: up ipv4: address: - ip: 10.1.28.20 prefix-length: 24 enabled: true ipv6: address: - ip: 2620:52:0:11c::20 prefix-length: 64 enabled: true dns-resolver: config: server: - 10.19.42.41 - 10.11.5.19 - 2620:52:0:aa0::dead:beef routes: config: - destination: 0.0.0.0/0 next-hop-address: 10.1.28.254 next-hop-interface: ens2f0 table-id: 254 enabled: true - destination: ::/0 next-hop-address: 2620:52:0:11c::fe next-hop-interface: ens2f0 enabled: true --- apiVersion: metal3.io/v1alpha1 kind: BareMetalHost metadata: name: openshift-master-0 namespace: openshift-machine-api spec: online: true bmc: address: ilo5-virtualmedia://[$ADDR]:443/redfish/v1/Systems/1 credentialsName: openshift-master-0-bmc-secret disableCertificateVerification: true bootMACAddress: 48:df:37:ae:b2:b5 preprovisioningNetworkDataName: openshift-master-0-network-config-secret
Actual results:
The node boots from the generated ISO but it's not reachable over the network which indicates that the network configuration was not applied.
Expected results:
When the node boots from ISO it applies the network configuration set in openshift-master-0-network-config-secret.
Additional info:
Attaching must-gather.
- duplicates
-
OCPBUGS-4465 Error should be logged and stop the customized image generation if the nmstate output is "--- {}\n"
- Closed