Bug 2112297
| Summary: | bond-cni: Backport "mac duplicates" 4.11 | |||
|---|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Andrea Panattoni <apanatto> | |
| Component: | Networking | Assignee: | Andrea Panattoni <apanatto> | |
| Networking sub component: | SR-IOV | QA Contact: | zhaozhanqi <zzhao> | |
| Status: | CLOSED ERRATA | Docs Contact: | ||
| Severity: | medium | |||
| Priority: | medium | CC: | elevin, zshi | |
| Version: | 4.11 | |||
| Target Milestone: | --- | |||
| Target Release: | 4.11.0 | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | ||
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 2112319 (view as bug list) | Environment: | ||
| Last Closed: | 2022-08-23 15:09:42 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: | 2107178 | |||
| Bug Blocks: | 2116642 | |||
|
Description
Andrea Panattoni
2022-07-29 09:40:35 UTC
elevin Could you help take this bug since it's related with https://bugzilla.redhat.com/show_bug.cgi?id=2107178 thanks. Verified this issue in 4.11.0-0.nightly-2022-08-11-023608
steps
1. init 2 VF
2. Create 2 sriovnetworks to create NAD
apiVersion: sriovnetwork.openshift.io/v1
kind: SriovNetwork
metadata:
name: snet1
namespace: openshift-sriov-network-operator
spec:
networkNamespace: z1
ipam: "{}"
trust: "on"
resourceName: intelnetdevice
apiVersion: sriovnetwork.openshift.io/v1
kind: SriovNetwork
metadata:
name: snet2
namespace: openshift-sriov-network-operator
spec:
networkNamespace: z1
ipam: "{}"
trust: "on"
resourceName: intelnetdevice
3. Create bond NAD
apiVersion: "k8s.cni.cncf.io/v1"
kind: NetworkAttachmentDefinition
metadata:
name: bond-net1
spec:
config: '{
"type": "bond",
"cniVersion": "0.3.1",
"name": "bond-net1",
"mode": "balance-alb",
"failOverMac": 1,
"linksInContainer": true,
"miimon": "100",
"mtu": 1500,
"links": [
{"name": "net1"},
{"name": "net2"}
],
"capabilities":{
"ips": true
},
"ipam": {
"type": "static"
}
}'
4. Create test pod with
apiVersion: v1
kind: Pod
metadata:
generateName: testpod1
labels:
env: test
annotations:
k8s.v1.cni.cncf.io/networks: '[
{"name": "snet1",
"interface": "net1"
},
{"name": "snet2",
"interface": "net2"
},
{"name": "bond-net1",
"interface": "bond0",
"ips": ["192.168.100.2/24"]
}
]'
spec:
containers:
- name: bond
image: quay.io/openshifttest/hello-sdn@sha256:2af5b5ec480f05fda7e9b278023ba04724a3dd53a296afcd8c13f220dec52197
imagePullPolicy: IfNotPresent
4. Create pods and delete and then create again. they are works well.
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.11.1 bug fix and 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:6103 The needinfo request[s] on this closed bug have been removed as they have been unresolved for 365 days |