venf2k / google-cloud-sdk

Automatically exported from code.google.com/p/google-cloud-sdk
0 stars 0 forks source link

Crash on deploy #745

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Issue running command [gcloud preview app deploy].

What steps will reproduce the problem?
I ran "gcloud preview app deploy app.yaml --version 1 --project mjappromo"

What is the expected output? What do you see instead?
Deployed app... but instead I saw:
Beginning deployment...
ERROR: gcloud crashed (MaxRetrialsException): last_result=(None, (<class 
'googlecloudsdk.calliope.exceptions.BadFileException'>, 
BadFileException('[/Users/jonny/gcloudrepos_mjgarage/mjappromo/default/source-co
ntexts.json] not found or not accessible',), <traceback object at 
0x110c86998>)), last_retrial=3, time_passed_ms=1,time_to_wait=0

Please provide any additional information below.

Trace:
googlecloudsdk/gcloud_main.py:169
 gcloud_cli.Execute()
googlecloudsdk/calliope/cli.py:654
 result = args.cmd_func(cli=self, args=ar...
googlecloudsdk/calliope/backend.py:1401
 resources = command_instance.Run(args)
surface/preview/app/deploy.py:522
 storage_client)
googlecloudsdk/api_app/deploy_app_command_util.py:170
 _UploadFiles(files_to_upload, bucket_ref...
googlecloudsdk/api_app/deploy_app_command_util.py:113
 args=(bucket_ref, path, sha1_hash, stora...
googlecloudsdk/core/util/retry.py:176
 TryFunc, should_retry_if=should_retry, s...
googlecloudsdk/core/util/retry.py:234
 self._RaiseIfStop(result, state)
googlecloudsdk/core/util/retry.py:109
 raise MaxRetrialsException('Reached', re...
MaxRetrialsException: last_result=(None, (<class 
'googlecloudsdk.calliope.exceptions.BadFileException'>, 
BadFileException('[/Users/jonny/gcloudrepos_mjgarage/mjappromo/default/source-co
ntexts.json] not found or not accessible',), <traceback object at 
0x110c86998>)), last_retrial=3, time_passed_ms=1,time_to_wait=0Installation 
information:

Google Cloud SDK [105.0.0]

Platform: [Mac OS X, x86_64]
Python Version: [2.7.10 (default, Oct 23 2015, 19:19:21)  [GCC 4.2.1 Compatible 
Apple LLVM 7.0.0 (clang-700.0.59.5)]]
Python Location: 
[/System/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/C
ontents/MacOS/Python]
Site Packages: [Disabled]

[output truncated]

Original issue reported on code.google.com by bergstro...@gmail.com on 15 Apr 2016 at 7:45

GoogleCodeExporter commented 8 years ago
Please run `gcloud config set app/use_gsutil true` and try again as a 
workaround.

Original comment by z...@google.com on 15 Apr 2016 at 7:53