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

Clean ports after host reboot #220

Closed
mel1nn opened this issue Feb 9, 2022 · 3 comments
Closed

Clean ports after host reboot #220

mel1nn opened this issue Feb 9, 2022 · 3 comments

Comments

@mel1nn
Copy link

mel1nn commented Feb 9, 2022

Hi, as described in this issue, I'm facing a problem on an OVS bridge after a restart of the node that hosts the pod (connected to the ovs bridge). A new port is added to the bridge (new interface of the container) but the older still exists and is in error state.

By calling the cleanPorts function in the cmdAdd function (pkg/plugin/plugin.go) may fix the problem.

Thanks for your help.

@phoracek
Copy link
Member

Hello, thanks for reporting this. I see, so if you never delete Pods, only create them, after a couple of ungraceful shutdowns (not giving pods a chance to evacuate), you would end up with many disconnected interfaces.

Would you be willing to follow-up on #109 and add the needed cleanup and a test for it?

@ykulazhenkov
Copy link
Contributor

the issue should be fixed by #304

@phoracek
Copy link
Member

Thanks you @ykulazhenkov. Closing this Issue. Anybody feel free to re-open this if the issue still occurs

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

No branches or pull requests

3 participants