Skip to content

revert from using grpc.NewClient to grpc.Dial#46006

Merged
GavinFrazar merged 1 commit intomasterfrom
gavinfrazar/revert-to-grpc-dial
Aug 29, 2024
Merged

revert from using grpc.NewClient to grpc.Dial#46006
GavinFrazar merged 1 commit intomasterfrom
gavinfrazar/revert-to-grpc-dial

Conversation

@GavinFrazar
Copy link
Copy Markdown
Contributor

Changelog: fixed a bug where Teleport services could not join the cluster using iam, azure, or tpm methods when the proxy service certificate did not contain IP SANs.

This PR reverts the change from grpc.Dial to grpc.NewClient in #44324

grpc.Dial is being deprecated in favor of grpc.NewClient, but there's an issue where grpc.NewClient resolves the proxy address to an IP and then fails to verify the proxy cert if it does not contain the IP SAN: grpc/grpc-go#7556

@GavinFrazar GavinFrazar added aws Used for AWS Related Issues. azure backport/branch/v15 labels Aug 29, 2024
@github-actions github-actions Bot requested review from smallinsky and vapopov August 29, 2024 06:07
@public-teleport-github-review-bot public-teleport-github-review-bot Bot removed the request for review from vapopov August 29, 2024 06:37
@GavinFrazar GavinFrazar added this pull request to the merge queue Aug 29, 2024
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Aug 29, 2024
@GavinFrazar GavinFrazar added this pull request to the merge queue Aug 29, 2024
Merged via the queue into master with commit 4e63c28 Aug 29, 2024
@GavinFrazar GavinFrazar deleted the gavinfrazar/revert-to-grpc-dial branch August 29, 2024 07:11
@public-teleport-github-review-bot
Copy link
Copy Markdown

@GavinFrazar See the table below for backport results.

Branch Result
branch/v15 Create PR
branch/v16 Create PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

aws Used for AWS Related Issues. azure size/sm

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants