NSX-T Manager Upgrade / Upgrade dry run tool failure - MPObjectPropertiesMigrationTask Exception occurred during UFO migration. java.lang.NullPointerException: null
search cancel

NSX-T Manager Upgrade / Upgrade dry run tool failure - MPObjectPropertiesMigrationTask Exception occurred during UFO migration. java.lang.NullPointerException: null

book

Article ID: 339390

calendar_today

Updated On:

Products

VMware NSX Networking

Issue/Introduction

To provide workaround and resolution for known issue

Symptoms:
Upgrade / Upgrade dry run tool failure is seen

The following is seen -

Upgrade has failed, and retry may not work. Appliance OS is of a new version, however, UI will not be available. Please contact GSS to rollback the system to the previous version.

Location of logs to find related error

/var/log/proton/logical-migration.log

shows below exception while processing GPRR

INFO main MpObjectPropertiesMigrationTask 4738 - [nsx@6876 comp="nsx-manager" level="INFO" subcomp="manager"] processing GPRR GenericPolicyRealizedResource//infra/realized-state/enforcementpoints/default/logical-switches/infra-nimbus-ci-build-60036-H4U6O4-ls

INFO main MpObjectPropertiesMigrationTask 4738 - [nsx@6876 comp="nsx-manager" level="INFO" subcomp="manager"] getMpEntry: mpId: null, mp table : LogicalSwitch

WARN main MpObjectPropertiesMigrationTask 4738 - [nsx@6876 comp="nsx-manager" level="WARNING" subcomp="manager"] MPObjectPropertiesMigrationTask Exception occurred during UFO migration.
java.lang.NullPointerException: null

Run below from NSX manager root console

/opt/vmware/bin/corfu_tool_runner.py -o showTable -n nsx -t GenericPolicyRealizedResource > gprr.txt

within that file search for "realizationObjectId":null instances to identify the Objects that have id null

Environment

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

Cause

Strict checks were added to block data migration for GPRRs without realizationObject id

Resolution

In 4.0.0 and 3.2.2 onwards there is a fix to bypass the check for realization id in the GPRRs

Workaround:
Please contact GSS for possible workaround options

Additional Information

Impact/Risks:
Upgrade / Upgrade dry run failure