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

Don't delete the routes which are added for the peer IPv6 gateways #3336

Merged
merged 1 commit into from
Mar 10, 2022

Conversation

Jexf
Copy link
Member

@Jexf Jexf commented Feb 22, 2022

IPv6 doesn't support "on-link" route, routes to the peer IPv6 gateways need to be added separately. So don't delete such routes.

Fixes: #3369

Signed-off-by: Wu zhengdong [email protected]

@codecov-commenter
Copy link

codecov-commenter commented Feb 22, 2022

Codecov Report

Merging #3336 (979ae97) into main (78e3583) will decrease coverage by 7.66%.
The diff coverage is 50.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #3336      +/-   ##
==========================================
- Coverage   62.00%   54.34%   -7.67%     
==========================================
  Files         266      373     +107     
  Lines       26546    51052   +24506     
==========================================
+ Hits        16460    27742   +11282     
- Misses       8281    20890   +12609     
- Partials     1805     2420     +615     
Flag Coverage Δ
e2e-tests 53.67% <50.00%> (?)
integration-tests 36.28% <ø> (?)
kind-e2e-tests 47.29% <40.00%> (-2.06%) ⬇️
unit-tests 41.98% <ø> (+0.30%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
pkg/agent/route/route_linux.go 30.02% <50.00%> (-16.62%) ⬇️
pkg/agent/cniserver/pod_configuration_linux.go 26.31% <0.00%> (-40.36%) ⬇️
pkg/controller/ipam/antrea_ipam_controller.go 48.71% <0.00%> (-31.57%) ⬇️
pkg/controller/networkpolicy/endpoint_querier.go 61.46% <0.00%> (-29.97%) ⬇️
pkg/controller/egress/controller.go 61.11% <0.00%> (-27.34%) ⬇️
.../registry/networkpolicy/clustergroupmember/rest.go 64.28% <0.00%> (-23.95%) ⬇️
pkg/agent/cniserver/ipam/antrea_ipam_controller.go 55.93% <0.00%> (-23.83%) ⬇️
pkg/agent/cniserver/ipam/antrea_ipam.go 55.55% <0.00%> (-23.62%) ⬇️
pkg/agent/util/ethtool/ethtool_linux.go 46.66% <0.00%> (-23.34%) ⬇️
pkg/controller/ipam/validate.go 57.14% <0.00%> (-22.86%) ⬇️
... and 337 more

@Jexf
Copy link
Member Author

Jexf commented Feb 22, 2022

/test-all

@Jexf
Copy link
Member Author

Jexf commented Feb 22, 2022

/test-ipv6-all
/test-ipv6-only-all

@Jexf
Copy link
Member Author

Jexf commented Feb 25, 2022

/test-all
/test-ipv6-all
/test-ipv6-only-all

Copy link
Member

@tnqn tnqn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @Jexf. LGTM, a minor comment.

pkg/agent/route/route_linux.go Outdated Show resolved Hide resolved
IPv6 doesn't support "on-link" route, routes to the peer IPv6 gateways need
to be added separately. So don't delete such routes.

Signed-off-by: Wu zhengdong <[email protected]>
@Jexf
Copy link
Member Author

Jexf commented Mar 9, 2022

/test-all
/test-ipv6-all
/test-ipv6-only-all

Copy link
Member

@tnqn tnqn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks

@tnqn
Copy link
Member

tnqn commented Mar 9, 2022

/test-integration

@tnqn tnqn added the action/release-note Indicates a PR that should be included in release notes. label Mar 9, 2022
@tnqn tnqn added this to the Antrea v1.6 release milestone Mar 10, 2022
@tnqn
Copy link
Member

tnqn commented Mar 10, 2022

/test-integration

@tnqn
Copy link
Member

tnqn commented Mar 10, 2022

test-integration failure has been fixed in main branch but this commit doesn't rebase on it. Unfortunately the job tests HEAD commit instead of merge commit, so no point to keep retrying.
/skip-integration

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
action/release-note Indicates a PR that should be included in release notes.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Don't delete the routes which are added for the peer IPv6 gateways
3 participants