V2T migration fails to uninstall NSX-V VIBs due to a host null exception
search cancel

V2T migration fails to uninstall NSX-V VIBs due to a host null exception

book

Article ID: 324213

calendar_today

Updated On:

Products

VMware NSX Networking

Issue/Introduction

Symptoms:
  • NSX Migration from V to T using Migration Coordinator
  • NSX-T versions prior to 3.1.2
  • ESXi Host migration fails with the UI error
Unexpected error while upgrading upgrade unit: Failed to uninstall NSX-V vibs of host <UUID>:host-X due to VI SDK invoke exception:java.lang.IllegalArgumentException: protocol = https host = null.
  • NSX manager logging in /var/log/syslog may be similar to this example
2021-08-14T10:37:31.529Z mgr01 NSX 17178 SYSTEM [nsx@6876 comp="nsx-manager" level="INFO" subcomp="upgrade-coordinator"] Execution monitor service invoked to react to failure of node <UUID>:host-X [Failed to uninstall NSX-V vibs of host <UUID>:host-X due to VI SDK invoke exception:java.lang.IllegalArgumentException: protocol = https host = null.]


Environment

VMware NSX-T Data Center
VMware NSX-T Data Center 3.x

Cause

This failure occurs due to a parsing issue when processing the vmk interfaces retrieved from the ESXi host.

Resolution

This issue is resolved in NSX-T Data Center 3.1.2, see VMware Downloads .

Workaround:
Some environments may have multiple vmkernel interfaces on an ESXi host configured for management.

For example the following configuration used by VxRail would experience this issue

vmk0 - management - IPv6 address only
vmk2 - management - IPv4 address

To workaround this issue, using the vSphere client uncheck management from vmk0 and retry the migration.