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

[how-to-run-inference-cloud-run-gpu-vllm]: Following the codelab wont lead to a working state (or at least not for me) #1458

Open
BastianBN opened this issue Jan 22, 2025 · 0 comments

Comments

@BastianBN
Copy link

BastianBN commented Jan 22, 2025

Followed the whole codelab until the build command and it didn't work. Here is the error :

ERROR: build step 0 "gcr.io/cloud-builders/docker" failed: failed to access secret version for secret projects/123412341234/secrets/HF_TOKEN/versions/latest: rpc error: code = PermissionDenied desc = Permission 'secretmanager.versions.access' denied for resource 'projects/123412341234/secrets/HF_TOKEN/versions/latest' (or it may not exist).
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

BUILD FAILURE: Build step failure: build step 0 "gcr.io/cloud-builders/docker" failed: failed to access secret version for secret projects/123412341234/secrets/HF_TOKEN/versions/latest: rpc error: code = PermissionDenied desc = Permission 'secretmanager.versions.access' denied for resource 'projects/<PROJECT_NUMBER>/secrets/HF_TOKEN/versions/latest' (or it may not exist).
ERROR: (gcloud.builds.submit) build eb99dde9-bf11-49d0-b30a-1d79af3e73c1 completed with status "FAILURE"

I have no idea why this error happens. I followed rigorously all the steps and triple checked my variables and my service account IAM configuration.
I also think that PROJECT_ID variables in cloudbuild.yaml should be PROJECT_NUMBER variables, as the path to the secret on the corresponding "versions" page is projects/123412341234/secrets/HF_TOKEN

I also tried to change version/latest for version/1 just to see but this still didn't work.

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

No branches or pull requests

1 participant