/var/log/syslog
2023-09-21T05:14:46.957Z ERROR providerTaskExecutor-87 PolicyProviderUtil 4917 POLICY [nsx@6876 comp="nsx-manager" errorCode="PM0" level="ERROR" subcomp="manager"] Created alarm Alarm [policyPath=/infra/realized-state/enforcement-points/default/logical-ports/infra-########-####-####-####-############-default:########-####-####-####-############-lp/alarms/########-####-####-####-############, message=TX ABORT | Snapshot Time = Token(epoch=2164, sequence=3391905417) | Failed Transaction ID = ########-####-####-####-############ | Offending Address = 3391905445 | Conflict Key = 3E0923C968CFCDDC | Conflict Stream = ########-####-####-####-############ | Cause = CONFLICT | Time = 194 ms,errorId=PROVIDER_INVOCATION_FAILURE, path=null, apiError=null, sourceSiteId=null].
/var/log/upgrade-coordinator/logical-migration.log
2023-10-02T14:52:58.244Z ERROR ViewsGarbageCollector AbstractView 3162186 getLayoutUninterruptibly: Encountered error. Aborting layoutHelper
java.util.concurrent.ExecutionException: java.lang.OutOfMemoryError: Java heap space
2023-10-02T14:56:05.371Z ERROR main Migration 3162186 - [nsx@6876 comp="nsx-manager" errorCode="MP217" level="ERROR" subcomp="manager"] Migration failed
java.lang.RuntimeException: java.util.concurrent.TimeoutException
/image
contains a dump file
migration_oom.hprof.gz
To address this upgrade precheck issue, customers can use the NSX 4.2.2 (or later) upgrade precheck file (.pub file) from the Broadcom download page to successfully complete an NSX Upgrade Precheck. This action only resolves the precheck issue and does not perform the actual NSX upgrade.
If NSX 4.2.2 (or later) is not the target upgrade version, the customer's desired version precheck file should be uploaded after the precheck is complete in order to revert the upgrade to version to the desired version.
Using the NSX 4.2.2 (or later) precheck file as a temporary workaround will not impact the subsequent upgrade to the desired version, provided that the correct version's precheck file is uploaded before initiating the actual upgrade process.
If using above workaround did not resolve the issue, please download the attached logical-migration.jar file from this KB and perform the below steps:
java -Xmx200m -Dcorfu-property-file-path=/opt/vmware/upgrade-coordinator-tomcat/conf/ufo-factory.properties -Djava.io.tmpdir=/opt/vmware/upgrade-coordinator-tomcat/temp -DLog4jContextSelector=org.apache.logging.log4j.core.async.AsyncLoggerContextSelector -Dlog4j.configurationFile=/opt/vmware/upgrade-coordinator-tomcat/conf/log4j2.xml -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.util.logging.config.file=/opt/vmware/upgrade-coordinator-tomcat/conf/logging.properties -Dnsx-service-type=nsx-manager -Dcom.vmware.nsx.management.migration.impl.StaleSegmentPortGPRRMigration.dryRun=true -Dcom.vmware.nsx.management.migration.impl.StaleSegmentPortGPRRMigration.batchSize=30 -Dcom.vmware.nsx.management.migration.impl.StaleSegmentPortGPRRMigration.minAgeThresholdMinutes=1 -Dcom.vmware.nsx.management.migration.impl.StaleSegmentPortGPRRMigration.persistentDataDirPath=/nonconfig/diskonlycorfutable/logical-migration -Dcom.vmware.nsx.management.migration.impl.StaleSegmentPortGPRRMigration.persistentDataModeEnabled=true -cp /opt/vmware/upgrade-coordinator-tomcat/temp/logical-migration.jar com.vmware.nsx.management.migration.impl.StaleSegmentPortGPRRMigration
java -Xmx1g -Dcorfu-property-file-path=/opt/vmware/upgrade-coordinator-tomcat/conf/ufo-factory.properties -Djava.io.tmpdir=/opt/vmware/upgrade-coordinator-tomcat/temp -DLog4jContextSelector=org.apache.logging.log4j.core.async.AsyncLoggerContextSelector -Dlog4j.configurationFile=/opt/vmware/upgrade-coordinator-tomcat/conf/log4j2.xml -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.util.logging.config.file=/opt/vmware/upgrade-coordinator-tomcat/conf/logging.properties -Dnsx-service-type=nsx-manager -Dcom.vmware.nsx.management.migration.impl.StaleSegmentPortGPRRMigration.dryRun=false -Dcom.vmware.nsx.management.migration.impl.StaleSegmentPortGPRRMigration.batchSize=30 -Dcom.vmware.nsx.management.migration.impl.StaleSegmentPortGPRRMigration.maxEntriesToRectify=-1 -Dcom.vmware.nsx.management.migration.impl.StaleSegmentPortGPRRMigration.minAgeThresholdMinutes=1 -Dcom.vmware.nsx.management.migration.impl.StaleSegmentPortGPRRMigration.persistentDataDirPath=/nonconfig/diskonlycorfutable/logical-migration -Dcom.vmware.nsx.management.migration.impl.StaleSegmentPortGPRRMigration.persistentDataModeEnabled=true -cp /opt/vmware/upgrade-coordinator-tomcat/temp/logical-migration.jar com.vmware.nsx.management.migration.impl.StaleSegmentPortGPRRMigration
chown uuc:uuc /var/log/upgrade-coordinator/upgrade-coordinator*log*