Fixes #10815: Warning is logged when v2 xDS is used#10964
Fixes #10815: Warning is logged when v2 xDS is used#10964mattklein123 merged 19 commits intoenvoyproxy:masterfrom dmitri-d:v2-deprecation-warn
Conversation
Signed-off-by: Dmitri Dolguikh <ddolguik@redhat.com>
Signed-off-by: Dmitri Dolguikh <ddolguik@redhat.com>
Signed-off-by: Dmitri Dolguikh <ddolguik@redhat.com>
Signed-off-by: Dmitri Dolguikh <ddolguik@redhat.com>
Signed-off-by: Dmitri Dolguikh <ddolguik@redhat.com>
|
Signed-off-by: Dmitri Dolguikh <ddolguik@redhat.com>
|
ping @yanavlasov |
Signed-off-by: Dmitri Dolguikh <ddolguik@redhat.com>
|
|
ping @yanavlasov |
mattklein123
left a comment
There was a problem hiding this comment.
Thanks one small comment.
/wait
Signed-off-by: Dmitri Dolguikh <ddolguik@redhat.com>
Signed-off-by: Dmitri Dolguikh <ddolguik@redhat.com>
mattklein123
left a comment
There was a problem hiding this comment.
LGTM with small comment, thank you!
/wait
Signed-off-by: Dmitri Dolguikh <ddolguik@redhat.com>
|
Signed-off-by: Dmitri Dolguikh <ddolguik@redhat.com>
mattklein123
left a comment
There was a problem hiding this comment.
Sorry 2 more things. Thank you!
/wait
| "envoy.reloadable_features.strict_authority_validation", | ||
| "envoy.reloadable_features.reject_unsupported_transfer_encodings", | ||
| // Begin alphabetically sorted section. | ||
| "envoy.api.enable_deprecated_warning", |
There was a problem hiding this comment.
Sorry I should have commented on this before but 2 things:
- I think the name of this should be a bit more specific to what it is guarding.
- This needs a release note.
There was a problem hiding this comment.
I think the name of this should be a bit more specific to what it is guarding.
Any suggestions? The current name was suggested by @htuch...
There was a problem hiding this comment.
envoy.api.enable_deprecated_v2_api_warning ?
Signed-off-by: Dmitri Dolguikh <ddolguik@redhat.com>
Signed-off-by: Dmitri Dolguikh <ddolguik@redhat.com>
|
Signed-off-by: Dmitri Dolguikh <ddolguik@redhat.com>
|
Signed-off-by: Dmitri Dolguikh <ddolguik@redhat.com>
|
|
Build failure on MacOS is due to a test (//test/integration:http2_integration_test) timeout. Ping @mattklein123. |
|
mattklein123
left a comment
There was a problem hiding this comment.
LGTM without errant change.
/wait
Signed-off-by: Dmitri Dolguikh <ddolguik@redhat.com>
Signed-off-by: Dmitri Dolguikh <ddolguik@redhat.com>
|
The earlier PR envoyproxy#10964 added in validation that we're not using v2 xDS transport, but we didn't have any warning on v2 bootstraps, v2 extension configs inside a v3 config and also for v2 resource types. This PR adds support for these validations by warning and incrementing the deprecated feature use stat. The following notifications are added: * Rate limited warning log * Trace-level log * The runtime.deprecated_features is bumped, but only after server initialization, so this doesn't apply to bootstrap. This is consistent with how other deprecated features are treated today. Risk level: Medium (it's possible that this will cause monitoring to alert, the boosting logic is also quite complex). Testing: Unit tests and server bootstrap tests added. Fixes envoyproxy#10815 Signed-off-by: Harvey Tuch <htuch@google.com>
The earlier PR #10964 added in validation that we're not using v2 xDS transport, but we didn't have any warning on v2 bootstraps, v2 extension configs inside a v3 config and also for v2 resource types. This PR adds support for these validations by warning and incrementing the deprecated feature use stat. The following notifications are added: - Rate limited warning log - Trace-level log - The runtime.deprecated_features is bumped, but only after server initialization, so this doesn't apply to bootstrap. This is consistent with how other deprecated features are treated today. Risk level: Medium (it's possible that this will cause monitoring to alert, the boosting logic is also quite complex). Testing: Unit tests and server bootstrap tests added. Fixes #10815 Signed-off-by: Harvey Tuch <htuch@google.com>
Signed-off-by: Dmitri Dolguikh ddolguik@redhat.com
Commit Message: Warning is logged when v2 xDS is used
Additional Description: Fixes #10815
Risk Level: low
Testing:
Docs Changes:
Release Notes:
[Optional Fixes #Issue]
[Optional Deprecated:]