venf2k / google-cloud-sdk

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

Issue running command [gcloud preview app deploy]. #726

Open GoogleCodeExporter opened 8 years ago

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

What steps will reproduce the problem?

gcloud preview app deploy main/app.yaml --promote

What is the expected output? What do you see instead?

The expected output was a progress text on the deployment status.
What I saw instead was an exception error output.

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/nazroll/Projects/Sparkline/src/sparkline-suite-rc1/mai
n/source-context.json] not found or not accessible',), <traceback object at 
0x104ea1b00>)), 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.11 (default, Dec 11 2015, 02:02:17)  [GCC 4.2.1 Compatible 
Apple LLVM 7.0.0 (clang-700.1.76)]]
Python Location: 
[/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/Resour
ces/Python.app/Contents/MacOS/Python]
Site Packages: [Disabled]

[output truncated]

Original issue reported on code.google.com by naz...@sparkline.com on 14 Apr 2016 at 12:00

GoogleCodeExporter commented 8 years ago
Please try again after setting `gcloud config set app/use_gsutil true`–do you 
still get the same behavior?

Original comment by z...@google.com on 14 Apr 2016 at 1:50