Linux VM stuck in Failed provisioning state (VMStartTimedOut) after data disk hot-attach, guest OS running normally

Harsh 20 Reputation points
2026-11-10T13:32:42.3366667+00:00

A production Linux VM (Standard_B4as_v2, Australia East) shows provisioningState = Failed with

"ProvisioningState/failed/VMStartTimedOut: VM did not start in the allotted time."

The guest is healthy (22+ hours uptime, VM agent Ready, apps serving traffic), and the instance view reports no PowerState.

What happened:

  • A new empty managed data disk was hot-attached (LUN 1) to the running VM. The VM update failed with VMStartTimedOut.
  • The disk shows as attached in the VM model and disk resource, but the guest never saw it (lsblk shows only LUN 0).
  • Run Command was rejected with "Run command extension execution is in progress".
  • Reapply failed with VMStartTimedOut, and Start VM ran about 40 minutes and failed the same way.
  • A second reapply and a disk detach are now both stuck in Updating.

Questions:

  1. Is this a known state mismatch after a data disk hot-attach?
  2. Is there a way to clear it without deallocating (production traffic)?
  3. Will a deallocate and start reliably clear it, or could it fail to start?
Azure
Azure

A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.

0 comments No comments

2 answers

Sort by: Most helpful
  1. Harsh 20 Reputation points
    2026-11-10T18:29:27.6533333+00:00

    Hi @Vasileios Dionysopoulos
    To answer your questions: the initial disk attach did not fail straight away. It was accepted and then sat for about 50 minutes before returning VMStartTimedOut. A Run Command queued behind it hung for 40 minutes and failed the same way. Linux logged nothing about a new device (no kernel or waagent entries in that window), and the VM has since gone through a full reboot of the guest and still sees only the original data disk. So the attach never completed on the host.

    A later reapply, start and disk detach all timed out the same way. The VM is still serving traffic, so we are leaving it alone.

    Was this answer helpful?


  2. Vasileios Dionysopoulos 741 Reputation points
    2026-11-10T13:50:07.2333333+00:00

    Hey Harsh,

    I wouldn’t deallocate this VM just yet. Right now it's still serving traffic, and that's something you don't want to lose while troubleshooting.

    A failed provisioning state doesn't necessarily mean the VM is down. Azure can fail a management operation without affecting the running OS. What's more interesting is that the disk appears attached in Azure, Linux doesn't see it, and the instance view isn't returning a PowerState.

    That makes me suspect the disk change never completed properly at the Azure host level. Hard to say for certain without looking at the operation logs.

    Since you've already tried reapply and it timed out, I wouldn't repeat it. Same goes for any other VM updates while the previous operations are still stuck in Updating.

    I'd check the Activity Log for the original disk attachment and collect the correlation IDs from the failed operations. Also worth checking dmesg around the time you attached the disk. Did Linux log anything about a new device, or was there nothing at all?

    At this point I'd get Azure Compute support involved. They should be able to investigate whether there's a stuck operation or a mismatch between the VM configuration and what's actually running on the host. I'd specifically ask them to check if the issue can be resolved without restarting or deallocating the VM.

    As for deallocate/start, yes, it might fix things. But it isn't guaranteed. You could end up with the same timeout or even an allocation failure when trying to bring the VM back.

    I wouldn't take that chance with a running production system unless there was a maintenance window and a recovery plan in place.

    One thing I'm curious about: did the initial disk attachment fail straight away, or did it sit there for quite some time before returning VMStartTimedOut?

    Was this answer helpful?

    0 comments No comments

Your answer

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