-
Notifications
You must be signed in to change notification settings - Fork 624
Revert "Suppress error message in cmdDel, in thick plugin" #1433
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
base: master
Are you sure you want to change the base?
Conversation
This reverts commit 5d64ec3.
In CNI Specification, here is the sentence. So CNI specification point of view, CNI plugin should execute If you have something stale resources (e.g. something cannot be cleaned up by Multus CNI already supports |
|
@dougbtv PTAL? |
That's not what it says. (Or at least, not what it meant.) It just means that a CNI plugin should not return a "not found" error if it is asked to delete something that already doesn't exist. If it is aware that there is something that it needs to delete, and it is unable to delete it, then it's supposed to return an error. If CNI plugins were never supposed to return errors from DEL, then why would DEL even allow returning an error? We discussed this in the CNI meeting on 2025-06-16 and @squeed agreed that Multus's interpretation of the spec is wrong. |
SchSeba
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
This pull request is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 7 days. |
|
still relevant |
This reverts commit 5d64ec3.
Multus shall return an error to the caller if a DEL fails.