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 GCS Auth Issues #554

Merged
merged 5 commits into from
Feb 24, 2021
Merged

Fix GCS Auth Issues #554

merged 5 commits into from
Feb 24, 2021

Conversation

joe-elliott
Copy link
Member

@joe-elliott joe-elliott commented Feb 24, 2021

What this PR does:
Fixes an issue brought to us by several members of the community. On startup the following error was thrown:

 caller=main.go:92 msg="error running Tempo" err="failed to init module services error initialising module: store: failed to create store getting bucket attrs: Get \"https://storage.googleapis.com/storage/v1/b/<Bucket name is here but removed it >?alt=json&prettyPrint=false&projection=full\": oauth2: cannot fetch token: 400 Bad Request\nResponse: {\"error\":\"invalid_scope\",\"error_description\":\"Invalid OAuth scope or ID token audience provided.\"}"

Upon inspection we we were creating our client differently than Cortex/Loki. This change fixes the issue as confirmed by @Whyeasy. Thank you for all the help.

Which issue(s) this PR fixes:
Fixes #

Checklist

  • Tests updated
  • Documentation added
  • CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX]

Signed-off-by: Joe Elliott <number101010@gmail.com>
Signed-off-by: Joe Elliott <number101010@gmail.com>
Signed-off-by: Joe Elliott <number101010@gmail.com>
@joe-elliott joe-elliott merged commit 618654d into grafana:master Feb 24, 2021
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