Questions tagged [gcutil]

gcutil is a command-line tool that is used to manage your Google Compute Engine resources

gcutil is a command-line tool that is used to manage your Google Compute Engine resources. It is a part of Google Cloud SDK.

30 questions
1
vote
1 answer

gcutil moveinstances failing due to "KeyError: u'CPUS'"

I am trying to move my micro-sized Compute Engine from us-central2-a to us-central1-a, since Google will be doing maintenance on the first zone in a week. I am running gcutil-1.9.0 on my Windows machine, via Cygwin. I ran the exact command they…
V7sharp9
  • 263
  • 1
  • 2
  • 8
1
vote
1 answer

Is there a workaround for failing gcutil adddisk?

The command line request to create a disk from a global image (generated via the web console) fails: gcutil --service_version="v1beta15" --project= adddisk --size_gb="10" --zone="us-central1-b"…
Andreas
  • 1,075
  • 8
  • 10
1
vote
0 answers

GCE gcutil command results in INVALID_FIELD_VALUE

I'm trying to create a Google Cloud instance. I'm running this: gcutil addinstance test03 --persistent_boot_disk --machine_type=n1-standard-1 --zone=us-central2-a --image=projects/debian-cloud/global/images/debian-7-wheezy-v20130617 It's failing…
0
votes
2 answers

Allow Http and Https traffic

When I create my hadoop and spark cluster via bdutil, I would like to set the flags for Allow HTTP and HTTPS flags. I see that when you create VM using GC utill you set the tags. I tried playing around with bdutil to do the same with out any…
0
votes
2 answers

gcutil getproject returning resource not found

Does anyone can help me on this error? I have search the resource not found error with google and read a lot of answers but all the answer not help for me. Like to enable the bill method, yes I have enabled it but not…
0
votes
1 answer

No bash completion with gcutil

I have just installed Google Cloud SDK, and I accepted the installation of bash completion, but I only have completion for gcloud and not gcutil. Is it possible to have bash completion for gcutil too ? How ? Thanks,
Samuel Phan
  • 4,218
  • 2
  • 17
  • 18
0
votes
1 answer

gcutil: correct way to use the command?

I am using gcutil in a shell script as follows gcutil deleteinstance --[no]delete_boot_pd: The error message is: FATAL Flags parsing error: Unknown command line flag '[no]delete_boot_pd:' I tried many combinations of the above…
0
votes
0 answers

gcutil returning "BadStatusLine: '' from gcutil commands copied from console when using cygwin terminal

Today I've started to get the line BadStatusLine: '' returned when I use Cygwin terminal to run valid gcutil commands I copy the command to ssh into an instance from the google web console and usually it (eventually) returns asking for my ssh…
mobcdi
  • 1,532
  • 2
  • 28
  • 49
0
votes
1 answer

gcutil to add new user to project

Hi i have a project in my google cloud engine and i'm having ubunutu laptop i have set gcutil in my laptop . I need another user to login to same project he is using windows machine i have set up gcutill via cygwin But the problem is i have…
Amerrnath
  • 2,227
  • 4
  • 22
  • 33
0
votes
1 answer

How to fix certificate errors when using curl?

When I attempt to download from dl.google.com I receive this error : ERROR: The certificate of `dl.google.com' is not trusted. ERROR: The certificate of `dl.google.com' hasn't got a known issuer. Here is entire command output $ curl…
blue-sky
  • 51,962
  • 152
  • 427
  • 752
0
votes
1 answer

Error installing gcutil on cygwin

Following gcutil tutorial at https://developers.google.com/compute/docs/gcutil/ here is a step of the download instructions : However when I try this URL : "$ curl https://dl.google.com/dl/cloudsdk/release/insall_google_cloud_sdk.bash | bash" I…
blue-sky
  • 51,962
  • 152
  • 427
  • 752
0
votes
1 answer

Receiving error when installing gcutil

When I try to install gcutil using this guide : https://developers.google.com/compute/docs/gcutil/ I receive this error (using install.bat) : (gcloud.components.update) Your current working directory is inside the Cloud SD K install root:…
blue-sky
  • 51,962
  • 152
  • 427
  • 752
0
votes
2 answers

gcutil addinstance no longer returns IP address of instance

I just upgraded to gcutil 1.10.0 and I notice that the table that's returned upon completion of addinstance no longer contains the IP address of the instance. I extract that address to use in other scripts so I noticed it was gone…
0
votes
2 answers

gcutil is not woking with OS X 10.9

INFO: Running command line: ssh -o UserKnownHostsFile=/dev/null -o CheckHostIP=no -o StrictHostKeyChecking=no -i /Users/xxx/.ssh/google_compute_engine -A -p 22 ${USER}@${IP} -- ./sshBecalos: line 1: 1632 Killed: 9 gcutil…
0
votes
1 answer

Read permission error when adding disk Image to the Images Collection

I'm trying to create and use custom images following this guide and I get an error. $ gcutil --project=es-cloud addimage elasticsearch-0-90-2 gs://esimage/e4686d7f5bf904a924ae0cfeb58d0827c6d5b966.image.tar.gz…
dadoonet
  • 14,109
  • 3
  • 42
  • 49
1
2