Revert "Suppress error message in cmdDel, in thick plugin"#1433
Revert "Suppress error message in cmdDel, in thick plugin"#1433pliurh wants to merge 1 commit intok8snetworkplumbingwg:masterfrom
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. |
|
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 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.