question

SeanMartin-1731 avatar image
0 Votes"
SeanMartin-1731 asked kobulloc-MSFT commented

VM continually restarting

Hi, I just started a new pay as you go subscription and created a VM but it is continually restarting. There is a health event every two minutes, stating:

"Active: At 09:45 AM, Tuesday, 20 July 2021 UTC, the Azure monitoring system received the following information regarding your Virtual machine resource:

A reboot was triggered from inside the virtual machine. This could be due to a virtual machine operating system failure or as requested by an authorized user or process. The virtual machine will be back online after the reboot completes."

Any ideas?

azure-virtual-machines
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

SeanMartin-1731 avatar image
1 Vote"
SeanMartin-1731 answered kobulloc-MSFT commented

Hi, thanks, I worked it out, it caused by an extension that was failing to install.

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Thank you for letting us know what the issue was!

0 Votes 0 ·
RafaStudnicki-7548 avatar image
0 Votes"
RafaStudnicki-7548 answered RafaStudnicki-7548 edited

I had the same error in west europe. Unfortunately I had to create a new machine.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

ManuPhilip avatar image
1 Vote"
ManuPhilip answered

I hope, this is a Windows VM. Check, if you are able to see any associated events related to the reboot from Event Viewer and post it so that we can understand the issue better

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

kobulloc-MSFT avatar image
0 Votes"
kobulloc-MSFT answered

Is this still happening? Usually this is caused by system maintenance operations and process changes like updates, roles, and features. The quickest solution is to redeploy the VM if that's an option but you can collect a process memory and an OS memory dump for more information:

https://docs.microsoft.com/en-us/troubleshoot/azure/virtual-machines/boot-error-troubleshoot-windows

Windows uses the shutdown process to perform system maintenance operations, and process changes such as updates, roles, and features. It's not recommended to interrupt this critical process until it completes. Depending on the number of updates/changes and the VM size, the process may take a long time. If the process is stopped, it's possible for the OS to become corrupt. Only interrupt the process if it's taking excessively long.

If you are still having issues after going through all of that, let us know so we can troubleshoot this further.


Additional Reading:

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.