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

c-ares gRPC library: fix a bug impacting gRPC's use of c-ares #35487

Merged
merged 3 commits into from
Jul 30, 2024

Conversation

adisuissa
Copy link
Contributor

Commit Message: c-ares gRPC library: fix a bug impacting gRPC's use of c-ares
Additional Description:
When a GoogleGrpc service is configured with a domain name and using C-Ares as a resolver results in an immediate disconnect.
The fix (c-ares/c-ares@a070d78) is being imported as a patch until c-ares can be upgraded.

Risk Level: low
Testing: N/A
Docs Changes: N/A
Release Notes: Added
Platform Specific Features: N/A

Signed-off-by: Adi Suissa-Peleg <adip@google.com>
Signed-off-by: Adi Suissa-Peleg <adip@google.com>
Copy link

As a reminder, PRs marked as draft will not be automatically assigned reviewers,
or be handled by maintainer-oncall triage.

Please mark your PR as ready when you want it to be reviewed!

🐱

Caused by: #35487 was opened by adisuissa.

see: more, trace.

@repokitteh-read-only repokitteh-read-only bot added the deps Approval required for changes to Envoy's external dependencies label Jul 30, 2024
Copy link

CC @envoyproxy/dependency-shepherds: Your approval is needed for changes made to (bazel/.*repos.*\.bzl)|(bazel/dependency_imports\.bzl)|(api/bazel/.*\.bzl)|(.*/requirements\.txt)|(.*\.patch).
envoyproxy/dependency-shepherds assignee is @moderation

🐱

Caused by: #35487 was opened by adisuissa.

see: more, trace.

@adisuissa
Copy link
Contributor Author

/retest

@adisuissa adisuissa marked this pull request as ready for review July 30, 2024 13:00
Signed-off-by: Adi Suissa-Peleg <adip@google.com>
Copy link
Member

@botengyao botengyao left a comment

Choose a reason for hiding this comment

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

Thanks @adisuissa! This LGTM.

I am wondering if we can upgrade c-ares to 1.21.0 that includes this fix.

@adisuissa
Copy link
Contributor Author

Thanks @adisuissa! This LGTM.

I am wondering if we can upgrade c-ares to 1.21.0 that includes this fix.

It may be, but seeing that later versions were broken, I think it might be better to solve the current issue, and later upgrade to a new version of c-ares.

@adisuissa
Copy link
Contributor Author

/assign @phlax

Context: users of Envoy v1.31 experienced an issue using a GoogleGrpc service, when the gRPC service needed to resolve a domain name. We tracked it down to a bug in C-Ares that was fixed in this PR.
We decided on cherrypicking this to avoid any complications in upgrading C-Ares to a new version.
After this is merged we will backport the fix to version 1.31.

Copy link
Member

@phlax phlax 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 @adisuissa

@repokitteh-read-only repokitteh-read-only bot removed the deps Approval required for changes to Envoy's external dependencies label Jul 30, 2024
@adisuissa adisuissa merged commit 3f6a8c0 into envoyproxy:main Jul 30, 2024
51 checks passed
adisuissa added a commit to adisuissa/envoy that referenced this pull request Jul 30, 2024
…es (envoyproxy#35487)

Signed-off-by: Adi Suissa-Peleg <adip@google.com>
phlax pushed a commit that referenced this pull request Jul 31, 2024
#35511)


Signed-off-by: Adi Suissa-Peleg <adip@google.com>
martinduke pushed a commit to martinduke/envoy that referenced this pull request Aug 8, 2024
…roxy#35487)

Signed-off-by: Adi Suissa-Peleg <adip@google.com>
Signed-off-by: Martin Duke <martin.h.duke@gmail.com>
asingh-g pushed a commit to asingh-g/envoy that referenced this pull request Aug 20, 2024
…roxy#35487)

Signed-off-by: Adi Suissa-Peleg <adip@google.com>
Signed-off-by: asingh-g <abhisinghx@google.com>
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.

4 participants