【问题标题】:Azure VM scale sets not accessible and cannot restartAzure VM 规模集无法访问且无法重新启动
【发布时间】:2018-01-08 15:21:27
【问题描述】:

今天,我发现我无法远程访问我的 Azure VM 规模集实例(win 2016 Nano Server)。然后我尝试使用 powershell 重新启动 VM 规模集实例,但出现以下错误:

Restart-AzureRmVmss : Long running operation failed with status 'Failed'. Additional Info:'VM 'master-vmss_0' has not
reported status for VM agent or extensions. Please verify the VM has a running VM agent, and can establish outbound
connections to Azure storage.'
ErrorCode: VMAgentStatusCommunicationError
ErrorMessage: VM 'master-vmss_0' has not reported status for VM agent or extensions. Please verify the VM has a
running VM agent, and can establish outbound connections to Azure storage.

我们的 VM 规模集已正常运行近一年。 VMSS 上发生了什么? Azure 最近是否对 VMSS 进行了更改?

更新 NSG 出站规则:

{
    "name": "AllowVnetOutBound",
    "properties": {
        "provisioningState": "Succeeded",
        "description": "Allow outbound traffic from all VMs to all VMs in VNET",
        "access": "Allow",
        "priority": 65000,
        "direction": "Outbound",
    }
},
{
    "name": "AllowInternetOutBound",
    "properties": {
        "provisioningState": "Succeeded",
        "description": "Allow outbound traffic from all VMs to Internet",
        "access": "Allow",
        "priority": 65001,
        "direction": "Outbound",
    }
},
{
    "name": "DenyAllOutBound",
    "etag": "W/\"a8e5e396-4f92-4118-b8ea-9b7d0111079f\"",
    "properties": {
        "provisioningState": "Succeeded",
        "description": "Deny all outbound traffic",
        "access": "Deny",
        "priority": 65500,
        "direction": "Outbound",
    }
}

【问题讨论】:

    标签: azure azure-vm-scale-set


    【解决方案1】:

    检查网络安全组是否阻止来自您的 VM 的出站连接? VM 代理和扩展已更新

    如果 HTTPS 被阻止到此存储帐户,那么您将收到此错误消息。更多信息在这里http://www.deployazure.com/compute/virtual-machines/azure-vm-agent-extensions-deep-dive-part-3/

    【讨论】:

    • 谢谢,我用 NSG 出站规则更新了我的问题。现在,我们只使用默认的出站规则,所以出站连接应该可以工作。
    【解决方案2】:

    我们的 VM 规模集已正常运行近一年。什么 发生在 VMSS 上? Azure 最近是否对 VMSS 进行了更改?

    最近在Azure中进行了一些维护,将主机操作系统更新到windows server 2016。我们可以在Azure门户中找到维护信息,如下所示:

    在您的场景中,也许我们可以在 VMSS 的 vnet 中创建一个新的 VM,然后使用该 VM 来远程 VMSS 实例,以检查 VM 代理状态。

    如果 VM 代理状态为关闭,我们应该启动它。


    更新:

    最近,您在计划维护 VM 重新启动后遇到了启动 VM 失败的问题。这是由于后端的容器故障问题。
    我们的后端工程师已经检查了故障租户并应用了缓解措施。您可以尝试再次重新启动 VMss 吗?如果这不起作用,请向 Azure创建支持票证

    再次对给您带来的不便深表歉意。

    【讨论】:

    • 谢谢杰森!实际上,我们已经在与 VMSS 相同的 Vnet 中拥有 VM,我们曾经通过 Enter-PSSession cmd 使用此 VM 远程访问 VMSS 实例。但是现在我们无法远程处理有问题的实例。因为重启总是失败。我该怎么办?
    • @Youxu 请尝试重新启动 VMSS,如果这对您不起作用,请创建 Azure 支持工单,给您带来的不便,我们深表歉意。
    • 重启还是不行。我必须重新映像 VM 才能将其恢复。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2018-08-18
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多