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

vm: creating managed image using sources from different region fails with a bad server error

Open yugangw-msft opened this issue 9 years ago • 5 comments

repro:

az group create -n rg -l westus
az snapshot -g rg -l eastus -n s1
az image create -g rg -n i1 --source s1 --os-type linux  
Deployment failed. An internal execution error occurred

yugangw-msft avatar Jun 21 '17 21:06 yugangw-msft

For now, I will call out in related arguments' help doc

yugangw-msft avatar Jun 21 '17 21:06 yugangw-msft

Please please fix this for real, by enabling copies of images with managed disks from one region to another. This is a big pain point and should not require ten obtuse commands to figure out.

kpu avatar Nov 02 '17 10:11 kpu

@kpu This may be what you're after? https://github.com/Azure/azure-cli-extensions/blob/master/src/image-copy/setup.py.

Let us know and we can describe how to install the extension.

cc: @tamirkamara

derekbekoe avatar Nov 02 '17 17:11 derekbekoe

The Images need to be created from sources in the same Azure region. Once created, images can be added to Azure shared image galleries for replication to other regions

michaeljohnson1172 avatar Jul 03 '19 00:07 michaeljohnson1172

Cleaning up old issues from 2016 - 2018. Please reopen this issue if it is still a concern.

Drewm3 avatar Sep 19 '19 06:09 Drewm3