vMotion failed with error, Migration failed after VM Memory precopy. Please check vmkernel logs for true error. The remote serial port concentrator canceled migration
search cancel

vMotion failed with error, Migration failed after VM Memory precopy. Please check vmkernel logs for true error. The remote serial port concentrator canceled migration

book

Article ID: 421956

calendar_today

Updated On:

Products

VMware vCenter Server

Issue/Introduction

  • Compute vMotion task fails with following error,

    Error stack:

    Migration failed after VM memory precopy. Please check vmkernel log for true error.
    YYYY-MM-DDTHH:MM:SS The remote serial port concentrator canceled migration.YYYY-MM-DDTHH:MM:SS.

  • VM was configured with serial port with vSPC URI
  • In vmware.log /vmfs/volumes/<datastore>/<vm_name>/vmware-xx.log you will see entries similar to,

VMware.log

YYYY-MM-DDTHH:MM:SS.283Z In(05) vcpu-0 - serial0: Connection to vSPC was not established in specified time limit.

YYYY-MM-DDTHH:MM:SS.283Z In(05) vcpu-0 - VigorTransport_ServerSendResponse seq=6: Completed Bootstrap.Migrate request with messages in 8526034 US.
YYYY-MM-DDTHH:MM:SS.283Z In(05) vcpu-0 - Msg_Post: Error
YYYY-MM-DDTHH:MM:SS.283Z In(05) vcpu-0 - [msg.serial.network.vspc.aborted] The remote serial port concentrator canceled migration.
YYYY-MM-DDTHH:MM:SS.283Z In(05) vcpu-0 - ----------------------------------------
YYYY-MM-DDTHH:MM:SS.283Z In(05) vcpu-0 - SOCKET 1 (3) recv detected remote shutdown
YYYY-MM-DDTHH:MM:SS.283Z In(05) vcpu-0 - VigorTransportServerProcessError: asyncsocket error Remote disconnected; draining read and closing connection.
YYYY-MM-DDTHH:MM:SS.283Z In(05) vcpu-0 - VigorTransportDrainRecv: draining read.
YYYY-MM-DDTHH:MM:SS.283Z In(05) vcpu-0 - SOCKET 1 (3) recv detected remote shutdown
YYYY-MM-DDTHH:MM:SS.283Z In(05) vcpu-0 - VigorTransport_ServerCloseClient: Closing transport A984D75730 (err = 4)
YYYY-MM-DDTHH:MM:SS.283Z In(05) vcpu-0 - VUIDialogDequeue: found 0 vmdb ui connections; canceling dialogs
YYYY-MM-DDTHH:MM:SS.283Z Cr(01) vcpu-0 - PANIC: The remote serial port concentrator canceled migration.

Environment

VMware ESXi 9.x
VMware ESXi 8.x

Cause

Firewall port on VMware Esxi was blocking the connection to remote server.

Resolution

To resolve this issue configure the Esxi firewall rule to allow communication to remote server.

Additional Information

Add a Serial Port to a Virtual Machine