-
Notifications
You must be signed in to change notification settings - Fork 115
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
FAILED_PRECONDITION - quota restrictions #480
Comments
Hi @eggsy84 - as the error message says, you've exhausted your quota. You can contact Google Cloud support to request a quota increase. We only support the GitHub Action for deploying to Cloud Run. You must work with the Google Cloud support organization for quota issues. |
Hi @sethvargo Thanks for reviewing and coming back to me. In terms of the quota, would it be right that the exact same authentication and gcloud run deploy commands work manually if I use them on my terminal? I would have thought that the quota would also be thrown as an error there if it was truly a quota issue? Are there some other quotas that the action is using because all my cloud run quotas seem to be ok (above 0) |
Possibly related to a GCP CLI bug @sethvargo https://www.googlecloudcommunity.com/gc/Serverless/Cloud-Run-failing-to-deploy/m-p/685672 |
@sethvargo Have found that if you pin the GCP CLI version then the GitHub actions work successfully so I think this might be a bug with the upstream CLI tool rather than this particular GitHub action Reference material Pinning CLI version
|
Hi @eggsy84 - thanks for the feedback. Are you able to confirm the specific version where this breaks? Does 455 work but 456 does not? Here's a list of all the versions: https://cloud.google.com/sdk/docs/release-notes |
Hey @sethvargo just had a play - I tested with the version after 455.0.0, version 456.0.0, and it failed
resulted in
So would assume that versions post 455 break as well? |
Hi @eggsy84 - the team identified the cause of this bug and is working on a fix to be included in the next release of gcloud. |
TL;DR
Experiencing the following error when authenticating with a JSON service account
I've tried manually from my terminal via executing
Followed by:
Running directly in terminal it seems to be submitting the build fine.
I've checked all my quotas and everything looks ok so the error seems to be incorrect.
Wondering if I'm missing something?
Expected behavior
Expect gcloud build to be submitted successfully for cloud run
Observed behavior
ERROR: (gcloud.run.deploy) FAILED_PRECONDITION: failed precondition: due to quota restrictions, cannot run builds in this region. Please contact support
Action YAML
Log output
Additional information
No response
The text was updated successfully, but these errors were encountered: