Deleting(Running) VM of a VM Scale Set freezes any deatach operations on the attached disks

Tobiasz Kukawka 21 Reputation points
2021-10-28T15:42:14.78+00:00

We have noticed an issue with the VMs in the VMSS.

When we delete the VMs with termination window of 15', it is impossible to detach disk from that VM.
Is that by design? Is there any way to circumvent this?

We have to detach the Disk while the VM is still in Deleting(running) state so that we can start up service on a new machine.

Azure Virtual Machine Scale Sets
Azure Virtual Machine Scale Sets
Azure compute resources that are used to create and manage groups of heterogeneous load-balanced virtual machines.
345 questions
0 comments No comments
{count} votes

Accepted answer
  1. Pradeep Kommaraju 2,546 Reputation points
    2021-10-28T21:35:28.673+00:00

    Hi @Tobiasz Kukawka

    Thank you for reaching out to Microsoft Q&A Platform .

    And yes , This is be design and we cannot perform any other operation on the VM while there is another{CRUD} in progress .
    https://learn.microsoft.com/en-us/troubleshoot/azure/virtual-machines/error-messages#common-virtual-machine-management-errors

    Unfortunately , There is no way to perform another operation before the current CRUD operation is completed .

    Thanks & Regards,
    Pradeep

    0 comments No comments

0 additional answers

Sort by: Most helpful