Bug 1652535
Summary: | It will use up the IPs in the subnet range when the secondary NIC failed to be setup on pod via Multus | ||||||
---|---|---|---|---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Meng Bo <bmeng> | ||||
Component: | Networking | Assignee: | Douglas Smith <dosmith> | ||||
Status: | CLOSED ERRATA | QA Contact: | Meng Bo <bmeng> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | high | ||||||
Version: | 4.1.0 | CC: | aos-bugs, bbennett, cdc, dcbw, ddharwar, dosmith, fpan | ||||
Target Milestone: | --- | ||||||
Target Release: | 4.1.0 | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | multus | ||||||
Fixed In Version: | Doc Type: | If docs needed, set a value | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2019-06-04 10:41:02 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: | |||||||
Attachments: |
|
Description
Meng Bo
2018-11-22 10:35:12 UTC
Very good find! Over to Feng. Just an FYI that I've been able to successfully replicate the issue -- thank you A TON for the detailed instructions to make that very easy. For my own record, I was able to watch the number of IP assignment files grow on the node the pod is scheduled to with: watch -n1 "ls -1 /var/lib/cni/networks/openshift-sdn | wc -l" I've been able to isolate the issue, and have a patch upstream in this pull request: https://github.com/intel/multus-cni/pull/201 In short, the area that's causing the problem are these lines: https://github.com/intel/multus-cni/blob/4aa1d212f1f98a4ad24b8694bf5d8871f9ab7d99/multus/multus.go#L259-L261 The return statement there is causing the deletion of the default network plugin to never happen when there is a failure to delete the plugin that failed to start in the first place. I've kicked off a conversation with the other maintainers to begin to get this pull request merged in. We've got the pull request merged, and the upstream docker image should reflect the change. I'll work on merging outstanding patches into our release branch and bring the changes down early next week. Thanks again for the great find on this one. Can we mark this as MODIFIED? Are the changes in the openshift tree? Changes are downstream and available. Thanks Casey, updated to modified. Tested on OCP build 4.0.0-0.nightly-2019-03-14-040908 Issue has been fixed. 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, 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/RHBA-2019:0758 |