VM Auto Restart

NikaraWorld 1 Reputation point
2020-08-08T20:39:05.643+00:00

I have a VM that after a few seconds auto restarts and the log keeps saying Annotation : Reboot initiated from inside the machine(Customer Initiated) when i know in fact that i didn't initiate a reboot, i have Azure Spot enabled, is that the cause for this or is it something else entirely?

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
9,041 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Ronen Ariely 15,206 Reputation points
    2020-08-09T18:07:51.98+00:00

    Good day @NikaraWorld

    auto restarts... Reboot...

    Azure Spot VM do not restart but shutdown when Azure needs the capacity back. This means that it will Deallocate (moves your VM to the stopped-deallocated state) or Delete the VM according to your configuration.

    Moreover, before it evict Spot VMs you have a 30 seconds notice, and you can opt-in to receive in-VM notifications through Azure Scheduled Events, as explain here.

    Therefore, according to your description this issue is not related to the Spot (assuming the description was accurate).

    Reboot initiated from inside the machine(Customer Initiated)

    This fits the explanation I gave above.

    You should monitor the internal of the VM and other options that might send a command to schedule the machine

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.