-
Notifications
You must be signed in to change notification settings - Fork 370
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
Routes and IP configuration of gw0 removed when networkd restarts on a Node #626
Comments
The original plan was to have the antrea initContainer write this file to
However, there are 2 issues with that approach:
Since this issue is specific to coreOS (see weaveworks/weave#2601), I am tempted to turn this into a "documentation" issue. @jianjuns what do you think? |
Yeah, I do not really like to get into network manager business. But I still think we should check and sync routes periodically. I think most other solutions do so. For your issue #1 I think initContainer can mount the Agent ConfigMap and read the gateway interface there (BTW, I feel better to add an "antrea-" prefix to all interfaces we created like antrea-gw0). |
Describe the bug
Thanks to @alex-vmw for reporting this issue.
When networkd crashes (or when it is restarted manually) which is something we observed on a live cluster, it seems that networkd assumes that it is managing gw0 and it therefore deletes the IP configuration for gw0, along with all the routes associated with gw0. The only solution for this at the moment is to restart the antrea-agent on the Node (or restart the Node altogether).
To Reproduce
On a Node with networkd, restart the service. Observed the gw0 configuration and the routes.
Expected
IP configuration / routes should easer be preserved or re-configured within a reasonnable time frame.
Versions:
The text was updated successfully, but these errors were encountered: