projectkudu / kudu

Kudu is the engine behind git/hg deployments, WebJobs, and various other features in Azure Web Sites. It can also run outside of Azure.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Request to support ARM async pattern for PUT / deployments API

miyukiabe-baxter opened this issue · comments

If API PUT "deployments/{commtId}" call does not complete within 60 seconds, it is returning 499 with timeout error message. Once ARM call is timeout, the portal does not have a way to tell whether the deployment is still in progress, deployment completed or failed after this 60 seconds point. Ideally, we would like this API to support ARM async pattern so that the portal side can display the appropriate notification when the deployment is fully completed.

please take a look at this ICM for more details >>> https://portal.microsofticm.com/imp/v3/incidents/details/249645764/home

Below is one of examples redeployment which did not complete within 60seconds. Therefore, ARM call was timeout and returning 499.

Execute in [Web] [Desktop] [cluster('azportalpartner.kusto.windows.net').database('AzurePortal')]
let st=datetime(2021-07-07T22:15:27.8535458Z); let et=datetime(2021-07-08T00:15:27.8535458Z);
cluster('armprod.kusto.windows.net').database('ARMProd').HttpIncomingRequests
where TIMESTAMP between(st..et)
where subscriptionId == "9216c2d3-667a-4cc5-b428-b5508bcc71e2"
where targetUri contains "kedsouza-zore/deployments/bc0d0bd47bfa8bc0706e27a16c736c135dabf687"
where commandName == "redeployCommit"
where httpMethod == "PUT"
project PreciseTimeStamp, Deployment, subscriptionId, httpStatusCode, TaskName, httpMethod, targetUri, commandName


Table0
PreciseTimeStamp Deployment subscriptionId httpStatusCode TaskName httpMethod targetUri commandName
2021-07-07T23:17:25.0247361Z cc13241aa72642e1afad66f39f4e5150 9216c2d3-667a-4cc5-b428-b5508bcc71e2 -1 HttpIncomingRequestStart PUT https://management.azure.com:443/subscriptions/9216c2d3-667a-4cc5-b428-b5508bcc71e2/resourceGroups/kedsouza-win/providers/Microsoft.Web/sites/kedsouza-zore/deployments/bc0d0bd47bfa8bc0706e27a16c736c135dabf687?api-version=2018-11-01 redeployCommit
2021-07-07T23:17:55.5767843Z cc13241aa72642e1afad66f39f4e5150 9216c2d3-667a-4cc5-b428-b5508bcc71e2 499 HttpIncomingRequestEndWithClientFailure PUT https://management.azure.com:443/subscriptions/9216c2d3-667a-4cc5-b428-b5508bcc71e2/resourceGroups/kedsouza-win/providers/Microsoft.Web/sites/kedsouza-zore/deployments/bc0d0bd47bfa8bc0706e27a16c736c135dabf687?api-version=2018-11-01 redeployCommit
2021-07-07T23:15:18.621617Z cc13241aa72642e1afad66f39f4e5150 9216c2d3-667a-4cc5-b428-b5508bcc71e2 499 HttpIncomingRequestEndWithClientFailure PUT https://management.azure.com:443/subscriptions/9216c2d3-667a-4cc5-b428-b5508bcc71e2/resourceGroups/kedsouza-win/providers/Microsoft.Web/sites/kedsouza-zore/deployments/bc0d0bd47bfa8bc0706e27a16c736c135dabf687?api-version=2018-11-01 redeployCommit
2021-07-07T23:14:18.6086505Z cc13241aa72642e1afad66f39f4e5150 9216c2d3-667a-4cc5-b428-b5508bcc71e2 -1 HttpIncomingRequestStart PUT https://management.azure.com:443/subscriptions/9216c2d3-667a-4cc5-b428-b5508bcc71e2/resourceGroups/kedsouza-win/providers/Microsoft.Web/sites/kedsouza-zore/deployments/bc0d0bd47bfa8bc0706e27a16c736c135dabf687?api-version=2018-11-01 redeployCommit

@miyukiabe-baxter we will close this since the ICM has been resolved with investigation details and limitation.