Bug 1973647
| Summary: | [OCP4.7] SriovNetwork - no IP configuration via whereabouts nor host-local IPAM plugins | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Rafal Szmigiel <rszmigie> |
| Component: | Networking | Assignee: | zenghui.shi <zshi> |
| Networking sub component: | SR-IOV | QA Contact: | zhaozhanqi <zzhao> |
| Status: | CLOSED NOTABUG | Docs Contact: | |
| Severity: | unspecified | ||
| Priority: | unspecified | CC: | astafeye |
| Version: | 4.7 | Keywords: | Reopened |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| 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-06-23 12:46:40 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: | |||
|
Comment 4
zenghui.shi
2021-06-21 12:19:04 UTC
I don't see any issue with the generated net-attach-def. How did you check the ip address for sriov interfaces? What deviceType is used when creating SriovNetworkNodePolicy? Is it netdevice or vfio-pci ? ok, from comment #8, SriovNetworkNodePolicy CRs are using vfio-pci deviceType, in which mode VF devices are no longer observed as kernel interfaces, which means IP address cannot be configured to the VF devices. This is expected when vf is used for dpdk application (vfio-pci). IP address can be configured to VF device when SriovNetowrkNodePolicy is using netdevice deviceType. You're absolutely right - once I switched it to netdevice the IPs are being assigned/visible in the outputs. Many thanks for your help! Best Regards, Rafal |