Compute VM Machines are not being terminated after job completes.

Anonymous
2026-01-12T17:29:35.0733333+00:00

One of our Slurm cluster using SpotVMs are able launch VMs on job excecution,  however the VMs are keep running and not being terminated automatically even when the shutdown policy is specified.

Azure CycleCloud
Azure CycleCloud

A Microsoft tool for creating, managing, operating, and optimizing high-performance computing (HPC) and big compute clusters in Azure.


Answer accepted by question author
Anonymous
2026-01-12T18:21:54.81+00:00

Root Cause:

The cluster deletion was failing because the underlying VMSS was stuck in an extension upgrade state, which prevented the Scale Set from being deleted. This behavior has been identified as a CycleCloud product bug, and the product team has already acknowledged the issue and targeted a fix for it in CycleCloud version 8.8.2.

Was this answer helpful?

0 comments No comments

Answer accepted by question author
Manish Deshpande 8,135 Reputation points Microsoft External Staff Moderator
2026-01-12T17:35:09.71+00:00

Hello @Anonymous

Thank you for contacting us about the VM issue.

In this scenario, the compute Spot VMs were not being terminated after job completion because the underlying Virtual Machine Scale Set (VMSS) was stuck in an extension upgrade state.

When a VMSS is in an extension upgrade or provisioning‑blocked state:

The scale set cannot process delete or deallocation operations

The cluster cleanup process fails silently

As a result, VMs continue running even though shutdown or termination policies are configured

This behavior has been identified as a known product issue in CycleCloud, where a stuck VMSS extension prevents the Scale Set from being deleted, leaving compute nodes active even after jobs complete.

Links :
https://learn.microsoft.com/en-us/azure/cyclecloud/?view=cyclecloud-8

Thanks,
Manish Deshpande.

Was this answer helpful?

0 comments No comments

0 additional answers

Sort by: Most helpful

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.