Skip to content

Commit c3e6444

Browse files
Harikrishna Patnalakoushik-das
authored andcommitted
CLOUDSTACK-5827: [Automation] Destroy VM failed, while deleting account
Signed-off-by: Koushik Das <koushik@apache.org>
1 parent f15c8d2 commit c3e6444

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎engine/orchestration/src/com/cloud/vm/VirtualMachineManagerImpl.java‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -457,6 +457,7 @@ protected void advanceExpunge(VMInstanceVO vm) throws ResourceUnavailableExcepti
457457
}
458458

459459
advanceStop(vm.getUuid(), false);
460+
vm = _vmDao.findByUuid(vm.getUuid());
460461

461462
try {
462463
if (!stateTransitTo(vm, VirtualMachine.Event.ExpungeOperation, vm.getHostId())) {

0 commit comments

Comments
 (0)