Fixed
Status Update
Comments
pr...@gmail.com <pr...@gmail.com> #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).
Description
Use Google Cloud SDK CLI to try to clone an sql instance from a specific bin log position, i.e.:
gcloud sql instances clone SRC TARGET --bin-log-file BINLOGFILE --bin-log-position BINLOGPOS
What is the expected output? What do you see instead?
Expected output would be to see the operation starting, instead I get a python error trace:
Traceback (most recent call last):
File "/Users/joel/google-cloud-sdk/./lib/googlecloudsdk/gcloud/gcloud.py", line 193, in main
_cli.Execute()
File "/Users/joel/google-cloud-sdk/./lib/googlecloudsdk/calliope/cli.py", line 548, in Execute
result = args.cmd_func(cli=self, args=args)
File "/Users/joel/google-cloud-sdk/./lib/googlecloudsdk/calliope/backend.py", line 1102, in Run
result = command_instance.Run(args)
File "/Users/joel/google-cloud-sdk/./lib/googlecloudsdk/sql/util.py", line 229, in Func
return foo(*args, **kwargs)
File "/Users/joel/google-cloud-sdk/./lib/googlecloudsdk/sql/tools/instances/clone.py", line 112, in Run
binLogPosition=args.bin_log_position)
AttributeError: 'SqlInstancesCloneRequest' object has no attribute 'cloneContext'
If you would like to report this issue, please run the following command:
gcloud feedback
Please provide any additional information below.
The output of 'gcloud info':
Google Cloud SDK [0.9.71]
Platform: [Mac OS X, x86_64]
Python Version: [2.7.10 (default, Jul 3 2015, 01:23:30) [GCC 4.2.1 Compatible Apple LLVM 6.1.0 (clang-602.0.53)]]
Site Packages: [Disabled]
Installation Root: [/Users/joel/google-cloud-sdk]
Installed Components:
core: [2015.07.24]
core-nix: [2015.06.02]
gcloud: [2015.07.24]
gsutil-nix: [4.12]
gsutil: [4.13]
bq: [2.0.18]
bq-nix: [2.0.18]
System PATH: [/Users/joel/google-cloud-sdk/bin:/Users/joel/go_appengine:/Users/joel/.rbenv/shims:/Users/joel/Repos/cocos2d-js-v3.1/tools/cocos2d-console/bin:/Users/joel/go:/usr/local/share/npm/bin:/usr/local/heroku/bin:/usr/local/sbin:/usr/local/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin]
Cloud SDK on PATH: [True]
Installation Properties: [/Users/joel/google-cloud-sdk/properties]
User Config Directory: [/Users/joel/.config/gcloud]
User Properties: [/Users/joel/.config/gcloud/properties]
Current Workspace: [None]
Workspace Config Directory: [None]
Workspace Properties: [None]
Account: [joel.bonander@a3j.se]
Project: [inner-rhythm-89014]
Current Properties:
[core]
project: [inner-rhythm-89014]
account: [joel.bonander@a3j.se]
disable_usage_reporting: [True]
Logs Directory: [/Users/joel/.config/gcloud/logs]
Last Log File: [/Users/joel/.config/gcloud/logs/2015.08.12/11.05.23.825294.log]