ESXi to AHV - Reader Client error: context deadline exceeded | Nutanix Community
Skip to main content

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] oVMMoID: 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 0context deadline exceeded]
E1124 14:03:28.278811      10 esxvm.go:1168] Failed to connect with Disk Reader Service: DLocation="/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] tVM:'Migration-test1' (moID:vm-3682)] yVM: Migration-test1] Failed to disable VM operations that might interfere with disk access. Error: tLocation="/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] nVM:'Migration-test1' (moID:vm-3682)] Prepare payload {"IsCBTEnabled":true,"AMDInstalled":true,"RDMConversionPayload":null}
I1124 14:03:28.278942      10 preparemigrationtask.go:62] sefabac1f-21fe-46c1-9406-a1035d2f4187 Migration-test1] server: PrepareForMigration for taskid 65db7e61-1333-4135-abe2-73c038621624 completed with error 0Location="/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] nVM:'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] 6VM:'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] 0VM:'Migration-test1' (moID:vm-3682)] fCmd="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] rMP:New Migration Plan|VM:Migration-test1|T:e114086a-eb3a-4a07-89f0-655943b42f27|SrcAgentPrepare] Step:Failed VM Migration: prepare source: ntLocation="/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] oMP:New Migration Plan|VM:Migration-test1] prepare source payload: r{"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: igLocation="/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] yMP: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. |VLocation="/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] pMP:New Migration Plan|VM:Migration-test1] Step: Failed VM Migration, clearing cutover & test tasks if any.

 

any idea here?

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