VM won't boot after ARM migration abort

Darren G 106 Reputation points
2021-03-21T13:39:59.42+00:00

I've been looking into doing the migration from Classic VMs to ARM, and I prepared the migration in order to check out the resulting resources. I aborted so that I could do some final backups, but after aborting the VM will not boot. The portal just says "failed to start Virtual Machine." If I try to re-prepare, it generates an error stating: the Migration of Deployment for the server is in the process of being aborted and cannot be changed until it completes successfully." It's been about 3 hours since I aborted, and the prepared resources appear to be removed from the portal. Any ideas how to get the VM running again?

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
8,246 questions
0 comments No comments
{count} votes

Accepted answer
  1. Darren G 106 Reputation points
    2021-03-23T23:34:04.253+00:00

    So initially it was discovered by the tech team that a subnet was blocking the abort from proceeding. Manually deleting the subnet in the Portal did not immediately resolve the issue. But some hours later, after initiating another "Prepare" process as part of the testing to generate the error message again, I noticed an Abort button appeared even after the Prepare process failed.

    Clicking the Abort button initiated a new Abort process that completed in a few seconds, and after this the VM was able to boot once again. So if anyone is having similar trouble, I would advise manually removing any of the resources that appeared during the Prepare process, and then doing another Abort even if a new Prepare attempt fails.

    1 person found this answer helpful.

3 additional answers

Sort by: Most helpful
  1. SUNOJ KUMAR YELURU 14,881 Reputation points MVP
    2021-03-21T13:49:43.763+00:00

    Hi @Darren G

    If you have .vhd disks then you can proceed with building new VM.
    https://vikaskumawat.dev/migrate-azure-classic-vm-to-arm-using-azure-portal/

    If the Answer is helpful, please click Accept Answer and up-vote, this can be beneficial to other community members.

    0 comments No comments

  2. Darren G 106 Reputation points
    2021-03-21T14:39:39.207+00:00

    I can see the vhd disks in the Azure Storage Explorer app, but I can't do the migration to ARM using the instructions in the link you posted because the Prepare step fails now...

    0 comments No comments

  3. Tanmay Gore 1 Reputation point Microsoft Employee
    2021-03-22T04:22:33.147+00:00

    @Darren G , can you please retry calling Abort using PS/CLI?
    If that didn't fix the issue, contact support to help fix this abort operation being stuck. If you only have a basic support plan use this free support link to create a technical support ticket.


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.