Tuesday, February 13, 2018

How to debug Azure swapping process (sometimes bringing site down)

Leave a Comment

We have a pretty large project that is running on Azure. For some reason swap times became really slow recently, like at least 10 minutes.

Somtimes during the swap the site becomes superslow, like that it doesn't respond for minutes. Other times the swap just doesn't work for one reason or another.

We are using initializationPage to warmup the most specific pages, but it doesn't seem to help.

Question Is it possible to see what's going on during the swap? I'm trying to debug why it's so slow. Is there any log that I can see why it's stuck on what?

We can't deploy emergency fixes without bringing the whole site down. and sometimes the whole site goes down.

Any help to debug swapping problems would greatly appreciated.

Update

I found the following in 'Activity log' on the Azure Portal, but I still can't find any details or any hint what is going on exactly.

enter image description here

So: The resource operation completed with terminal provisioning state 'Failed'.

Where can I find details? It really annoys me that I have to buy Azure Developer support while I'm spending hundreds euros per month already on something that seems broken or at least very uninformative about what is going wrong.

1 Answers

Answers 1

So: The resource operation completed with terminal provisioning state 'Failed'.

Where can I find details?

Microsoft has a few things that may help you.

You can view the operations for a deployment through the Azure portal. You may be most interested in viewing the operations when you have received an error during deployment so this article focuses on viewing operations that have failed. The portal provides an interface that enables you to easily find the errors and determine potential fixes.

The "View deployment operations with Azure Resource Manager" is directly from Microsoft it has several steps to follow. Follow the URL: Microsoft

I hope this helps.

If You Enjoyed This, Take 5 Seconds To Share It

0 comments:

Post a Comment