Bug 1917881
| Summary: | Additional interface of POD not getting IP while using whereabouts CNI with SR-IOV | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Arnab Ghosh <arghosh> |
| Component: | Documentation | Assignee: | Vikram Goyal <vigoyal> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Xiaoli Tian <xtian> |
| Severity: | medium | Docs Contact: | Vikram Goyal <vigoyal> |
| Priority: | medium | ||
| Version: | 4.5 | CC: | aos-bugs, dporter, jboxman, jokerman, zshi |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2021-02-11 18:19:04 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: | |||
From the sriovnetwork definition attachment, it has the ipam config like below:
ipam: |-
{
"ipam": {
"type": "whereabouts",
"subnet": "10.56.217.0/24",
"rangeStart": "10.56.217.171",
"rangeEnd": "10.56.217.181",
"gateway": "10.56.217.1"
}
}
The inner ipam is not necessary, please try the following:
ipam: |-
{
"type": "whereabouts",
"subnet": "10.56.217.0/24",
"rangeStart": "10.56.217.171",
"rangeEnd": "10.56.217.181",
"gateway": "10.56.217.1"
}
Note:
looks like we have an wrong example in the official doc:
https://docs.openshift.com/container-platform/4.6/networking/hardware_networks/configuring-sriov-net-attach.html#nw-sriov-network-attachment_configuring-sriov-net-attach
This looks like a docs bug, so I'll reassign. *** Bug 1918967 has been marked as a duplicate of this bug. *** |
Description of problem: Additional interface is being added to POD but no IP is being assigned to the interface. ~~~ [root@a network]# oc exec -ti sriov-centos -- ip a s net1 2158: net1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 9000 qdisc mq state UP group default qlen 1000 link/ether ce:9f:2a:79:a1:9e brd ff:ff:ff:ff:ff:ff inet6 fe80::cc9f:2aff:fe79:a19e/64 scope link valid_lft forever preferred_lft forever ~~~ Will provide all sriov resources in private comment. Version-Release number of selected component (if applicable): Openshift Container Platform 4.5 How reproducible: Not Sure Steps to Reproduce: 1. 2. 3. Actual results: POD's are not getting IP for additional interface Expected results: POD's should get IP for additional interface Additional info: Will provide additional informations in private case comments.