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

Fix subscription ID of armRPPrivateLinkServices client #3902

Merged
merged 1 commit into from
Oct 14, 2024

Conversation

bitoku
Copy link
Collaborator

@bitoku bitoku commented Oct 14, 2024

Which issue this PR addresses:

Fixes N/A

What this PR does / why we need it:

This PR fixes InvalidAuthenticationTokenTenant in Prod.

The old client used _env.SubscriptionID() (see L262 and L264 on the left pane in https://github.com/Azure/ARO-RP/pull/3616/files#diff-f4933755bd63c9e160a2068e8ccb4048e8df1b43f7f4544dcbc7ae2650a07478), but the new client uses r.SubscriptionID, which caused the subscription mismatch and caused the InvalidAuthenticationTokenTenant error.
This PR fixes the subscription for armRPPrivateLinkServices and armFPPrivateEndpoints.

Test plan for issue:

e2e, e2e in prod

Is there any documentation that needs to be updated for this PR?

N/A

How do you know this will function as expected in production?

Cluster creation in prod

@bitoku
Copy link
Collaborator Author

bitoku commented Oct 14, 2024

/azp run

Copy link

Azure Pipelines successfully started running 2 pipeline(s).

Copy link
Collaborator

@UlrichSchlueter UlrichSchlueter left a comment

Choose a reason for hiding this comment

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

LGTM

@UlrichSchlueter UlrichSchlueter merged commit 0e0667e into master Oct 14, 2024
20 checks passed
slawande2 pushed a commit that referenced this pull request Oct 15, 2024
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.

2 participants