VxRail: vMotion falla con el error "No se puede preparar la migración. La dirección de red no es válida para la traducción"

Summary: Cómo solucionar un problema de vMotion que falla en la etapa inicial debido a un error de validación de red, a pesar de que el puerto VMkernel de vMotion está configurado correctamente. ...

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Symptoms

El tiempo de inactividad no implica realizar una solución alternativa para este problema.
Sería necesario reiniciar el servicio vpxa para aplicar los cambios implementados en el host ESXi identificado.

La migración de una máquina virtual falla con el siguiente error:
 Unable to prepare migration. Network address is not valid for translation.

Se pueden encontrar entradas similares en el archivo vmware.log.

vmware.log:
2019-04-22T10:31:00.410Z| vmx| I125: VigorTransportProcessClientPayload: opID=ju2ei8q0-213690-auto-4kvv-h5:70071372-69-01-b7-7b41 seq=2144: Receiving Migrate.PrepareSource request.
2019-04-22T10:31:00.410Z| vmx| I125: MigrateVMStrToIpAddr: Invalid IP address vxrail03.xyz.com specified.
2019-04-22T10:31:00.410Z| vmx| I125: MigrateVMXdrToSpec: type: 1 srcIp=<192.168.20.113> dstIp=<192.168.20.115> mid=4b2cdde2919b8679


Debajo se pueden ver las entradas en hostd.log archivo del host ESXi donde está registrada la máquina virtual.

hostd.log:
opID=ju2ei8q0-214059-auto-4l64-h5:70071467-cd-01-9f-7e16 user=vpxuser:VSPHERE.LOCAL\Administrator] VMotionPrepare: srcMgmtIp=192.168.x.x
2019-04-22T10:38:24.616Z info hostd[2100849] [Originator@6876 sub=Vmsvc.vm:/vmfs/volumes/vsan:52fb3189d1ada8ae-cf21c9911c958035/ede1b75c-a8af-6988-3359-e4434b4db68c/VFM-CRM.vmx opID=ju2ei8q0-214059-auto-4l64-h5:70071467-cd-01-9f-7e16 user=vpxuser:VSPHERE.LOCAL\Administrator] VMotionPrepare: dstMgmtIp=vxrail03.xyz.com
2019-04-22T10:38:24.616Z info hostd[2100849] [Originator@6876

Cause

Este problema se produce si el parámetro de IP de administración de origen o destino se actualiza con un nombre de host ESXi, en lugar de una dirección IP.

Resolution

Solución alternativa:

Inicie sesión en el host ESXi a través de SSH

Ejecute los siguientes comandos en orden.

  cd /etc/vmware/vpxa/
  cp vpxa.cfg vpxa_backup.cfg
  vi vpxa.cfg
Locate the <hostIp> YOURHOSTNAME</hostIp> line and modify the hostname to IP address of the host.
Type Esc followed by :wq!
Restart the VPXA service.
Article Properties
Article Number: 000040071
Article Type: Solution
Last Modified: 29 May 2025
Version:  4
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.