Skip to content

Commit 362f875

Browse files
committed
Detach disks before cleaning up of VMware worker VM.
1 parent cc8fc74 commit 362f875

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

plugins/hypervisors/vmware/src/com/cloud/hypervisor/vmware/resource/VmwareResource.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3982,6 +3982,7 @@ private void gcAndKillHungWorkerVMs() {
39823982
s_logger.info("Recycle pending worker VM: " + vmMo.getName());
39833983

39843984
vmMo.powerOff();
3985+
vmMo.detachAllDisks();
39853986
vmMo.destroy();
39863987
}
39873988
}

0 commit comments

Comments
 (0)