Bug 1912701
Summary: | Handle dual-stack configuration for NIC IP | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Steven Hardy <shardy> |
Component: | Bare Metal Hardware Provisioning | Assignee: | Steven Hardy <shardy> |
Bare Metal Hardware Provisioning sub component: | baremetal-operator | QA Contact: | Shelly Miron <smiron> |
Status: | CLOSED ERRATA | Docs Contact: | |
Severity: | high | ||
Priority: | high | CC: | bfournie, danw, mcornea, pparasur, rbartal, shardy |
Version: | 4.7 | Keywords: | Triaged, UpcomingSprint |
Target Milestone: | --- | ||
Target Release: | 4.7.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2021-02-24 15:49:43 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 1897336, 1907639 |
Description
Steven Hardy
2021-01-05 09:23:59 UTC
Upstream PR pushed https://github.com/metal3-io/baremetal-operator/pull/758 - I'll set this to POST when the downstream backport is available. Verified with the following steps, on a dual-stack machine with the version: [kni@provisionhost-0-0 ~]$ oc version Client Version: 4.7.0-0.nightly-2021-01-09-021054 Server Version: 4.7.0-0.nightly-2021-01-09-021054 Kubernetes Version: v1.20.0+6313d1d steps: ------ 1. Deployed dual-stack env 2. observed worker-0-1 with: $ oc describe bmh openshift-worker-0-1 -n openshift-machine-api Hostname: worker-0-1.ocp-edge-cluster-0.qe.lab.redhat.com Nics: Ip: 192.168.123.107 Mac: 52:54:00:83:da:cf Model: 0x1af4 0x0001 Name: enp5s0 Pxe: false Speed Gbps: 0 Vlan Id: 0 Ip: fd2e:6f44:5dd8::10f Mac: 52:54:00:83:da:cf Model: 0x1af4 0x0001 Name: enp5s0 Pxe: false Speed Gbps: 0 Vlan Id: 0 Ip: fd00:1101::ac0e:daa2:1d94:5906 Mac: 52:54:00:55:75:eb Model: 0x1af4 0x0001 Name: enp4s0 Pxe: true Speed Gbps: 0 Vlan Id: 0 We can see now that the control-plane nic(i.e. enp5s0) is configured with both ipv4 and ipv6 addresses. For the inspection part of worker-0-1 node: $ oc logs metal3-5c59cc865-j6zd5 -n openshift-machine-api -c metal3-ironic-inspector | grep 192.168.123.107 2021-01-10 09:30:51.274 1 DEBUG ironic_inspector.main [req-698fb2df-eb7e-418f-a239-29d17e15e9dd - - - - -] [node: MAC 52:54:00:55:75:eb] Received data from the ramdisk: {'inventory': {'interfaces': [{'name': 'enp5s0', 'mac_address': '52:54:00:83:da:cf', 'ipv4_address': '192.168.123.107', 'ipv6_address': 'fd2e:6f44:5dd8::10f', 'has_carrier': True, 'lldp': [], 'vendor': '0x1af4', 'product': '0x0001', 'client_id': None, 'biosdevname': None}, {'name': 'enp4s0', 'mac_address': '52:54:00:55:75:eb', 'ipv4_address': None, 'ipv6_address': 'fd00:1101::ac0e:daa2:1d94:5906', 'has_carrier': True, 'lldp': [], 'vendor': '0x1af4', 'product': '0x0001', 'client_id': None, 'biosdevname': None}] 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 (Moderate: OpenShift Container Platform 4.7.0 security, bug fix, and enhancement update), 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/RHSA-2020:5633 |