Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Xds API v2 deprecation

Open
#154 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Refactor
Clarity
Mostly clear
Activity status
Stale
Tech stack
grpc, java
Domain
api, testing

Research direction

Locate the Envoy container configuration used by the integration tests and inspect the tests and code that still use the v2 xDS API. Run the integration test suite to reproduce the deprecation errors; done means the tests no longer fail because v2 is disabled and the remaining v2 usage has been removed or updated.

Written by the indexing model from the issue text.

Description

Xds api v2 has been "softly" deprecated in latest Envoy release. Our integration tests fail with errors like:

gRPC config for type.googleapis.com/envoy.api.v2.Listener rejected: The v2 xDS major version is deprecated and disabled by default. Support for v2 will be removed from Envoy at the start of Q1 2021. You may make use of v2 in Q3 2020 by setting '--bootstrap-version 2' on the CLI for a v2 bootstrap file and also enabling the runtime envoy.reloadable_features.enable_deprecated_v2_api flag. (envoy.api.v2.Listener)
[tc-okhttp-stream-439430225] INFO 🐳 [envoyproxy/envoy-alpine-dev:latest] - STDERR: 

Short term fix would be to add -bootstrap-version 2 to Envoy container used in tests, long term to get rid of all v2 tests/code. This blocks all incoming PRs.

Dominant language
Java
Stars
312
Forks
150
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from envoyproxy/java-control-plane

All issues in envoyproxy/java-control-plane

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.