-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incorrect bond name #32
Comments
@killianmuldoon @Eoghan1232 could you please take a look? |
apologies on delay, never got any notification on this. Hi @mmirecki , agreed that the above is an issue.
|
np, I only realized today that no one was added to the assignees. Let me add a PR for this. |
Looks right to me - by the way, I'm not working in this area any more so I'm not really the right person to review these PRs and issues 🙂 |
Fix proposal here: |
I don't think anyone other than you and Eoghan can approve/merge here, so please don't abandon the repo :) |
@Eoghan1232 has it handled 🙂 But it would definitely be a good idea to add someone else as a maintainer. I'm happy to stay on the list to have some redundancy there - I'm still working in Kubernetes stuff, just no longer in the network plumbing group so I don't have any bandwidth to dedicate here. |
@eoghanlawless is named as a maintainer on this repo, as well as @esiperu-est from what I see from the meeting notes. |
Closing issue as PR has now been merged. |
The bond-cni uses the "name" parameter from the config to name the bond interface it creates.
This is not correct, as the cni spec says that the CNI_IFNAME parameter should be used to name the interface. It also says that naming the ifc differently is not allowed:
CNI_IFNAME: Name of the interface to create inside the container; if the plugin is unable to use this interface name it must return an error.
Not conforming to this can lead to potential issues. One is an issues with plugin chaining. A metaplugin following the bond-cni will assume the name of the created interface is that found in CNI_IFNAME, and if the names differ it will fail trying to act on an incorrect (not-existing) interface.
We can fix this by either:
not break the api
The text was updated successfully, but these errors were encountered: