To provide a workaround and a resolution for the 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, the UI will not be available. Please contact GSS to roll back the system to the previous version.
Location of logs to find related error
/var/log/proton/logical-migration.log
shows an exception below 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/i##r#-n####s-c#-bu###-#0##6-H####4-#s
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 the 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 an id of null
VMware NSX-T Data Center 3.x
VMware NSX-T Data Center 4.x
VMware NSX-T Data Center
Strict checks were added to block data migration for GPRRs without realizationObject id
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