英文:
Azure VM image version creation fail
问题
我创建虚拟机镜像版本时一直失败,并显示以下消息:
> 无法更新虚拟机镜像版本的复制
> 'XXXXXcomputegallery/XXXXX/0.0.1'。错误:找不到源:
> 'ResourceGroup/providers/Microsoft.Compute/disks/XXXXXXX_OsDisk_1_2a293f0ade0a4bb583eedb0984dbcabe'>XXXXXXX_OsDisk_1_2a293f0ade0a4bb583eedb0984dbcabe'。
> 请确保源存在。
我在网上搜索了这个问题,我怀疑是因为虚拟机和磁盘在北部中部 US,而在创建虚拟机镜像版本的页面上选择的实例详细信息区域是东部 US。
但是实例详细信息区域是灰色的,我无法更改为北部中部或任何其他区域。
我选择的资源组和计算库也是北部中部资源组...我真的不知道为什么我只能选择东部 US。
我有足够的虚拟机配额,所以我不认为这是配额问题。
从快照创建图像版本可以正常工作,没有任何错误。
可能的问题是什么?
英文:
I'm creating a VM image version, but it keeps failing with this message.
> Failed to update replication for VM image version
> 'XXXXXcomputegallery/XXXXX/0.0.1'. Error: Source was not
> found:
> 'ResourceGroup/providers/Microsoft.Compute/disks/XXXXXXX_OsDisk_1_2a293f0ade0a4bb583eedb0984dbcabe'>XXXXXXX_OsDisk_1_2a293f0ade0a4bb583eedb0984dbcabe'.
> Please make sure the source exists.
I searched this issue online, and I suspect it's because the VM and the disk are in North Central US and the selected instance details region is East US on the VM image version creation page.
But the instance details region is greyed out and I cannot change to North Central or to any other regions.
The resource group and the compute gallery I selected are also the North Central Resource group...I really don't know why I can only select East US.
I have enough quota for that VM, so I don't think it's the quota issue.
Creating an image version from the snapshot works fine without any errors.
What could be the issue?
答案1
得分: 1
I tried the same in my environment I got the same error like below:
Created a virtual machine and disk in North Central US when I try to create vm image version it shows Eastus and greyed-out.
it's possible that the region is fixed because of selection of the compute gallery. Some compute galleries may be associated with a specific region, and as a result, you may not be able to change the region when creating a VM image version.
这可能是由于选择了计算画廊而使区域固定。某些计算画廊可能与特定区域相关联,因此在创建VM映像版本时,您可能无法更改区域。
To resolve this issue:
In portal, under search -> Azure compute gallery -> click on Vm image definition -> Add version
要解决此问题:
在门户中,在搜索下 -> Azure计算画廊 -> 单击VM映像定义 -> 添加版本
Now, I can able to select any region without grey-out and selected North central us like below:
现在,我可以选择任何区域而不会被灰色标记,并选择了North Central US,如下所示:
Deployed Vm image version successfully like below:
成功部署了VM映像版本,如下所示:
英文:
I tried the same in my environment I got the same error like below:
Created a virtual machine and disk in North Central US when I try to create vm image version it shows Eastus and greyed-out.
> it's possible that the region is fixed because of selection of the compute gallery. Some compute galleries may be associated with a specific region, and as a result, you may not be able to change the> region when creating a VM image version.
To resolve this issue:
In portal, under search -> Azure compute gallery -> click on Vm image definition -> Add version
Now, I can able to select any region without grey-out and selected North central us like below:
Deployed Vm image version successfully like below:
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论