I can see you have a permission denied error for your storage bucket. 

I would recommend creating a new bucket or modifying the existing bucket to 
ensure that both your App Engine and Cloud Build service accounts have 
Storage Admin permissions to be able to write and read to the bucket and 
use both the --bucket and --no-cache flags on your gcloud app deploy 
command. 

On Wednesday, March 3, 2021 at 11:17:25 AM UTC-5 te...@sameeksha.capital 
wrote:

> Hello,
> I have been trying to deploy a new version also, and I also tried to 
> deploy the same version, But it was saying like *Error Response: [9] 
> Cloud build,*
>
> Then I checked my log and can not find something more informative why this 
> is happening?
>  
> I can find in the log message like this : *Already have image (with 
> digest): 
> asia.gcr.io/gae-runtimes/buildpacks/python37/builder:python37_20210208_3_7_9_RC00
>  
> <http://asia.gcr.io/gae-runtimes/buildpacks/python37/builder:python37_20210208_3_7_9_RC00>*
>
> and in step 4 analyzer I can see something like 
>
> *[31;1mERROR: [0mfailed to initialize cache: failed to create image cache: 
> accessing cache image 
> "asia.gcr.io/{project_name}/app-engine-tmp/build-cache/ttl-7d/default/buildpack-cache:ba7aa57d-5535-4db5-b063-89a23ff21ef3
>  
> <http://asia.gcr.io/%7Bproject_name%7D/app-engine-tmp/build-cache/ttl-7d/default/buildpack-cache:ba7aa57d-5535-4db5-b063-89a23ff21ef3>":
>  
> connect to repo store 
> 'asia.gcr.io/{bucket_name}/app-engine-tmp/build-cache/ttl-7d/default/buildpack-cache:ba7aa57d-5535-4db5-b063-89a23ff21ef3
>  
> <http://asia.gcr.io/%7Bbucket_name%7D/app-engine-tmp/build-cache/ttl-7d/default/buildpack-cache:ba7aa57d-5535-4db5-b063-89a23ff21ef3>':
>  
> GET 
> https://asia.gcr.io/v2/{bucket_name}/app-engine-tmp/build-cache/ttl-7d/default/buildpack-cache/manifests/ba7aa57d-5535-4db5-b063-89a23ff21ef3
>  
> <https://asia.gcr.io/v2/%7Bbucket_name%7D/app-engine-tmp/build-cache/ttl-7d/default/buildpack-cache/manifests/ba7aa57d-5535-4db5-b063-89a23ff21ef3>:
>  
> DENIED: Permission denied for "ba7aa57d-5535-4db5-b063-89a23ff21ef3" from 
> request 
> "/v2/{bucket_name}/app-engine-tmp/build-cache/ttl-7d/default/buildpack-cache/manifests/ba7aa57d-5535-4db5-b063-89a23ff21ef3".*
>  
>
> Please, Help me to get through.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/57b6e964-54e0-44f3-908a-6208a569e0e0n%40googlegroups.com.

Reply via email to