venf2k / google-cloud-sdk

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

Issue with gcloud preview app deploy after SDK update #727

Closed GoogleCodeExporter closed 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 ./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.js
on] 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.js
on] 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) =============

Original issue reported on code.google.com by treasu...@a2jaycees.org on 14 Apr 2016 at 2:28

GoogleCodeExporter commented 8 years ago
using the below does resolve the issue and allow the app to be deployed.
gcloud config set app/use_gsutil true

Original comment by treasu...@a2jaycees.org on 14 Apr 2016 at 2:30

GoogleCodeExporter commented 8 years ago
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).

Original comment by z...@google.com on 14 Apr 2016 at 12:06

GoogleCodeExporter commented 8 years ago
Issue 731 has been merged into this issue.

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

GoogleCodeExporter commented 8 years ago
Issue 730 has been merged into this issue.

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

GoogleCodeExporter commented 8 years ago
Issue 732 has been merged into this issue.

Original comment by z...@google.com on 14 Apr 2016 at 2:46

GoogleCodeExporter commented 8 years ago
Issue 733 has been merged into this issue.

Original comment by z...@google.com on 14 Apr 2016 at 3:02

GoogleCodeExporter commented 8 years ago
Issue 741 has been merged into this issue.

Original comment by z...@google.com on 15 Apr 2016 at 1:23

GoogleCodeExporter commented 8 years ago
Issue 739 has been merged into this issue.

Original comment by z...@google.com on 15 Apr 2016 at 1:23

GoogleCodeExporter commented 8 years ago
Issue 740 has been merged into this issue.

Original comment by z...@google.com on 15 Apr 2016 at 1:24

GoogleCodeExporter commented 8 years ago
Issue 744 has been merged into this issue.

Original comment by z...@google.com on 15 Apr 2016 at 6:01

GoogleCodeExporter commented 8 years ago
Issue 745 has been merged into this issue.

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

GoogleCodeExporter commented 8 years ago
Issue 746 has been merged into this issue.

Original comment by z...@google.com on 17 Apr 2016 at 1:31

GoogleCodeExporter commented 8 years ago
Issue 747 has been merged into this issue.

Original comment by z...@google.com on 19 Apr 2016 at 2:02

GoogleCodeExporter commented 8 years ago
Issue 756 has been merged into this issue.

Original comment by z...@google.com on 19 Apr 2016 at 2:03

GoogleCodeExporter commented 8 years ago
Issue 755 has been merged into this issue.

Original comment by z...@google.com on 19 Apr 2016 at 2:04

GoogleCodeExporter commented 8 years ago
Issue 748 has been merged into this issue.

Original comment by z...@google.com on 19 Apr 2016 at 2:08

GoogleCodeExporter commented 8 years ago
Issue 753 has been merged into this issue.

Original comment by z...@google.com on 19 Apr 2016 at 2:49

GoogleCodeExporter commented 8 years ago
Issue 765 has been merged into this issue.

Original comment by z...@google.com on 20 Apr 2016 at 2:08

GoogleCodeExporter commented 8 years ago
Issue 760 has been merged into this issue.

Original comment by z...@google.com on 20 Apr 2016 at 2:17

GoogleCodeExporter commented 8 years ago
Issue 766 has been merged into this issue.

Original comment by z...@google.com on 20 Apr 2016 at 4:56

GoogleCodeExporter commented 8 years ago
Please upgrade to Cloud SDK 106.0.0 or later, which is now released, and try 
again.

Original comment by z...@google.com on 20 Apr 2016 at 4:59

GoogleCodeExporter commented 8 years ago
Issue 508 has been merged into this issue.

Original comment by grac...@google.com on 20 Apr 2016 at 5:04

GoogleCodeExporter commented 8 years ago
Issue 767 has been merged into this issue.

Original comment by z...@google.com on 20 Apr 2016 at 8:25