VM 백업이 실패하고 다음 오류가 표시됩니다. "Unable to delete pre-existing snapshots: Another task is already in progress."

Summary: VM 백업이 실패하고 다음 오류가 표시됩니다. 2021-04-14T17:46:35Z ERROR: [@(#) Build number: 51] Failed to complete removal of snapshot "snapshot-347817": Another task is already in progress. 2021-04-14T17:46:35Z ERROR: [@(#) Build number: 51] Unable to delete pre-existing snapshots: Another task is already in progress. ...

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Symptoms

단일 VM에 대한 VM 백업 실패
VM에 대한 수동 스냅샷 생성도 실패하고 다음 오류가 표시됩니다. image005.png

Cause

해당 특정 VM의 경우 오래된 작업이 ESXi 호스트에 표시됩니다.

Resolution

1) vCenter에 로그인하여 VM에 연결된 이전 스냅샷이 있는지 확인합니다(있는 경우 삭제/통합).
2) vproxy에 스냅샷이 있는지 확인합니다(있는 경우 삭제/통합).

VM 또는 vproxy에 이전 스냅샷이 표시되지 않는 경우 다음 단계를 수행하여 ESXi 호스트에서 VM의 활성 작업을 확인합니다.

1) 콘솔에서 또는 SSH를 통해 ESX 호스트에 로그인합니다.

2) 특정 가상 머신과 관련된 작업 목록을 생성하려면 먼저 가상 머신의 Vmid를 가져옵니다. 다음 명령을 실행합니다.
vim-cmd vmsvc/getallvms
출력은 다음과 유사합니다.
Vmid Name File Guest OS Version Annotation
112 VM-1 [Datastore] VM-3/VM-3.vmx winLonghornGuest vmx-04
128 VM-2 [Datastore] VM-3/VM-3.vmx winXPProGuest vmx-04
144 VM-3 [Datastore] VM-3/VM-3.vmx winNetStandardGuest vmx-04

3) 나중에 참조하도록 Vmid 열의 값을 기록해 둡니다.

4) Vmid가 있는 경우 특정 가상 머신과 관련된 작업 목록을 가져올 수 있습니다.
vim-cmd vmsvc/get.tasklist VMID 명령을 실행합니다.
여기서 VMID는 3단계에서 식별한 번호입니다.
출력은 다음과 유사합니다.
(ManagedObjectReference) [
'vim.Task:haTask-112-vim.VirtualMachine.createSnapshot-3887'
]

5) 작업 식별자를 기록해 둡니다. 위의 예에서 작업 식별자는 다음과 같습니다.
haTask-112-vim.VirtualMachine.createSnapshot-3887

6) 특정 작업의 상태에 대한 정보를 가져오려면 다음 명령을 실행합니다.
vim-cmd vimsvc/task_info task_identifier
여기서 task_identifier는 5단계에서 기록한 문자열입니다.
출력은 다음과 유사합니다.
(vim.TaskInfo) {
dynamicType = ,
key = "haTask-112-vim.VirtualMachine.createSnapshot-3887",
task = 'vim.Task:haTask-112-vim.VirtualMachine.createSnapshot-3887',
description = (vmodl.LocalizableMessage) null,
name = "vim.VirtualMachine.createSnapshot",
descriptionId = "VirtualMachine.createSnapshot",
entity = 'vim.VirtualMachine:112',
entityName = "deploy-test",
state = "running",
cancelled = false,
cancelable = false,
error = (vmodl.MethodFault) null,
result = ,
progress = 15,
reason = (vim.TaskReasonUser) {
dynamicType = ,
userName = "root",
},
queueTime = "2012-11-28T01:29:35.233835Z",
startTime = "2012-11-28T01:29:35.234891Z",
completeTime = ,
eventChainId = 2936866,
changeTag = ,
parentTaskKey = ,
rootTaskKey = ,


활성 작업이 있는 경우 VMware 팀에서 이를 다시 확인해야 하며 VMware 지원에 따라 다음 조치를 취해야 합니다.
Article Properties
Article Number: 000185657
Article Type: Solution
Last Modified: 23 Aug 2022
Version:  5
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.