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

Some deprecated configs dont seem to be caught in config validation #13542

Closed
phlax opened this issue Oct 13, 2020 · 4 comments
Closed

Some deprecated configs dont seem to be caught in config validation #13542

phlax opened this issue Oct 13, 2020 · 4 comments
Assignees
Labels
area/configuration bug no stalebot Disables stalebot from closing an issue

Comments

@phlax
Copy link
Member

phlax commented Oct 13, 2020

description

The config_validation part of CI checks configs in docs + examples to ensure that they are not using deprecated features

Some features seem to pass CI even tho they should be updated. The relevant configs trigger warnings when Envoy is run (in verify examples eg)

refs

@phlax phlax added bug triage Issue requires triage labels Oct 13, 2020
@htuch htuch self-assigned this Oct 13, 2020
@htuch htuch removed the triage Issue requires triage label Oct 13, 2020
@mattklein123
Copy link
Member

See comments here: #13503 (comment)

@mattklein123 mattklein123 added area/configuration no stalebot Disables stalebot from closing an issue labels Oct 13, 2020
@mattklein123 mattklein123 added this to the 1.17.0 milestone Oct 13, 2020
@mattklein123 mattklein123 modified the milestones: 1.17.0, 1.18.0 Jan 7, 2021
@htuch
Copy link
Member

htuch commented Jan 11, 2021

@phlax do you have an example repro for this? Happy to dive into this one.

@phlax
Copy link
Member Author

phlax commented Jan 13, 2021

@htuch looking through current CI it seems like there are no deprecation warnings any more, so im not quite sure exactly what the issue was here.

tracking back through, i think this ticket was created from this comment #13503 (review) - so i guess the issues fixed there would be the repro

@htuch
Copy link
Member

htuch commented Jan 18, 2021

I verified that switching back to v2 HCM in examples/cors/backend/front-envoy.yaml generates a test failures with:

Failed
'' config failed. Error: 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 Q4 2020 by following the advice in https://www.envoyproxy.io/docs/envoy/latest/faq/api/transition. (envoy.config.filter.network.http_connection_manager.v2.HttpConnectionManager)

I'm pretty sure the set of PRs that made v2 fatal-by-default has taken care of catching these v2 cases in config validation.

@htuch htuch closed this as completed Jan 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/configuration bug no stalebot Disables stalebot from closing an issue
Projects
None yet
Development

No branches or pull requests

3 participants