-
Notifications
You must be signed in to change notification settings - Fork 210
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
gsutil isn't authenticated #404
Comments
Hi there @pvanderlinden 👋! Thank you for opening an issue. Our team will triage this as soon as we can. Please take a moment to review the troubleshooting steps which lists common error messages and their resolution steps. |
Hi @pvanderlinden - I'm not seeing where you're using |
Sorry, apparently I posted the version with the work around: using |
Hi @pvanderlinden, as noted in the README prerequisites, you must use gcloud/gsutil version 390.0.0 or later. We don't control which version of gcloud/gsutil is pre-installed on the GitHub Actions managed runners, and it may be older than the supported version. |
According to the documentation it's uptodate enough. https://github.com/actions/runner-images/blob/main/images/ubuntu/Ubuntu2204-Readme.md#cli-tools I was going to double check, but github has some issues at the moment, and the workflow doesn't run. |
I just double checked. This is the result of running the command in a github actions workflow:
|
You still need |
Isn't this what the "auth" action is supposed to do? It authenticates gcloud utilities (except gsutil/bq apparently)
|
The |
Thanks. This explains the issue. However, the current |
|
Hi @pvanderlinden does that answer your question? |
Sorry @sethvargo I got a bit sidetracked on this issue. It does answer my question. However, I think the behavior is not really clear in the documentation:
|
|
I do understand that after the explanation in this ticket. But as I explained, the docs aren't clear about this, especially by mentioning that bq/gsutil should work with never versions. |
Hi @sethvargo I'm running into the same issue as @pvanderlinden, and i agree the docs aren't clear on how to get |
@Ben-Epstein - can you run |
@sethvargo Here you go
And this is essentially my entire workflow
|
Hmm that's so weird because I'm running the exact same version of |
Hey folks - I heard back to the engineering team, and they confirmed that |
TL;DR
gsutil isn't authenticated even though the docs mention it is possible
Expected behavior
gsutil is authenticated
Observed behavior
I get the error "401 Anonymous caller does not have storage.objects.list access to the Google Cloud Storage bucket."
Action YAML
Log output
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: