none
Deployment Failed error when trying to create a new VM using the infoblox VHD image(250 GB fixed image). RRS feed

  • Question

  • I have tried deploying a custom VHD image onto Azure stack and i have checked all resources and everything seems to be fine.

    i have attached the logs with this message

    LOGS:

    {
      "id": "/subscriptions/6f47d33a-e0ac-4abb-8b23-0cf41c7fa822/resourceGroups/infoblox/providers/Microsoft.Resources/deployments/Nios-ddi-20190911163039",
      "name": "Nios-ddi-20190911163039",
      "properties": {
        "templateHash": "2068171897719390175",
        "parameters": {
          "location": {
            "type": "String",
            "value": "local"
          },
          "virtualMachineName": {
            "type": "String",
            "value": "Nios-Demo"
          },
          "virtualMachineSize": {
            "type": "String",
            "value": "Standard_F16s_v2"
          },
          "adminUsername": {
            "type": "String",
            "value": "rav"
          },
          "virtualNetworkName": {
            "type": "String",
            "value": "infoblox-vnet"
          },
          "networkInterfaceName": {
            "type": "String",
            "value": "nios-demo299"
          },
          "networkSecurityGroupName": {
            "type": "String",
            "value": "Nios-Demo-nsg"
          },
          "adminPassword": {
            "type": "SecureString"
          },
          "diagnosticsStorageAccountName": {
            "type": "String",
            "value": "demodiag850"
          },
          "diagnosticsStorageAccountId": {
            "type": "String",
            "value": "/subscriptions/6f47dxxx-e0ac-4abb-8b23-0cf41c7xxxxx/resourcegroups/demo/providers/Microsoft.Storage/storageAccounts/demodiag850"
          },
          "addressPrefix": {
            "type": "String",
            "value": "10.0.1.0/24"
          },
          "subnetName": {
            "type": "String",
            "value": "default"
          },
          "subnetPrefix": {
            "type": "String",
            "value": "10.0.1.0/24"
          },
          "publicIpAddressName": {
            "type": "String",
            "value": "Nios-Demo-ip"
          },
          "publicIpAddressType": {
            "type": "String",
            "value": "Dynamic"
          },
          "publicIpAddressSku": {
            "type": "String",
            "value": "Basic"
          }
        },
        "mode": "Incremental",
        "debugSetting": {
          "detailLevel": "RequestContent, ResponseContent"
        },
        "provisioningState": "Failed",
        "timestamp": "2019-09-11T17:18:06.9168446Z",
        "duration": "PT47M26.5669441S",
        "correlationId": "fec33b54-7302-47bb-a369-922934cca030",
        "providers": [
          {
            "namespace": "Microsoft.Compute",
            "resourceTypes": [
              {
                "resourceType": "virtualMachines",
                "locations": [
                  "local"
                ]
              }
            ]
          },
          {
            "namespace": "Microsoft.Network",
            "resourceTypes": [
              {
                "resourceType": "virtualNetworks",
                "locations": [
                  "local"
                ]
              },
              {
                "resourceType": "networkInterfaces",
                "locations": [
                  "local"
                ]
              },
              {
                "resourceType": "publicIpAddresses",
                "locations": [
                  "local"
                ]
              },
              {
                "resourceType": "networkSecurityGroups",
                "locations": [
                  "local"
                ]
              }
            ]
          }
        ],
        "dependencies": [
          {
            "dependsOn": [
              {
                "id": "/subscriptions/6f47dxxx-e0ac-4abb-8b23-0cf41c7xxxxx/resourceGroups/infoblox/providers/Microsoft.Network/networkInterfaces/nios-demo299",
                "resourceType": "Microsoft.Network/networkInterfaces",
                "resourceName": "nios-demo299"
              }
            ],
            "id": "/subscriptions/6f47dxxxx-e0ac-4abb-8b23-0cf41c7xxxx/resourceGroups/infoblox/providers/Microsoft.Compute/virtualMachines/Nios-Demo",
            "resourceType": "Microsoft.Compute/virtualMachines",
            "resourceName": "Nios-Demo"
          },
          {
            "dependsOn": [
              {
                "id": "/subscriptions/6f47dxxx-e0ac-4abb-8b23-0cf41c7fxxxx/resourceGroups/infoblox/providers/Microsoft.Network/virtualNetworks/infoblox-vnet",
                "resourceType": "Microsoft.Network/virtualNetworks",
                "resourceName": "infoblox-vnet"
              },
              {
                "id": "/subscriptions/6f47dxxx-e0ac-4abb-8b23-0cf41c7fxxxx/resourceGroups/infoblox/providers/Microsoft.Network/publicIpAddresses/Nios-Demo-ip",
                "resourceType": "Microsoft.Network/publicIpAddresses",
                "resourceName": "Nios-Demo-ip"
              },
              {
                "id": "/subscriptions/6f47dxxx-e0ac-4abb-8b23-0cf41c7fxxxx/resourceGroups/infoblox/providers/Microsoft.Network/networkSecurityGroups/Nios-Demo-nsg",
                "resourceType": "Microsoft.Network/networkSecurityGroups",
                "resourceName": "Nios-Demo-nsg"
              }
            ],
            "id": "/subscriptions/6f47dxxx-e0ac-4abb-8b23-0cf41c7fxxxx/resourceGroups/infoblox/providers/Microsoft.Network/networkInterfaces/nios-demo299",
            "resourceType": "Microsoft.Network/networkInterfaces",
            "resourceName": "nios-demo299"
          }
        ],
        "error": {
          "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\": \"VmProvisioningTimeout\",\r\n        \"message\": \"VM 'Nios-Demo' failed to provision with timeout.\"\r\n      }\r\n    ]\r\n  }\r\n}"
            }
          ]
        }
      }
    }

    Thanks in Advance.

    Thursday, September 12, 2019 7:28 AM

Answers

  • This error occurs when the VM fails to meet a time threshold, typically the limit is the 45 minute ARM deployment timeout. How long does this error take to occur when you submit the deployment?

    Sometimes the VM just takes longer to get up and running, or has issues installing the agent. In this case the VM will exist on the Azure Stack portal, but be in a Failed state. can you try to log into the VM?

    Also you can check the Troubleshooting or Diagnostics area to see if you can get a screenshot of the VM to see if there was an issue booting, or if the VM is up and running. 

    Friday, September 13, 2019 12:37 AM
    Moderator

All replies

  • This error occurs when the VM fails to meet a time threshold, typically the limit is the 45 minute ARM deployment timeout. How long does this error take to occur when you submit the deployment?

    Sometimes the VM just takes longer to get up and running, or has issues installing the agent. In this case the VM will exist on the Azure Stack portal, but be in a Failed state. can you try to log into the VM?

    Also you can check the Troubleshooting or Diagnostics area to see if you can get a screenshot of the VM to see if there was an issue booting, or if the VM is up and running. 

    Friday, September 13, 2019 12:37 AM
    Moderator
  • Hi Travis,

    Yes, its exactly failing at 45min interval and im able to turn on the VM and log into it! So does that mean everything went well at the deployment? My image is 250 Gigs and i guess thats why its taking longer time? 

    Thanks

    Friday, September 13, 2019 6:05 AM