Question

ESXi to AHV - Reader Client error: context deadline exceeded

  • 25 November 2021
  • 1 reply
  • 840 views

Hello,

 

I’m facing this issue migrating a Windows VM from vCenter 5.5 to AHV 5.20 with Move 4.2.0.

 

Migration Status “Failed” with Reader Client error: context deadline exceeded error.

 

also in logs I found this errors:

in srcagent.log

I1124 14:02:28.270928      10 uvmcontroller.go:1092] [VM:'Migration-test1' (moID:vm-3682)] Cancelling context in UVM pre-migration operation. Got Context error: [<nil>]
I1124 14:02:28.278034      10 esxvm.go:1205] [VMMoID: VirtualMachine:vm-3682] Prepare access for VM
E1124 14:03:28.278714      10 diskreaderclient_grpc_impl.go:65] failed to connect to diskreader grpc server running on port: diskreader:8092. Got error [context deadline exceeded]
E1124 14:03:28.278811      10 esxvm.go:1168] Failed to connect with Disk Reader Service: [Location="/hermes/go/src/diskreader/client/diskreaderclient_grpc_impl.go:66", Msg="context deadline exceeded"] Reader client error (error=0x1001)
E1124 14:03:28.278834      10 esxprovider.go:875] [VM:'Migration-test1' (moID:vm-3682)] [VM: Migration-test1] Failed to disable VM operations that might interfere with disk access. Error: [Location="/hermes/go/src/diskreader/client/diskreaderclient_grpc_impl.go:66", Msg="context deadline exceeded"] Reader client error (error=0x1001)
I1124 14:03:28.278889      10 esxprovider.go:608] [VM:'Migration-test1' (moID:vm-3682)] Prepare payload {"IsCBTEnabled":true,"AMDInstalled":true,"RDMConversionPayload":null}
I1124 14:03:28.278942      10 preparemigrationtask.go:62] [efabac1f-21fe-46c1-9406-a1035d2f4187 Migration-test1] server: PrepareForMigration for taskid 65db7e61-1333-4135-abe2-73c038621624 completed with error [Location="/hermes/go/src/diskreader/client/diskreaderclient_grpc_impl.go:66", Msg="context deadline exceeded"] Reader client error (error=0x1001)

-------------------------

and

-----------------

I1124 14:01:42.255696      10 uvmcontroller.go:803] [VM:'Migration-test1' (moID:vm-3682)] Uploading and executing utility [  /opt/xtract-vm/resources/isAMDInstalled.bat 1.1.6.18]
I1124 14:01:42.255748      10 uvmcontroller.go:451] [VM:'Migration-test1' (moID:vm-3682)] Uploading file /opt/xtract-vm/resources/isAMDInstalled.bat -> C:\Users\ADMINI~1\AppData\Local\Temp\vmware30\isAMDInstalled.bat
I1124 14:01:42.410416      10 uvmcontroller.go:569] [VM:'Migration-test1' (moID:vm-3682)] Executing command "  C:\Users\ADMINI~1\AppData\Local\Temp\vmware30\isAMDInstalled.bat 1.1.6.18"
I1124 14:01:44.096569      10 uvmcontroller.go:677] [VM:'Migration-test1' (moID:vm-3682)] command:C:\Users\ADMINI~1\AppData\Local\Temp\vmware30\isAMDInstalled.bat 1.1.6.18, pid:2000, exitCode:1
E1124 14:01:44.096634      10 uvmcontroller.go:681] [VM:'Migration-test1' (moID:vm-3682)] [Cmd="C:\Users\ADMINI~1\AppData\Local\Temp\vmware30\isAMDInstalled.bat 1.1.6.18", ExitCode="1", Location="/hermes/go/src/srcagent/uvmcontroller/uvmcontroller.go:679", VC="10.1.0.11", VM="vm-3682"] Process failed to execute successfully. (error=0x3022)
 
 
in mgmtserver.log
 
I1124 15:31:44.393402       8 vm-migstarttask.go:691] [MP:New Migration Plan|VM:Migration-test1|T:e114086a-eb3a-4a07-89f0-655943b42f27|SrcAgentPrepare] Step:Failed VM Migration: prepare source: [[Location="/hermes/go/src/diskreader/client/diskreaderclient_grpc_impl.go:66", Msg="context deadline exceeded"] Reader client error (error=0x1001)]
I1124 15:31:44.393522       8 vm-migstarttask.go:548] [MP:New Migration Plan|VM:Migration-test1] prepare source payload: [{"IsCBTEnabled":true,"AMDInstalled":true,"RDMConversionPayload":null}]
E1124 15:31:44.393531       8 vm-migstarttask.go:550] [MP:New Migration Plan|VM:Migration-test1] Failed to prepareSource: [[Location="/hermes/go/src/diskreader/client/diskreaderclient_grpc_impl.go:66", Msg="context deadline exceeded"] Reader client error (error=0x1001)]
I1124 15:31:44.393541       8 vm-migstarttask.go:536] [MP:New Migration Plan|VM:Migration-test1] Step: Skipping the source agent cleanup because it is failed & not cancelled.
I1124 15:31:44.393605       8 vm-migstarttask.go:496] [MP:New Migration Plan|VM:Migration-test1] Step: Skipping cleanup of VM in fail state. [[Location="/hermes/go/src/diskreader/client/diskreaderclient_grpc_impl.go:66", Msg="context deadline exceeded"] Reader client error (error=0x1001)]
I1124 15:31:44.393616       8 vm-migstarttask.go:391] [MP:New Migration Plan|VM:Migration-test1] Step: Failed VM Migration, clearing cutover & test tasks if any.

 

any idea here?


1 reply

Userlevel 6
Badge +8

What I would do is prepare the machine manually (install the tools via the provided scripts in move). Then shutdown the machine and migrate with move. 

Reply