Azure虚拟机镜像版本创建失败。

huangapple go评论71阅读模式
英文:

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?

Azure虚拟机镜像版本创建失败。

答案1

得分: 1

I tried the same in my environment I got the same error like below:

Azure虚拟机镜像版本创建失败。

Created a virtual machine and disk in North Central US when I try to create vm image version it shows Eastus and greyed-out.

Azure虚拟机镜像版本创建失败。

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映像定义 -> 添加版本

Azure虚拟机镜像版本创建失败。

Azure虚拟机镜像版本创建失败。

Now, I can able to select any region without grey-out and selected North central us like below:

现在,我可以选择任何区域而不会被灰色标记,并选择了North Central US,如下所示:

Azure虚拟机镜像版本创建失败。

Deployed Vm image version successfully like below:

成功部署了VM映像版本,如下所示:

Azure虚拟机镜像版本创建失败。

英文:

I tried the same in my environment I got the same error like below:

Azure虚拟机镜像版本创建失败。

Created a virtual machine and disk in North Central US when I try to create vm image version it shows Eastus and greyed-out.

Azure虚拟机镜像版本创建失败。

> 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

Azure虚拟机镜像版本创建失败。

Azure虚拟机镜像版本创建失败。

Now, I can able to select any region without grey-out and selected North central us like below:

Azure虚拟机镜像版本创建失败。

Deployed Vm image version successfully like below:

Azure虚拟机镜像版本创建失败。

huangapple
  • 本文由 发表于 2023年5月11日 09:45:34
  • 转载请务必保留本文链接:https://go.coder-hub.com/76223606.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定