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

Set default tunnel type to geneve #903

Merged

Conversation

antoninbas
Copy link
Contributor

@antoninbas antoninbas commented Jul 2, 2020

Set default tunnel type to Geneve

Set default tunnel type to Geneve for Antrea instead of VXLAN.
When running NetworkPolicy tests in Kind, we "force" the tunnel type to
VXLAN as we observe some failures with Geneve (see #897).

We also change the Github CI jobs so that CNP tests are run in their own
job. This is to address the issue above, and is also a partial
implementation of #893.

@antrea-bot
Copy link
Collaborator

Thanks for your PR.
Unit tests and code linters are run automatically every time the PR is updated.
E2e, conformance and network policy tests can only be triggered by a member of the vmware-tanzu organization. Regular contributors to the project should join the org.

The following commands are available:

  • /test-e2e: to trigger e2e tests.
  • /skip-e2e: to skip e2e tests.
  • /test-conformance: to trigger conformance tests.
  • /skip-conformance: to skip conformance tests.
  • /test-whole-conformance: to trigger all conformance tests on linux.
  • /skip-whole-conformance: to skip all conformance tests on linux.
  • /test-networkpolicy: to trigger networkpolicy tests.
  • /skip-networkpolicy: to skip networkpolicy tests.
  • /test-windows-conformance: to trigger windows conformance tests.
  • /skip-windows-conformance: to skip windows conformance tests.
  • /test-all: to trigger all tests (except whole conformance).
  • /skip-all: to skip all tests (except whole conformance).

These commands can only be run by members of the vmware-tanzu organization.

manifest_args=""
if $proxy; then
# See https://github.com/vmware-tanzu/antrea/issues/897
manifest_args="$manifest_args --proxy --tun vxlan"
Copy link
Contributor

Choose a reason for hiding this comment

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

These should be for np, not proxy?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

correct, fixed

@antoninbas antoninbas force-pushed the set-default-tunnel-type-to-geneve branch 2 times, most recently from 5150e60 to 975ed2e Compare July 2, 2020 23:28
jianjuns
jianjuns previously approved these changes Jul 2, 2020
abhiraut
abhiraut previously approved these changes Jul 2, 2020
@abhiraut
Copy link
Contributor

abhiraut commented Jul 2, 2020

/test-all

@antoninbas antoninbas dismissed stale reviews from abhiraut and jianjuns via 3ce3de7 July 2, 2020 23:42
@antoninbas antoninbas force-pushed the set-default-tunnel-type-to-geneve branch 2 times, most recently from 3ce3de7 to f9c9db2 Compare July 3, 2020 00:13
@antoninbas
Copy link
Contributor Author

/test-all

@antoninbas antoninbas force-pushed the set-default-tunnel-type-to-geneve branch from f9c9db2 to 5f3f709 Compare July 3, 2020 01:07
@antoninbas
Copy link
Contributor Author

/test-all

@antoninbas antoninbas force-pushed the set-default-tunnel-type-to-geneve branch from 5f3f709 to 7dc1674 Compare July 3, 2020 01:44
tnqn
tnqn previously approved these changes Jul 3, 2020
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

@antoninbas
Copy link
Contributor Author

/test-all

@tnqn
Copy link
Member

tnqn commented Jul 3, 2020

/test-windows-conformance

1 similar comment
@antoninbas
Copy link
Contributor Author

/test-windows-conformance

When running NetworkPolicy tests in Kind, we "force" the tunnel type to
VXLAN as we observe some failures with Geneve (see antrea-io#897).

We also change the Github CI jobs so that CNP tests are run in their own
job. This is to address the issue above, and is also a partial
implementation of antrea-io#893.
@antoninbas antoninbas force-pushed the set-default-tunnel-type-to-geneve branch from d2ce384 to e488a9e Compare July 3, 2020 03:31
The patch for security CRDs was incorrect. It seems the behavior for
patching ClusterRole rules is "replace" and not "merge".
@antoninbas
Copy link
Contributor Author

/test-all

@antoninbas
Copy link
Contributor Author

Traceflow test failed in jenkins-e2e but it seems unrelated (#906 (comment)), so merging as is

@antoninbas antoninbas merged commit 27edb80 into antrea-io:master Jul 3, 2020
@antoninbas antoninbas deleted the set-default-tunnel-type-to-geneve branch July 3, 2020 04:31
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.

6 participants