-
Notifications
You must be signed in to change notification settings - Fork 372
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
Periodically verify that all required routes are present in the Node #627
Labels
area/component/agent
Issues or PRs related to the agent component
good first issue
Good for newcomers
kind/design
Categorizes issue or PR as related to design.
priority/important-soon
Must be staffed and worked on either currently, or very soon, ideally in time for the next release.
proposal
A concrete proposal for adding a feature
Comments
antoninbas
added
proposal
A concrete proposal for adding a feature
kind/design
Categorizes issue or PR as related to design.
area/component/agent
Issues or PRs related to the agent component
priority/important-soon
Must be staffed and worked on either currently, or very soon, ideally in time for the next release.
labels
Apr 18, 2020
This issue is stale because it has been open 180 days with no activity. Remove stale label or comment, or this will be closed in 180 days |
github-actions
bot
added
the
lifecycle/stale
Denotes an issue or PR has remained open with no activity and has become stale.
label
Oct 27, 2020
antoninbas
added
good first issue
Good for newcomers
and removed
lifecycle/stale
Denotes an issue or PR has remained open with no activity and has become stale.
labels
Mar 4, 2021
I can take on this job. |
thanks @hty690 |
hty690
added a commit
to hty690/antrea
that referenced
this issue
Apr 14, 2021
…periodically Add checks to the routeClient. The required routes will be added back if they were deleted unexpectedly. The client also checks if the IP configuration of the gateway is correct. An e2e test is added to verify that the route will be added back correctly. Fixes antrea-io#627
hty690
added a commit
to hty690/antrea
that referenced
this issue
Apr 14, 2021
…periodically Add checks to the routeClient. The required routes will be added back if they were deleted unexpectedly. The client also checks if the IP configuration of the gateway is correct. An e2e test is added to verify that the route will be added back correctly. Fixes antrea-io#627
hty690
added a commit
to hty690/antrea
that referenced
this issue
Apr 14, 2021
…periodically Add checks to the routeClient. The required routes will be added back if they were deleted unexpectedly. The client also checks if the IP configuration of the gateway is correct. An e2e test is added to verify that the route will be added back correctly. Fixes antrea-io#627
hty690
added a commit
to hty690/antrea
that referenced
this issue
Apr 15, 2021
…periodically Add checks to the routeClient. The required routes will be added back if they were deleted unexpectedly. Add IP configuration check of the gateway to the agent. An e2e test is added to verify that the route will be added back correctly. Fixes antrea-io#627
hty690
added a commit
to hty690/antrea
that referenced
this issue
Apr 15, 2021
…periodically Add checks to the routeClient. The required routes will be added back if they were deleted unexpectedly. Add IP configuration check of the gateway to the agent. An e2e test is added to verify that the route will be added back correctly. Fixes antrea-io#627
hty690
added a commit
to hty690/antrea
that referenced
this issue
Apr 21, 2021
…periodically Add checks to the routeClient. The required routes will be added back if they were deleted unexpectedly. Add IP configuration check of the gateway to the agent. An integration test is added to verify that the route will be added back correctly. Fixes antrea-io#627
hty690
added a commit
to hty690/antrea
that referenced
this issue
Apr 22, 2021
…periodically Add checks to the routeClient. The required routes will be added back if they were deleted unexpectedly. Add IP configuration check of the gateway to the agent. An integration test is added to verify that the route will be added back correctly. Fixes antrea-io#627
hty690
added a commit
to hty690/antrea
that referenced
this issue
Apr 22, 2021
…periodically Add checks to the routeClient. The required routes will be added back if they were deleted unexpectedly. Add IP configuration check of the gateway to the agent. An integration test is added to verify that the route will be added back correctly. Fixes antrea-io#627
hty690
added a commit
to hty690/antrea
that referenced
this issue
Apr 26, 2021
…periodically Add checks to the routeClient. The required routes will be added back if they were deleted unexpectedly. Add IP configuration check of the gateway to the agent. An integration test is added to verify that the route will be added back correctly. Fixes antrea-io#627
hty690
added a commit
to hty690/antrea
that referenced
this issue
Apr 26, 2021
…periodically Add checks to the routeClient. The required routes will be added back if they were deleted unexpectedly. Add IP configuration check of the gateway to the agent. An integration test is added to verify that the route will be added back correctly. Fixes antrea-io#627
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
area/component/agent
Issues or PRs related to the agent component
good first issue
Good for newcomers
kind/design
Categorizes issue or PR as related to design.
priority/important-soon
Must be staffed and worked on either currently, or very soon, ideally in time for the next release.
proposal
A concrete proposal for adding a feature
Describe what you are trying to solve
At the moment if a route is deleted manually or by some other process like networkd, the route is never installed again until the agent on that Node restarts. See #626
Describe the solution you have in mind
Other CNIs (e.g. flannel - https://github.com/coreos/flannel/blob/v0.12.0/backend/route_network.go#L159) do periodic checks to ensure all the required routes are present. We should consider doing the same in Antrea.
Describe how your solution impacts user flows
No negative impact on users, it makes Antrea more robust,
Describe the main design/architecture of your solution
A goroutine is added (e.g. in the RouteClient) to sync the in-memory state and realized state.
Test plan
A new e2e test will be added which will remove a route while the agent is running and verify that it is added back in a timely manner.
Additional context
We may also want to periodically verify the IP configuration for gw0 (see #626)?
The text was updated successfully, but these errors were encountered: