I am deploying a simple golang demo project in GCP.
I have already enabled App Engine Admin and Compute Instance Admin. app.yaml:
runtime: go116
After I ran gcloud app deploy
, error shows:
RROR: (gcloud.app.deploy) Error Response: [13] Failed to create cloud build: invalid bucket "xxxxx.cloudbuild-logs.googleusercontent.com"; builder service account does not have access to the bucket
com.google.net.rpc3.client.RpcClientException: <eye3 title='/ArgoAdminV1.CreateBuild, INVALID_ARGUMENT'/> APPLICATION_ERROR;google.devtools.cloudbuild.v1/ArgoAdminV1.CreateBuild;invalid bucket "803210166573.cloudbuild-logs.googleusercontent.com"; builder service account does not have access to the bucket;AppErrorCode=3;StartTimeMs=1639637376387;unknown;ResFormat=AUTOMATIC;ServerTimeSec=1.026818102;LogBytes=256;Non-FailFast;EndUserCredsRequested;EffSecLevel=none;ReqFormat=AUTOMATIC;ReqID=7d291fd45204c21b;GlobalID=0;Server=[2002:a17:512:234c:b0:42e:8669:5870]:4001.
How could I fix this error?
I managed to get this working by re-authenticating gcloud auth login
.
Odd, as it was working fine with a different project, but maybe that will fix it for you.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.