从已还原的虚拟机中删除VMware快照时出错
适用场景
- 适用于VMware vSphere的SnapCenter插件(SCV)
- 已还原虚拟机
问题描述
- 从已还原的虚拟机中删除VMware快照时、选择控制阀备份出错:
DEBUG sv2101134 --- [ Thread-16335] c.n.w.r.SCVBackupServiceImpl : Unquiesce on SCV
DEBUG sv2101134 --- [ Thread-16335] c.n.w.r.u.RestClientUtil : Connecting to scv url: https://localhost:8144/scbr/smcoreplugin/unquiesce
ERROR sv2101134 --- [ Thread-16335] c.n.w.r.SCVBackupServiceImpl : Unable to unquiesce on SCV: Exception when unquiescing virtual machines: <VM_Name>.Please check 'Remove all snapshots' task on vSphere Web Client or SnapCenter Plug-in for VMware vSphere logs for detailed error message.
WARN sv2101134 --- [ Thread-16335] c.n.w.m.WorkflowExecutor : Activity (Unquiescing Applications) of Workflow (WorkflowExecutor), Failed with error: Unable to unquiesce on SCV: Exception when unquiescing virtual machines: <VM_Name>. Please check 'Remove all snapshots' task on vSphere Web Client or SnapCenter Plug-in for VMware vSphere logs for detailed error message.
ERROR sv2101134 --- [-32375-thread-1] c.n.a.v.VsphereService : An error occurred while deleting a snapshot: One of the disks in this virtual machine is already in use by a virtual machine or by a snapshot.
DEBUG sv2101134 --- [-32375-thread-1] c.n.a.v.VsphereSnapshotService : [JobId:388740] An error occurred while deleting a snapshot: One of the disks in this virtual machine is already in use by a virtual machine or by a snapshot.
DEBUG sv2101134 --- [-32375-thread-1] c.n.a.b.UnquiesceManager : VMware snapshot deleted was unsuccessful.
- 如果选择受影响的虚拟机和快照,则vCenter中会显示VMware快照过多。