NSX - Error while running Evaluation Tool on STEP 11 data-migration: "SpanInternalMigrationTask: java.lang.IllegalArgumentException"
search cancel

NSX - Error while running Evaluation Tool on STEP 11 data-migration: "SpanInternalMigrationTask: java.lang.IllegalArgumentException"

book

Article ID: 322042

calendar_today

Updated On:

Products

VMware NSX

Issue/Introduction

  • You aim to Upgrade NSX LM from 3.2.0.1.0.19232396 to 3.2.1.1.0.20115686 but encounter a java.lang.IllegalArgumentException while running Evaluation Tool on STEP 11  [data-migration dry-run]
  • Error shown while running Evaluation Tool --> KB NSX Upgrade Evaluation Tool.
nsxtool> start dry-run data-migration mp-ip ###.###.###.###
Root password of the Remote MP node: 
(1/11) Checking ssh connectivity to the MP node ###.###.###.### with root user...
(2/11) Creating a temporary folder on MP ###.###.###.###
(3/11) Copy Corfu data to the temporary folder on MP ###.###.###.###
(4/11) Copy nsx_issue file to the temporary folder on MP ###.###.###.###
(5/11) Create tar of the temporary folder on MP ###.###.###.###
(6/11) Delete the temporary folder on MP ###.###.###.###
(7/11) Fetching tar containing Corfu data
(8/11) Delete tar file on MP
(9/11) Downloaded corfu tgz file of size 51 MB
(10/11) Loading the fetched Corfu data
(11/11) Starting data-migration dry-run
Running.... Please track progress in /var/log/cloudnet/data-migration.log, /var/log/proton/data-migration.log, /var/log/policy/data-migration.log, /var/log/proton/logical-migration.log
*** WARNING: Some pre-upgrade check(s) failed. Do not proceed with the upgrade. Please collect the support bundle and contact VMWare GSS***
SpanInternalMigrationTask: java.lang.IllegalArgumentException: No payload found for: /global-infra/domains/<name> in table: Domain
  • The following error is observed in /var/log/proton/logical-migration.log:
2022-08-31T15:16:00.388Z INFO main SpanInternalMigrationTask 27721 - [nsx@6876 comp="nsx-manager" level="INFO" subcomp="manager"] Setting internal resource id for resource path /global-infra/domains/<name>
2022-08-31T15:16:00.398Z WARN main SpanInternalMigrationTask 27721 - [nsx@6876 comp="nsx-manager" level="WARNING" subcomp="manager"] Exception occurred while migrating SpanInternal objects.
2022-08-31T15:16:00.398Z WARN main UfoCorfuTableMigrator 27721 - [nsx@6876 comp="nsx-manager" level="WARNING" subcomp="manager"] ERROR while running logical migration MappingDetails{modelName='null', migrationType=null, reason='This migration task will run for migrations from GC/HL/3.2.0 to 3.2.1. It will not run for upgrades from 3.2.1 to Next. From 3.2.1 onwards, to support brownfield onboarding for UFO, the SpanInternal objects will no longer exist, and InternalSpan objects will be used instead. This class will migrate all the SpanInternal objects created in 3.2.0 to InternalSpan objects.', customMigratorClassName='com.vmware.nsx.management.migration.impl.SpanInternalMigrationTask', fieldMappings=null, targetProtoName='null', requiresCustomCode='false', owner='null', apiToTest='null'}
java.lang.RuntimeException: java.lang.IllegalArgumentException: No payload found for: /global-infra/domains/<name> in table: Domain
    at com.vmware.nsx.management.migration.impl.SpanInternalMigrationTask.migrate(SpanInternalMigrationTask.java:130) ~[logical-migration.jar:?]
    at com.vmware.nsx.management.migration.ufo.UfoCorfuTableMigrator.migrate(UfoCorfuTableMigrator.java:138) [logical-migration.jar:?]
    at com.vmware.nsx.management.migration.ufo.UFOMigration.migrate(UFOMigration.java:235) [logical-migration.jar:?]
    at com.vmware.nsx.management.migration.impl.LogicalMigration.executeMigrations(LogicalMigration.java:43) [logical-migration.jar:?]
    at com.vmware.nsx.management.migration.impl.Migration.migrate(Migration.java:46) [logical-migration.jar:?]
    at com.vmware.nsx.management.migration.impl.LogicalMigration.main(LogicalMigration.java:29) [logical-migration.jar:?]
Caused by: java.lang.IllegalArgumentException: No payload found for: /global-infra/domains/<name> in table: Domain

Environment

VMware NSX-T Data Center 3.x

Resolution

If you believe you have encountered this issue, please open a support case with Broadcom Support and refer to this KB article.

For more information, see Creating and managing Broadcom support cases.