feedback
feedback copied to clipboard
[how-to-run-inference-cloud-run-gpu-vllm]: Following the codelab wont lead to a working state (or at least not for me)
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.