binbeobo / google-cloud-sdk

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

delete disks requires --zone for a uniquely named disk #413

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Issue running command [gcloud compute disks delete].

What steps will reproduce the problem?
Create a disk, attempt to delete it with gcloud compute delete $DiskName

What is the expected output? What do you see instead?
I expect a prompt that includes zones that I have disks with that name in it, 
rather than prompting me for all the zones.

Please provide any additional information below.

Installation information:

Google Cloud SDK [0.9.89]

Platform: [Mac OS X, x86_64]
Python Version: [2.7.10 (default, Jul 14 2015, 19:46:27)  [GCC 4.2.1 Compatible 
Apple LLVM 6.0 (clang-600.0.39)]]
Python Location: [/usr/bin/python]
Site Packages: [Disabled]

Installation Root: [/Users/huber/google-cloud-sdk]
Installed Components:
  core: [2015.11.30]
  core-nix: [2015.11.24]
  gcloud: []
  gsutil-nix: [4.15]
  beta: [2015.10.08]
  gsutil: [4.16]
  bq: [2.0.18]
  bq-nix: [2.0.18]
System PATH: 
[/Users/huber/google-cloud-sdk/bin:/usr/local/git/current/bin:/usr/local/bin:/us
r/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/opt/X11/bin]
Cloud SDK on PATH: [True]

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

Account: [michael.huber@gmail.com]
Project: [arms-length]

Current Properties:
  [core]
    project: [arms-length]
    account: [michael.huber@gmail.com]
    disable_usage_reporting: [False]

Logs Directory: [/Users/huber/.config/gcloud/logs]
Last Log File: [/Users/huber/.config/gcloud/logs/2015.12.03/09.55.21.950181.log]

Original issue reported on code.google.com by michael....@gmail.com on 3 Dec 2015 at 5:57

GoogleCodeExporter commented 8 years ago

Original comment by vil...@google.com on 3 Dec 2015 at 6:36