-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Various configs use http2_protocol_options deprecated field #15559
Comments
I identified the following configs:
|
@davinci26 what is the default ? im wondering if we can just remove them - the newer way seems complicated to just set an empty |
cc @alyssawilk ^. How did this pass CI in the first place? I thought we force fixing all deprecated configs? |
setting http2 protocol options in the cluster config is deprecated If you take a look at the config you pasted it's using the new way of doing things
Sorry the name overlap is confusing! |
I probably got confused somewhere when I was reading the
|
hm, yeah, that's way definitely concerning. bazel test --define deprecated_features=disabled //test/config_test:example_configs_test should be failing for bad configs and I checked that file is definitely run by the test. |
I think that this test is loading the configs as v2 in some cases but I don't understand why. I observed that in #15461 which adds a new property in
|
i hit this before it loads as v2 and then tries to upgrade iirc #13817 |
That would explain what I am seeing. The configs above can be loaded as v2 and in v2 the features are not deprecated so no update takes place and the test passes. When I add a new property that is forced to load it as v3 and then I see:
|
Does this get solved when we remove v2 in a few weeks? Losing testing of config migration will be a huge pain for maintainers. cc @adisuissa |
IIRC this will be solved when we lose v2, because the config will still be tested but there will be no fallback, so I think as long as we fail on deprecated fields we are OK? cc @htuch |
Based on what I have observed, when v2 is deleted configs with deprecated properties will fail |
Might make the v2 removal more arduous if our "fail on deprecated config" tests are now "upgrade or fail" but I guess that's on whoever does the v2 removal. Has anyone signed on for that? |
With my PR here #15461, I have added in all the configs a property that is v3 only and as part of this process I saw the config tests failing. I have implicitly forced the configs to load as v3 with the PR above and I removed the deprecated property on #15563. I am not sure if there will be more configs failing due to the above. |
For sure it'll help to have the example configs cleaned up - thanks for tackling those :-) |
I'm going to coordinate and oversee the v2 removal, I don't anticipate writing every PR. Can you elaborate on what the pain point here is? The current plan is to incrementally remove v2 features and their deprecated tests, we have support for existing v2 deprecated tests with an internal-only runtime flag. |
The problem is that somewhere along the line the v2 conversation code started compensating for the CI flags which verified we removed deprecated fields, so we lost CI verification that when folks deprecated fields, they migrated test and example config over to the new. |
Ack, yes, I think this is the case. Another item for #10943 |
I think this is fixed so we can just assume v2 deletion will improve the overall situation. |
Various configs use (see
front-envoy-*.yaml
and others):http2_protocol_options: {}
which is deprecated instead ofThe text was updated successfully, but these errors were encountered: