azure-xplat-cli icon indicating copy to clipboard operation
azure-xplat-cli copied to clipboard

Support creating a blank VHD in a storage account

Open jpoon opened this issue 9 years ago • 6 comments

CLI Version: 0.10.7 OS Type: Mac Installation via: npm

Mode: ASM

Environment: AzureCloud

Description:

Cross-posting from https://github.com/Azure/azure-cli/issues/655

There are Kubernetes scenarios where users need to be able to provision blank VHDs in a storage account so they can make them available in their cluster.

Today, basically there are only two options as far as I can tell:

Attach a new blank disk to a VM from the Portal or CLI. Immediately detach the disk. At least it's a valid VHD. Create the VHD on your local system. (qemu-img, etc) There ought to be a way to do this from CLI (or better yet, if this were something that Storage could do via an API).

In comparison, you can do it on one-line on AWS/GCE:

AWS: aws ec2 create-volume ...
GCE: gcloud compute disks create ...

jpoon avatar Nov 17 '16 20:11 jpoon

@hasonmsft @huangpf - Can you guys take a look at this feature request?

amarzavery avatar Dec 20 '16 19:12 amarzavery

@singhkays Could you please help route it to the owner for this request? Thanks.

huangpf avatar Dec 20 '16 22:12 huangpf

We will probably only support it in the new stack ARM node though. So, users might need to migrate it to ARM first.

huangpf avatar Dec 20 '16 22:12 huangpf

@sauryadas or @chagarw are probably the right owners for this feature

singhkays avatar Dec 20 '16 22:12 singhkays

Why was this closed @chagarw? Does the CLI now have the ability to create a blank vhd?

jpoon avatar Jan 09 '17 04:01 jpoon

As I haven't heard back on the reasoning for the closure. Re-opening and hoping this gets triaged/looked at again.

jpoon avatar Jan 10 '17 20:01 jpoon