选择控制阀恢复尝试失败,并显示“无法注册虚拟机”
适用场景
- 适用于VMware的SnapCenter插件[SCV]
- VMware vCenter
- 虚拟机[VM]
问题描述
- 选择控制阀VM恢复无法完成,并显示错误消息:"Unable to register VM: <VM_Name>. Error: An error occurred while communicating with the remote host"
- 选择控制阀的vmcontrol日志显示以下相关条目:
2024-06-27 19:36:21.515 DEBUG SCV --- [474675244-20445] c.n.a.v.VsphereService          : VsphereUtils: Monitoring Task ReconfigVM_Task2024-06-27 19:36:36.553 DEBUG SCV --- [474675244-20445] c.n.a.v.VsphereService          : VsphereUtils:State=running(13%)2024-06-27 19:36:46.583 DEBUG SCV --- [474675244-20445] c.n.a.v.VsphereService          : VsphereUtils:State=running(13%)2024-06-27 19:36:56.614 DEBUG SCV --- [474675244-20445] c.n.a.v.VsphereService          : VsphereUtils:State=running(13%)2024-06-27 19:37:11.653 DEBUG SCV --- [474675244-20445] c.n.a.v.VsphereService          : VsphereUtils:State=running(13%)2024-06-27 19:37:21.692 DEBUG SCV --- [474675244-20445] c.n.a.v.VsphereService          : VsphereUtils:State=running(13%)2024-06-27 19:37:31.720 DEBUG SCV --- [474675244-20445] c.n.a.v.VsphereService          : VsphereUtils:State=error(0%)2024-06-27 19:37:31.723 ERROR SCV --- [474675244-20445] c.n.a.v.VsphereService          : An error occurred while communicating with the remote host.2024-06-27 19:37:31.726 DEBUG SCV --- [474675244-20445] c.n.a.v.VirtualMachineService       : [JobId:8269] Failed to attach disk: An error occurred while communicating with the remote host.2024-06-27 19:37:31.730 ERROR SCV --- [474675244-20445] c.n.a.r.AbstractRestoreStrategy      : [JobId:8269] Unable to register VM: VM_NAME. Error: An error occurred while communicating with the remote host.2024-06-27 19:37:31.730 DEBUG SCV --- [474675244-20445] c.n.a.v.VsphereTaskUtil          : Retrieving task with moref Task:task-6781442024-06-27 19:37:31.730 DEBUG SCV --- [474675244-20445] c.n.a.v.VsphereService          : [JobId:8269] Connecting to vSphere with session e85b45ba4c59991194262eb216221ea8c6a4795e2024-06-27 19:37:31.763 DEBUG SCV --- [474675244-20445] c.n.a.r.RestoreManager          : Setting restore task as failed2024-06-27 19:37:31.763 DEBUG SCV --- [474675244-20445] c.n.a.v.VsphereTaskUtil          : Retrieving task with moref Task:task-6781442024-06-27 19:37:31.763 DEBUG SCV --- [474675244-20445] c.n.a.v.VsphereService          : [JobId:8269] Connecting to vSphere with session e85b45ba4c59991194262eb216221ea8c6a4795e2024-06-27 19:37:31.820 ERROR SCV --- [474675244-20445] c.n.a.s.p.RestoreWorkflowManager     : [JobId:8269] Unable to register VM: VM_NAME. Error: An error occurred while communicating with the remote host.2024-06-27 19:37:31.820 DEBUG SCV --- [474675244-20445] c.n.a.s.p.RestoreWorkflowManager     : created JAXBresponse2024-06-27 19:37:31.820 DEBUG SCV --- [474675244-20445] c.n.a.s.p.RestoreWorkflowManager     : <?xml version="1.0" encoding="UTF-8" standalone="yes"?><SmRestoreResponse>  <Result>    <_message>Unable to register VM: VM_NAME. Error: An error occurred while communicating with the remote host.</_message>