SCV Restore attempt fails with "Unable to register VM"
Applies to
- SnapCenter Plug-in for VMware [SCV]
- VMware vCenter
- Virtual Machine [VM]
Issue
- SCV VM restore fails to complete with the error message:
"Unable to register VM: <VM_Name>. Error: An error occurred while communicating with the remote host"
- SCV's
vmcontrol
logs show the following relevant entries:
2024-06-27 19:36:21.515 DEBUG SCV --- [474675244-20445] c.n.a.v.VsphereService : VsphereUtils: Monitoring Task ReconfigVM_Task
2024-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-678144
2024-06-27 19:37:31.730 DEBUG SCV --- [474675244-20445] c.n.a.v.VsphereService : [JobId:8269] Connecting to vSphere with session e85b45ba4c59991194262eb216221ea8c6a4795e
2024-06-27 19:37:31.763 DEBUG SCV --- [474675244-20445] c.n.a.r.RestoreManager : Setting restore task as failed
2024-06-27 19:37:31.763 DEBUG SCV --- [474675244-20445] c.n.a.v.VsphereTaskUtil : Retrieving task with moref Task:task-678144
2024-06-27 19:37:31.763 DEBUG SCV --- [474675244-20445] c.n.a.v.VsphereService : [JobId:8269] Connecting to vSphere with session e85b45ba4c59991194262eb216221ea8c6a4795e
2024-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 JAXBresponse
2024-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>