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

ecds: hook UDP session filters with config provider #35713

Merged
merged 4 commits into from
Aug 26, 2024

Conversation

ohadvano
Copy link
Contributor

Additional Description: Adding a new ConfigProviderManager for UDP session filters with tests. Consuming this provider for static filters. This PR does not add dynamic filters yet, will be done in next PR.
Risk Level: low
Testing: unit tests
Docs Changes: none
Release Notes: none
Platform Specific Features: none

@ohadvano ohadvano changed the title ecds: hook UDP sessio filters with config provider ecds: hook UDP session filters with config provider Aug 15, 2024
@ohadvano
Copy link
Contributor Author

ohadvano commented Aug 15, 2024

@RyanTheOptimist could you please take this one, as you reviewed the previous?

@adisuissa
Copy link
Contributor

Assigning Ryan, but please let me know if there's someone else that you wish to review this.
/assign @RyanTheOptimist

@RyanTheOptimist
Copy link
Contributor

/assign @htuch
Harvey, you're a lot more familiar with xDS than I am. Can you review this?

@adisuissa
Copy link
Contributor

/assign @htuch Harvey, you're a lot more familiar with xDS than I am. Can you review this?

I should probably review it, and pass it to Kuat later.
Unassigning Harvey for now.

@adisuissa adisuissa assigned adisuissa and unassigned htuch and RyanTheOptimist Aug 15, 2024
adisuissa
adisuissa previously approved these changes Aug 16, 2024
Copy link
Contributor

@adisuissa adisuissa left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

/assign-from @envoyproxy/senior-maintainers

Copy link

@envoyproxy/senior-maintainers assignee is @wbpcode

🐱

Caused by: a #35713 (review) was submitted by @adisuissa.

see: more, trace.

@adisuissa
Copy link
Contributor

Also assigning Kuat who has lots of experience.
/assign @kyessenov

Signed-off-by: Ohad Vano <[email protected]>
kyessenov
kyessenov previously approved these changes Aug 19, 2024
@adisuissa
Copy link
Contributor

Seems that coverage needs to be improved.
See https://storage.googleapis.com/envoy-pr/02302c0/coverage/source/extensions/filters/udp/udp_proxy/index.html

Also adding @htuch for senior-maintainer stamp instead of @wbpcode who is OOO.
/assign @htuch

Signed-off-by: Ohad Vano <[email protected]>
@ohadvano
Copy link
Contributor Author

@kyessenov I removed the log line I added for two reasons:

  1. Coverage is reduced below minimum, and I'm not sure if this scenario is reproducible in test (see 2nd reason).
  2. Not sure if we would ever get there. For static filters - the filter factory validates the protobuf message, so if the config is missing, an exception will be thrown at bootstrap. On dynamic updates (not functional yet), xDS will also throw an exception if config update is invalid (factory will also try to instantiate the filter and fail)

@ohadvano
Copy link
Contributor Author

@adisuissa did you mean to assign @htuch?
No senior maintainer is currently assigned

@adisuissa
Copy link
Contributor

@adisuissa did you mean to assign @htuch? No senior maintainer is currently assigned

Nope.. race between repokitteh and github's UI. sorry.

@kyessenov
Copy link
Contributor

@kyessenov I removed the log line I added for two reasons:

  1. Coverage is reduced below minimum, and I'm not sure if this scenario is reproducible in test (see 2nd reason).
  2. Not sure if we would ever get there. For static filters - the filter factory validates the protobuf message, so if the config is missing, an exception will be thrown at bootstrap. On dynamic updates (not functional yet), xDS will also throw an exception if config update is invalid (factory will also try to instantiate the filter and fail)

This path used when ECDS fails to push config and the parent LDS was not configured to warm on ECDS. I think we have to handle this case, but I'm OK waiting till the final integration.

@ohadvano
Copy link
Contributor Author

ohadvano commented Aug 21, 2024

I see, makes sense. I'll add it back in the dynamic configs PR with test that would be able to cover it using ECDS

@ohadvano
Copy link
Contributor Author

Harvey, thanks for all your dedication, contribution and guidance it's very much appreciated.
Will unassign due to you moving to emeritus maintainer.

/unassign @htuch
/assign-from @envoyproxy/senior-maintainers

@repokitteh-read-only repokitteh-read-only bot assigned yanavlasov and unassigned htuch Aug 25, 2024
Copy link

@envoyproxy/senior-maintainers assignee is @yanavlasov

🐱

Caused by: a #35713 (comment) was created by @ohadvano.

see: more, trace.

@yanavlasov yanavlasov merged commit df8705b into envoyproxy:main Aug 26, 2024
48 checks passed
@ohadvano ohadvano deleted the ecds_udp_session branch August 26, 2024 15:55
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.

7 participants