Skip to content
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

Handle Interface already exists due to SetNetworkStatus failed #236

Conversation

Longchuanzheng
Copy link

What this PR does / why we need it:
This pr create a DEL request when controller find a ADD request return "interface alreadt exists". This will undo any effects of SetNetworkStatus failure.

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #235

Special notes for your reviewer (optional):

@Longchuanzheng Longchuanzheng force-pushed the handleSetNetworkStatusFailed branch 2 times, most recently from 5a6342c to f6a5223 Compare July 23, 2024 09:41
@Longchuanzheng
Copy link
Author

I don't think this is the final solution, just hope it can spark discussion.

@Longchuanzheng
Copy link
Author

Longchuanzheng commented Jul 23, 2024

Or we can delete all attachments in this processNextWorkItem when err happend in DynamicAttachmentRequest. Because DEL is Idempotence. #237

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] Dynamic network plugin stuck due to updating pod network status failed
1 participant