HCX - OSAM Migration Stuck at "Starting final sync"
search cancel

HCX - OSAM Migration Stuck at "Starting final sync"

book

Article ID: 370809

calendar_today

Updated On:

Products

VMware HCX

Issue/Introduction

  • OS assisted migration does not complete, it stays on "Starting final sync" (or on other phases) indefinitely.
  • On the VM been migrated at /var/log/vmware/hcx/osam/sentinel.log you see the following message repeat periodically:

2024-Jun-11 16:07:58.140 ERROR [Thread-2] c.v.h.F.ManagerReSTServer - Unable to handle request
java.net.SocketTimeoutException: Read timed out
at java.base/java.net.SocketInputStream.socketRead0(Native Method)
at java.base/java.net.SocketInputStream.socketRead(Unknown Source)
at java.base/java.net.SocketInputStream.read(Unknown Source)
at java.base/java.net.SocketInputStream.read(Unknown Source)
at java.base/sun.security.ssl.SSLSocketInputRecord.read(Unknown Source)
at java.base/sun.security.ssl.SSLSocketInputRecord.readHeader(Unknown Source)
at java.base/sun.security.ssl.SSLSocketInputRecord.bytesInCompletePacket(Unknown Source)
at java.base/sun.security.ssl.SSLSocketImpl.readApplicationRecord(Unknown Source)
at java.base/sun.security.ssl.SSLSocketImpl$AppInputStream.read(Unknown Source)
at org.apache.http.impl.io.SessionInputBufferImpl.streamRead(SessionInputBufferImpl.java:139)
at org.apache.http.impl.io.SessionInputBufferImpl.fillBuffer(SessionInputBufferImpl.java:155)
at org.apache.http.impl.io.SessionInputBufferImpl.readLine(SessionInputBufferImpl.java:284)
at org.apache.http.impl.io.DefaultHttpRequestParser.parseHead(DefaultHttpRequestParser.java:131)
at org.apache.http.impl.io.DefaultHttpRequestParser.parseHead(DefaultHttpRequestParser.java:54)
at org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:261)
at org.apache.http.impl.DefaultBHttpServerConnection.receiveRequestHeader(DefaultBHttpServerConnection.java:132)
at org.apache.http.protocol.HttpService.handleRequest(HttpService.java:307)
at com.vmware.hcx.Fabric.ManagerReSTServer.run(ManagerReSTServer.java:181)

 

Environment

  • HCX 4.9.1 and earlier

Cause

Replication is getting stuck when SDR does not receive a response for SEND_DATA in 60 secs

Resolution

This issue has been resolved in HCX 4.10

Workaround for earlier versions:

  • Once the migration gets stuck restart sentinel service so a new connection is established and the sync operation comes out of the loop of waiting for the SEND_DATA response:

Restart the Sentinel service named vmware-hcx-osam-sentinel using service or systemctl commands.