迁移到v2beta2后,gcloud compute不再可用

时间:2015-07-02 09:31:06

标签: google-cloud-platform gcloud

运行后:gcloud components update beta

我似乎丢失了计算命令:

gcloud -h Usage: gcloud [optional flags] <group | command> group may be auth | beta | components | config | dns | preview | topic command may be docker | help | info | init | version

如何运行计算以运行简单的操作,例如:gcloud compute images list --project google-containers | grep container-vm

我遵循了以下的迁移路径:https://cloud.google.com/deployment-manager/latest/migration-guide

这是我的gcloud -v

Google Cloud SDK 0.9.67

beta 2015.06.30
bq 2.0.18
bq-nix 2.0.18
core 2015.06.30
core-nix 2015.06.02
gcloud 2015.06.30
gcutil-msg 2015.06.09
gsutil 4.13
gsutil-nix 4.12
preview 2015.06.30

每次我运行compute命令时,控制台都会循环,直到我用ctrl + c杀死:

[gcloud _19:33:01 $]]^_^ gcloud compute -h

You do not currently have this command group installed.  Using it 
requires the installation of components: [compute]
WARNING: Component [compute] no longer exists.

All components are up to date.
Restarting gcloud command:
  $ gcloud compute -h

You do not currently have this command group installed.  Using it 
requires the installation of components: [compute]
WARNING: Component [compute] no longer exists.

All components are up to date.
Restarting gcloud command:
  $ gcloud compute -h

^C

我错过了什么吗?

欢呼声 利奥

1 个答案:

答案 0 :(得分:0)

更新gcloud工具后,我遇到了同样的错误。我必须通过重新安装gcloud工具包来替换当前的工具,以使其正常工作。

相关问题