DevTest Labs: VM creations failures due to persistent errors in Availability Set

This post has been republished via RSS; it originally appeared at: MSDN Blogs.

We recently had several customer cases where lab virtual machine creation was resulting in failures and we have identified a common cause for this issue based on our investigations.

We learnt that when a compute virtual machine fails on creation in an availability set due to a persistent error, all other virtual machine creations in that availability set fail irrespective of any configurations on latter machines. A persistent error is the one that would stay unless fixed by the end user, for ex.  invalid VM marketplace input. This is currently by design and the compute team is working on documenting this behavior.

In DevTest Labs all shared IP virtual machines are created in the same availability set. Hence, if one of the machines in this availability set fails creation due to a persistent error, all further virtual machine creations will result in failure.

To make sure your virtual machine creation is not failing due to the above reason, please make sure to delete all lab machines that are in failed state before creating new ones.

As always please reach to us if you have any questions! Hope this helps!

-Labs Team

Leave a Reply

Your email address will not be published. Required fields are marked *

*

This site uses Akismet to reduce spam. Learn how your comment data is processed.