OSAM migration for VM fails, with the error stating, 'Final sync failed. Sentinel Error (Sync preprocessing failed. Please collect sentinel logs.)'
search cancel

OSAM migration for VM fails, with the error stating, 'Final sync failed. Sentinel Error (Sync preprocessing failed. Please collect sentinel logs.)'

book

Article ID: 428173

calendar_today

Updated On:

Products

VMware HCX

Issue/Introduction

  • Following is the error observed for the failed migration,  'Final sync failed. Sentinel Error (Sync preprocessing failed. Please collect sentinel logs.)'

  • Below is the log snippet from SRG appliance logs: 
    $ less "tmp/Fleet-Appliance-2026-01-23--10_51_22/<ServiceMesh_name>/<ServiceMesh_name>-SRG-I1(HCX-SRG).tar.gz_extracted/var/log/messages.4" | grep VM_name -A 5 -B 5
    <Timestamp> <ServiceMesh_name>-SRG-I1 sgwd 1863 - - [Notice-sgwd] : error writing to sentinel <SRG_Appliance_ID>: write tcp <SRG_IP_address>:443-><Guest_VM_IP_address>:56848: write: connection reset by peer
    <Timestamp> <ServiceMesh_name>-SRG-I1 sdrd 1875 - - [Notice-sdr-rcm] : [<SRG_Appliance_ID>] : Received SYNC_PROGRESS message
    <Timestamp> <ServiceMesh_name>-SRG-I1 sdrd 1875 - - [Notice-sdr-rcm] : [<SRG_Appliance_ID>] : Beginning handling for SEND_FAILED request on connection [rcp-127.0.0.1:51472] : &{BaseReqMsg:{MsgName:SEND_FAILED} Payload:{StateChgId:0 ErrNo:10101 ErrDesc:Sync pre-processing failed. Error : Preparing sync item \\?\Volume{<Volume-ID>} failed with error Locking volume \\?\Volume{<Volume-ID>} failed with Access is denied.}}
    <Timestamp> <ServiceMesh_name>-SRG-I1 sdrd 1875 - - [Notice-sdr-rcm] : [<SRG_Appliance_ID>] : Raising sync failed event ....
    <Timestamp> <ServiceMesh_name>-SRG-I1 sdrd 1875 - - [Notice-sdr-rcm] : Sent Event [EventSyncComplete] to listener [&{0xc000b84c00}]
    <Timestamp> <ServiceMesh_name>-SRG-I1 sdrd 1875 - - [Notice-sdr-rcm] : [<SRG_Appliance_ID>] : Responding to SEND_FAILED request on connection [rcp-127.0.0.1:51472]
    <Timestamp> <ServiceMesh_name>-SRG-I1 sdrd 1875 - - [Notice-sdr-rcm] : Unregistered listener [&{0xc000b84c00}] for Event [EventSentinelConnect]
    <Timestamp> <ServiceMesh_name>-SRG-I1 sdrd 1875 - - [Notice-sdr-rcm] : Unregistered listener [&{0xc000b84c00}] for Event [EventAbortSync]
    <Timestamp> <ServiceMesh_name>-SRG-I1 sdrd 1875 - - [Notice-sdr-rcm] : Unregistered listener [&{0xc000b84c00}] for Event [EventSyncComplete]
    <Timestamp> <ServiceMesh_name>-SRG-I1 sdrd 1875 - - [Notice-sdr-rcm] : [<SRG_Appliance_ID>] : Received event to exit receiving, syncSuccessful=false, syncAborted=false, sentConnected=false
    <Timestamp> <ServiceMesh_name>-SRG-I1 sdrd 1875 - - [Notice-sdr-rcm] : [<SRG_Appliance_ID>] : Exited receiving, syncSuccessful=false, syncAborted=false, sentConnected=false, sendError=<nil>
    <Timestamp> <ServiceMesh_name>-SRG-I1 sdrd 1875 - - [Notice-sdr-rcm] : [<SRG_Appliance_ID>] : Setting storage has data status to (true)
    <Timestamp> <ServiceMesh_name>-SRG-I1 sdrd 1875 - - [Notice-sdr-rcm] : [<SRG_Appliance_ID>] : Cleaning up storage .....
    <Timestamp> <ServiceMesh_name>-SRG-I1 sdrd 1875 - - [Notice-sdr-wdr] : Removing sentinel context for [<SRG_Appliance_ID>] .....
    <Timestamp> <ServiceMesh_name>-SRG-I1 sdrd 1875 - - [Notice-sdr-wdr] : Removed sentinel context for sentinelId: <SRG_Appliance_ID>
    <Timestamp> <ServiceMesh_name>-SRG-I1 sdrd 1875 - - [Notice-sdr-wdr] : [<SRG_Appliance_ID>] : Found 0 network connnections
    <Timestamp> <ServiceMesh_name>-SRG-I1 sdrd 1875 - - [Notice-sdr-wdr] : [<SRG_Appliance_ID>] : Sending stop notification to acks transmisstion routine ....
    <Timestamp> <ServiceMesh_name>-SRG-I1 sdrd 1875 - - [Notice-sdr-wdr] : [<SRG_Appliance_ID>] : Waiting for all goroutines to exit ....
    <Timestamp> <ServiceMesh_name>-SRG-I1 sdrd 1875 - - [Notice-sdr-wdr] : [<SRG_Appliance_ID>] : Disabling replica storage
    <Timestamp> <ServiceMesh_name>-SRG-I1 sdrd 1875 - - [Err-sdr-rcm] : [<SRG_Appliance_ID>] : &{10101 Sentinel reported SEND_FAILED with error: Sync pre-processing failed. Error : Preparing sync item \\?\Volume{<Volume-ID>} failed with error Locking volume \\?\Volume{<Volume-ID>} failed with Access is denied.}
    <Timestamp> <ServiceMesh_name>-SRG-I1 sdrd 1875 - - [Err-sdr-rcm] : [<SRG_Appliance_ID>] : Transitioning to ERROR state : &{10101 Sentinel reported SEND_FAILED with error: Sync pre-processing failed. Error : Preparing sync item \\?\Volume{<Volume-ID>} failed with error Locking volume \\?\Volume{<Volume-ID>}failed with Access is denied.}

Environment

VMware HCX

Cause

The synchronization process for a Sentinel node fails during the pre-processing phase. The sdrd component is unable to secure a mandatory exclusive lock on the underlying Windows storage volume required for data replication.

Resolution

  • Permission Audit: Inspect the service account permissions on Guest VM. Ensure the account running the service mesh agent has full administrative privileges to lock and manage disk volumes of the Guest VM.

  • Resource Contention: Verify if third-party software (Antivirus, Backup agents, or Disk Utilities) held an exclusive lock on the volume at the time of the incident.

Additional Information

Understanding VMware HCX OS Assisted Migration