Virtual Machine: Linux OS provisioning timeout — Investigation into EFI boot issues in confidential mode

Pauline Ramon 0 Reputation points
2026-12-01T09:57:53.26+00:00

Problem description

I am experiencing an OS provisioning timeout issue when creating a Linux virtual machine in a confidential mode using a Marketplace image. The deployment fails with an 'OSProvisioningTimedOut' error, and the VM's guest agent remains 'Not Ready'. Boot diagnostics indicate UEFI is attempting to load specific EFI files that cannot be found, despite EFI partitions being byte-for-byte identical to a working VM. I need assistance in diagnosing whether this is an EFI boot configuration issue or a problem with the Marketplace image.

Environment

Azure Virtual Machine running Linux in West Europe, confidential scenario with AMD SEV-SNP, using the Standard_DC2ads_v5 size, involving a Marketplace image with version 5.29.0.

What I've already tried

I captured and compared EFI partition snapshots from the failed Marketplace VM and a working VM, and found identical EFI content. I deployed a public version of the same image (5.27.1), which boots successfully in confidential mode on the same VM size. Support suggested offline EFI inspection and snapshots, which I performed. The preview version was deployable on the day of the failure, but it has since become SubscriptionNotAuthorized for my subscription, with no change in permissions on my side. I re-published the preview, but it is still not visible, so I cannot retest it. The initial VM has been deleted.

Current status

The failure occurs at the UEFI stage in confidential mode: the firmware looks for an older kernel path and grubx64.efi, while the disk contains the correct files. I would like to know (1) why a preview version could stop being accessible to a subscription after it was deployable, and (2) what could cause a confidential VM to keep a stale UEFI boot entry when the disk content is correct.

Azure Virtual Machines
Azure Virtual Machines

An Azure service that is used to provision Windows and Linux virtual machines.

0 comments No comments

1 answer

Sort by: Most helpful
  1. Allan Solomon Mejia 11,145 Reputation points
    2026-12-03T10:09:09.69+00:00

    Hi @Pauline Ramon

    Treat these as two separate failures. The original 5.29.0 deployment got far enough to show a boot error. The later SubscriptionNotAuthorized error is blocking a new deployment before you can retest the boot issue.

    For preview access: In Partner Center, confirm that the republished offer is available for preview and that the exact subscription used for deployment is still in its Preview audience. If the plan is hidden, it's expected that it won't appear in the Marketplace picker. Testing hidden preview images through an ARM template with -preview appended to the offer ID and the image version pinned to 5.29.0. For a VM offer that includes purchase-plan metadata, the template’s plan.product must also use the -preview offer ID. If that deployment still returns SubscriptionNotAuthorized, send Partner Center support the publishing submission ID, exact image reference, and failed deployment’s UTC timestamp and correlation ID. The error alone doesn’t establish why access changed.

    For the boot failure: Byte-for-byte identical EFI partitions rule out a difference in the bytes you compared, but they don’t prove both VMs selected the same boot entry or device path. UEFI keeps BootOrder and Boot#### entries outside the EFI System Partition. Azure confidential VMs also have encrypted guest state separate from the OS disk. That makes a different boot entry plausible, but it doesn’t prove a stale entry was carried into the new VM. The exact console line matters: did UEFI fail to find grubx64.efi, or did a loader start and then fail to find the older kernel? Those point to different parts of the boot chain.

    Once preview access is restored, deploy fresh VMs pinned to 5.27.1 and 5.29.0, keeping West Europe, VM size, and security settings the same. Enable Boot Diagnostics before deployment and save the full serial log and screenshot from the first boot. If only 5.29.0 fails, send Azure Compute support both deployment IDs and the first point where the boot logs diverge. That’s a better starting point than another EFI partition comparison or guest-agent troubleshooting: if the kernel never starts, the agent can’t report ready.

    References:


    Help make this community better for everyone: If this answer helped or resolved your issue, please accept it or upvote it. If not, share more details in a comment so we can continue the discussion and find the right solution. Thank you.

    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.