tag:help.appveyor.com,2012-11-13:/discussions/problems/26921-orphaned-vm-build-images-in-azureAppVeyor: Discussion 2020-04-21T23:01:57Ztag:help.appveyor.com,2012-11-13:Comment/482578072020-04-20T17:54:42Z2020-04-20T17:54:42ZOrphaned VM build images in Azure<div><p>Hi Oliver,</p>
<p>I'm really sorry about that!</p>
<p>Based on our experience (we use Azure as a backup cloud for VS 2019 image), compared to other clouds, Azure could be absolutely horrible in locking resources! That's why we implemented heavy retry logic specifically for Azure cloud provider. You can see the number of retries and interval between retries under <code>Provisioning settings</code> section on Azure cloud settings. Try increasing the number of retries and the interval between them, say 20 mins. Although periodic checks of resource group with AppVeyor builds still won't hurt.</p>
<p>Also, enable "Use managed disk" option - it will be provisioning Azure managed disks instead of copying blobs which could be also more stable.</p>
<p>While you are observing the storage with new settings in place if you notice something is not removed please tell us VM name and build date to trace the logs and see what happened. It's absolutely possible that our removal logic is not ideal and could be improved!</p>
<p>Let me know if you have any questions.</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/482578072020-04-21T23:01:56Z2020-04-21T23:01:56ZOrphaned VM build images in Azure<div><p>Hi Feodor,</p>
<p>Thanks for that - I will take both your suggestions, and get back to you if I see it again.</p>
<p>Regards,<br>
Oliver</p></div>operations