简体   繁体   中英

Azure Application gateway fails with terminal provisioning state "Failed"

I am deploying azure application gateway (internal) with V2, it succeeded couple of times in other subscriptions (Environments), however, it is failing with strange error and without much details about the error.

deployment fails after 30 mins of applying/creating

there is a UDR but which is for different purpose and not blocking or restricting the default inte.net route

在此处输入图像描述

The deployment is using terraform and everything worked well in other instances deployment

I tried to reproduce the same in my environment and got the same error like below.

"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](https://i.imgur.com/eipLRgp.png)'.\"\r\n  }\r\n}"
    }
  ]

This issue generally occurs, when an unsupported route typically a 0.0.0.0/0 route to a firewall being advertised via BGP is affecting the Application Gateway Su.net.

Try to deploy with a default .net and manage su.net configuration like below:

在此处输入图像描述

When I tried to deploy, Azure Application gateway deployment succeeded successfully like below:

在此处输入图像描述

在此处输入图像描述

If your deployment fails after 30 mins you can make use of diagnose logs to check error messages in any logs pertaining to the unsuccessful procedure.

在此处输入图像描述

Once you determine the cause of the issue diagnosis will guide you to take the necessary steps and fix the issue. Resolving.network issues, depending on the cause of the failure.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM