Ryotaro-Sanpe666 / google-cloud-sdk

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

I ran cloud update last night and can no longer run "cloud compute ..." commands. Help!!!! #182

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem? attempting any command starting with 
"cloud compute"

What is the expected output? What do you see instead? I get the error message 
"ERROR: (gcloud) Invalid choice: 'compute'. Did you mean 'auth'?"

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.5 (default, Mar  9 2014, 22:15:05)  [GCC 4.2.1 Compatible 
Apple LLVM 5.0 (clang-500.0.68)]]
Site Packages: [Disabled]

Installation Root: [/Users/michaelkagan/google-cloud-sdk]
Installed Components:
  core: [2015.07.24]
  core-nix: [2015.06.02]
  gsutil-nix: [4.12]
  gsutil: [4.13]
  bq: [2.0.18]
  bq-nix: [2.0.18]
System PATH: 
[/Users/michaelkagan/google-cloud-sdk/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/loc
al/bin:/opt/X11/bin:/usr/local/git/bin]
Cloud SDK on PATH: [True]

Installation Properties: [/Users/michaelkagan/google-cloud-sdk/properties]
User Config Directory: [/Users/michaelkagan/.config/gcloud]
User Properties: [/Users/michaelkagan/.config/gcloud/properties]
Current Workspace: [None]
Workspace Config Directory: [None]
Workspace Properties: [None]

Account: [makagan60@gmail.com]
Project: [trendpoints-website]

Current Properties:
  [core]
    project: [trendpoints-website]
    account: [makagan60@gmail.com]
    disable_usage_reporting: [False]

Logs Directory: [/Users/michaelkagan/.config/gcloud/logs]
Last Log File: 
[/Users/michaelkagan/.config/gcloud/logs/2015.07.30/21.40.50.375339.log]

Original issue reported on code.google.com by makaga...@gmail.com on 31 Jul 2015 at 1:44

GoogleCodeExporter commented 8 years ago
gcloud components reinstall does NOT fix the issue

Original comment by makaga...@gmail.com on 31 Jul 2015 at 1:51

GoogleCodeExporter commented 8 years ago
entering "gcloud components update gcloud" resolved my issue.

Original comment by makaga...@gmail.com on 31 Jul 2015 at 2:07

GoogleCodeExporter commented 8 years ago
Thanks for the report.

By any chance you remember from what version of gcloud you were updating from?

Do you have any entries if you run:
  gcloud components repositories list

Original comment by che...@google.com on 31 Jul 2015 at 2:09

GoogleCodeExporter commented 8 years ago
I also had this same problem, fixed by running 'gcloud components update 
gcloud' (thanks #2!). gcloud --version output was the same both before and 
after the fix:

Google Cloud SDK 0.9.71

app 2015.07.24
app-engine-python 1.9.24
bq 2.0.18
bq-nix 2.0.18
core 2015.07.24
core-nix 2015.06.02
gcloud 2015.07.24
gsutil 4.13
gsutil-nix 4.12
preview 2015.07.24

Original comment by lhori...@gmail.com on 8 Aug 2015 at 3:15