This KB is to provide resolution for NSX Manager upgrades that fail as a results of null DynamicCriteria domain objects.
Symptoms:
The NSX Management service failed to start after an NSX Manager upgrade from version 6.2.x to 6.3.x, due to "Issue while upgrading DynamicCriteria".
In the NSX Manager's vsm.log file, you may see upgrade failure related error similar to:
WARN localhost-startStop-1 AbstractApplicationContext:486 - Exception encountered during context initialization - cancelling refresh attempt org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dynamicCriteriaUpgradeValidator': Invocation of init method failed; nested exception is com.vmware.vshield.vsm.dynamicmembership.exceptions.DynamicCriteriaUpgradeFailedException: core-services:359:System upgrade failed. Issue while upgrading DynamicCriteria.