Bug 2014153
| Summary: | SRIOV exclusive pooling | |||
|---|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Daniel Del Ciancio <ddelcian> | |
| Component: | Networking | Assignee: | zenghui.shi <zshi> | |
| Networking sub component: | SR-IOV | QA Contact: | zhaozhanqi <zzhao> | |
| Status: | CLOSED ERRATA | Docs Contact: | ||
| Severity: | medium | |||
| Priority: | medium | CC: | dosmith, zshi | |
| Version: | 4.6 | |||
| Target Milestone: | --- | |||
| Target Release: | 4.10.0 | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | Doc Type: | No Doc Update | ||
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 2056339 (view as bug list) | Environment: | ||
| Last Closed: | 2022-03-10 16:19:35 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: | 2056339 | |||
|
Comment 1
zenghui.shi
2021-10-19 02:53:12 UTC
reproduce this issue on old version
steps:
1. disable webhook by edit sriovoperatorconfigs.sriovnetwork.openshift.io to `enableOperatorWebhook: false`
2. Create two policy with same PF . eg
# cat intel-dpdk.yaml
apiVersion: sriovnetwork.openshift.io/v1
kind: SriovNetworkNodePolicy
metadata:
name: intel-dpdk
namespace: openshift-sriov-network-operator
spec:
deviceType: vfio-pci
mtu: 1700
nicSelector:
deviceID: "158b"
pfNames:
- ens1f1
rootDevices:
- '0000:3b:00.1'
vendor: '8086'
nodeSelector:
feature.node.kubernetes.io/sriov-capable: 'true'
numVfs: 2
priority: 99
resourceName: inteldpdk
# cat intel-dpdk.yaml-2
cat: intel-dpdk.yaml-2: No such file or directory
[root@dell-per740-36 rhcos]# cat intel-dpdk.yaml_2
apiVersion: sriovnetwork.openshift.io/v1
kind: SriovNetworkNodePolicy
metadata:
name: intel-dpdk3
namespace: openshift-sriov-network-operator
spec:
deviceType: vfio-pci
nicSelector:
deviceID: "158b"
pfNames:
- ens1f1
rootDevices:
- '0000:3b:00.1'
vendor: '8086'
nodeSelector:
feature.node.kubernetes.io/sriov-capable: 'true'
numVfs: 2
priority: 99
resourceName: inteldpdk3
3. After sriov-network-config-daemon sync success and check the node resource, both two are 2
oc describe node dell-per740-14.rhts.eng.pek2.redhat.com | grep "openshift.io/inteldpdk"
openshift.io/inteldpdk: 2
openshift.io/inteldpdk2: 2
Verified this on 4.10.0-202111031923
with same steps, step 3 only
# oc describe node dell-per740-14.rhts.eng.pek2.redhat.com | grep "openshift.io/inteldpdk"
openshift.io/inteldpdk: 2
openshift.io/inteldpdk2: 0
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.10.3 security 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-2022:0056 The needinfo request[s] on this closed bug have been removed as they have been unresolved for 365 days |