GoogleCloudPlatform / app-maven-plugin

The library has moved to https://github.com/GoogleCloudPlatform/appengine-plugins/tree/main/app-maven-plugin
Apache License 2.0
102 stars 42 forks source link

I cannot deploy new version of application to GAE #392

Closed b3lowster closed 5 years ago

b3lowster commented 5 years ago

Hello I need help I'm using appengine-maven-plugin version 1.3.2 Today I've tried to deploy a new version of my application but all attempts we failed :( I've got this an error

[INFO] GCLOUD: MaxRetrialsException: last_result=(None, (<class 'googlecloudsdk.calliope.exceptions.BadFileException'>, BadFileException(u'Could not copy [/home/user/project_app/git/app/appapi/target/appengine-staging/WEB-INF/classes/com/app/springservice/service/Save.class] to [23ebe27******52627]. Please retry: HTTPError 403: myadress@gmail.com does not have storage.objects.create access to staging.app-production-golive.appspot.com/23ebe27*****52627.',), <traceback object at 0x7f977425e320>)), last_retrial=3, time_passed_ms=1355,time_to_wait=0

I've updated gcloud cli, I've updated plugin version to 2.0.0 But any way I get the following error

[INFO] GCLOUD: MaxRetrialsException: last_result=(None, (<class 'googlecloudsdk.api_lib.storage.storage_api.UploadError'>, UploadError(u'403 Could not upload file [/home/iser/project_app/git/app/appapi/target/appengine-staging/WEB-INF/classes/com/app/springservice/service/Save.class] to [staging.app-production-golive.appspot.com/fe92e*****da6]: myadress@gmail.com does not have storage.objects.create access to staging.app-production-golive.appspot.com/fe92e*****da6.',), <traceback object at 0x7f8b9836d5a8>)), last_retrial=3, time_passed_ms=1334,time_to_wait=0

Last successful deploy was in May

loosebazooka commented 5 years ago

Hrmm... let me ask somesone on the gcloud cli team. @vilasj any idea who would know?

loosebazooka commented 5 years ago

Might be worth looking at the bucket details in google cloud console?

See if the permissions tab has any useful information?

loosebazooka commented 5 years ago

@sixolet any ideas?

b3lowster commented 5 years ago

@loosebazooka Is it something new? I haven't noticed before that my files have to go to some bucket before deploying

chanseokoh commented 5 years ago

No, it has been this way for many years.

b3lowster commented 5 years ago

Thank you guys. The issue is solved :)