重新部署ARM脚本后,Azure v-net处于失败状态

问题描述 投票:0回答:1

我以前使用过这个脚本:https://github.com/AdamBJ/SAP-HANA-ARM来启动两个Azure VM。我想使用该脚本来启动另外两个VM,因此我将硬编码的VM名称更改为脚本并尝试再次运行它。但是,第二次脚本无法部署时出现以下错误消息:

{"code":"DeploymentFailed","message":"At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-debug for usage details.","details":[{"code":"Conflict","message":"{\r\n \"status\": \"Failed\",\r\n \"error\": {\r\n \"code\": \"ResourceDeploymentFailure\",\r\n \"message\": \"The resource operation completed with terminal provisioning state 'Failed'.\",\r\n \"details\": [\r\n {\r\n \"code\": \"VirtualNetworkServiceEndpointUpdateTimedOut\",\r\n \"message\": \"Configuration of ServiceEndpoints for subnets sapdatasubnet, sapmgmtsubnet of virtual network /subscriptions/e7bf4de8-4b3c-439b-b8de-f81609dd73e9/resourceGroups/HanaWestUS2Rscgrp/providers/Microsoft.Network/virtualNetworks/ra-sap-hana-vnet did not complete in 1209 seconds. The configuration did not get applied to the following IPs of the subnet sapdatasubnet: 10.0.5.10, 10.0.5.16, 10.0.5.13; sapmgmtsubnet: 10.0.6.9. These subnets are in Failed state now. Try updating the virtual network or individual subnets again (with the same or different ServiceEndpoints value) to return subnets to Succeeded state. You can also try stopping/deallocating or removing VMs that use these IPs and re-applying the configuration again.\",\r\n \"details\": []\r\n }\r\n ]\r\n }\r\n}"}]}

这是重要的部分(我认为):

为子网sapdatasubnet配置ServiceEndpoints,虚拟网络的sapmgmtsubnet /subscriptions/e7bf4de8-4b3c-439b-b8de-f81609dd73e9/resourceGroups/HanaWestUS2Rscgrp/providers/Microsoft.Network/virtualNetworks/ra-sap-hana-vnet未在1209秒内完成。配置未应用于子网sapdatasubnet的以下IP:10.0.5.10,10.0.5.16,10.0.5.13; sapmgmtsubnet:10.0.6.9。这些子网现在处于Failed状态。尝试再次更新虚拟网络或单个子网(使用相同或不同的ServiceEndpoints值)以将子网返回到Succeeded状态。您还可以尝试停止/取消分配或删除使用这些IP的VM并再次重新应用配置

我想当我第二次尝试运行脚本时会产生网络冲突,现在我的主要vnet处于“失败状态”。 vnet看起来很好,因为我仍然可以连接到两个原始虚拟机,但是我无法创建属于我的vnet的任何新虚拟机,或者在处于失败状态时更改“服务端点”。有谁知道如何让我的发泄出失败的状态?

azure vnet
1个回答
0
投票

ARM脚本淘汰了我对vnet的自定义DNS设置。重新建立自定义设置会强制重新部署修复失败状态问题的vnet。

© www.soinside.com 2019 - 2024. All rights reserved.