Azure Batch - Nodes will not leave the pool (stuck in leaving pool state)

Brian Bertrand 21 Reputation points
2024-06-17T16:24:15.8433333+00:00

We have had a batch system running for years. Recently we have seen issues where our node pools will scale up no problem, but will fail to scale down for hours stuck in 'leaving' state.

This is currently happening and I have no way to remove the nodes without deleting the pool (I suspect even this will fail).

Has anyone ever encountered this? I'm worried our company is being charged for machines we aren't using which is extremely alarming when using a fully automated system.

Edit: The nodes finally left the pool after 4 hours. I'm still interested as to why this occurs though, and if the time the node is in leavingpool state costs money to the customer.

Azure Batch
Azure Batch
An Azure service that provides cloud-scale job scheduling and compute management.
339 questions
{count} votes

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.