Fixed
Status Update
Comments
tr...@a2jaycees.org <tr...@a2jaycees.org> #2
using the below does resolve the issue and allow the app to be deployed.
gcloud config set app/use_gsutil true
gcloud config set app/use_gsutil true
zj...@google.com <zj...@google.com> #3
Thanks for the update! We think we have a handle on this issue, and there should be a patch in the Cloud SDK 106 release due out next week that will work with the 'use_gsutil false' setting (which will eventually become the new default).
zj...@google.com <zj...@google.com> #22
Please upgrade to Cloud SDK 106.0.0 or later, which is now released, and try again.
Description
What steps will reproduce the problem?
gcloud preview app deploy ./app.yaml
What is the expected output? What do you see instead?
Deploy app. Didn't deploy app.
ERROR: gcloud crashed (MaxRetrialsException): last_result=(None, (<class 'googlecloudsdk.calliope.exceptions.BadFileException'>, BadFileException('[/home/andrew/gcloud-git/expensereports-2016/source-context.json] not found or not accessible',), <traceback object at 0x7f7bb4ab07e8>)), last_retrial=3, time_passed_ms=1,time_to_wait=0
Please provide any additional information below.
Just updated
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('[/home/andrew/gcloud-git/expensereports-2016/source-context.json] not found or not accessible',), <traceback object at 0x7f7bb4ab07e8>)), last_retrial=3, time_passed_ms=1,time_to_wait=0Installation information:
Google Cloud SDK [105.0.0]
Platform: [Linux, x86_64]
Python Version: [2.7.10 (default, Oct 14 2015, 16:09:02) [GCC 5.2.1 20151010]]
Python Location: [/usr/bin/python2]
Site Packages: [Disabled]
Installation Root: [/home/andrew/google-cloud-sdk]
Installed Components:
core: [2016.04.11]
app-engine-python: [1.9.35]
core-nix: [2016.03.28]
[output truncated]
============== TRUNCATED INFORMATION (PLEASE CONSIDER INCLUDING) ===============
pubsub-emulator: [2016.02.22]
gcloud: []
gsutil-nix: [4.18]
beta: [2016.01.12]
gsutil: [4.18]
bq: [2.0.24]
gcd-emulator: [v1beta3-1.0.0]
bq-nix: [2.0.24]
System PATH: [/home/andrew/google-cloud-sdk/bin:/usr/local/bin:/usr/bin:/bin]
Cloud SDK on PATH: [True]
Installation Properties: [/home/andrew/google-cloud-sdk/properties]
User Config Directory: [/home/andrew/.config/gcloud]
Active Configuration Name: [default]
Active Configuration Path: [/home/andrew/.config/gcloud/configurations/config_default]
Account: [treasurer@a2jaycees.org]
Project: [expensereports-2016]
Current Properties:
[core]
project: [expensereports-2016]
account: [treasurer@a2jaycees.org]
disable_usage_reporting: [True]
[app]
stop_previous_version: [true]
suppress_change_warning: [true]
Logs Directory: [/home/andrew/.config/gcloud/logs]
Last Log File: [/home/andrew/.config/gcloud/logs/2016.04.13/22.25.05.499408.log]
============ END TRUNCATED INFORMATION (PLEASE CONSIDER INCLUDING) =============