/var/log/syslog.log
, we may see messages similar to below:2024-11-15T14:13:01.863Z IT-VCNSXTM-01 NSX 3312 SYSTEM [nsx@6876 comp="nsx-manager" level="INFO" subcomp="upgrade-coordinator"] [PUC] Finish Upgrade Evaluation Tool execution check on component MP. Result -- BasicInspectionTaskResult{status=FAILURE, taskInfo=InspectionTaskInfo[acknowledgement=false,componentType=MP,description=Prompts user to execute Upgrade Evaluation Tool before proceeding with upgrade.,id=upgradeEvaluationToolCheck,name=Upgrade Evaluation Tool execution check,needsAcknowledgement=false,needsResolution=false,resolution=false,resolutionError=<null>], failureMessages=null, failures=[{"moduleName":"upgrade-coordinator","errorCode":36000,"errorMessage":"NSX Manager upgrade dry run failed. Do not proceed with the upgrade. Please collect the support bundle and contact VMWare GS. Failed migrations: Calculating effort for AlbControllerOnboardingMigrationTask. Exception during Data migration#012"}]}
/var/log/upgrade-coordinator/logical-migration.log
, we may see messages similar to below:2024-11-15T14:02:05.938Z WARN pool-13-thread-1 UfoCorfuTableMigrator 1192693 - [nsx@6876 comp="nsx-manager" level="WARNING" subcomp="manager"] ERROR while finding effort for logical migration MappingDetails{name='AlbControllerOnboardingMigrationTask', runForTheseFromVersions='3.2.0,3.2.1,3.2.2,3.2.3,4.0,4.1.0,4.1.1', targetVersion='4.1.2', modelName='null', migrationType=null, reason='This migration task will run for migrations from 3.2 to 4.1.2. It will update ALBControllerAdminCreds entity.', customMigratorClassName='com.vmware.nsx.management.migration.impl.AlbControllerOnboardingMigrationTask', fieldMappings=null, targetProtoName='null', requiresCustomCode='false', owner='null', apiToTest='null', weight='1.0', impactedTables='ALBControllerAdminCreds', cleanup='false', enabled'false', diskBacked'false', triggerMode'null', supportsResolve'false', component'null'}
VMware NSX
VMware NSX-T Data Center
If the ALB-LCM is newly configured on NSX version 4.1.x, owing to protocol changes, the upgrade pre-check / dry run fails with the above mentioned error. If the configuration is coming from the pre-4.1.x versions of NSX, the upgrade won't encounter this issue.
The issue is resolved in NSX version 4.1.2 which, can be downloaded from Broadcom Support Portal.
Alternatively, as a workaround, we can follow the below steps:
corfu_tool_runner.py -n nsx -o showTable -t ALBControllerAdminCreds > /image/alb-creds.dump
DELETE https://<nsx_manager_ip>/policy/api/v1/infra/alb-onboarding-workflow/LCM
PUT https://<nsx_manager_ip>/policy/api/v1/infra/alb-onboarding-workflow
{
"owned_by": "LCM",
"cluster_ip": "<controller-ip>",
"infra_admin_username": "nsxt-infra-admin",
"infra_admin_password": "<controller-password>",
"ntp_servers": [],
"dns_servers": []
}
nsx_manager_ip
>, <controller-ip
>, and <controller-password
> with actual values. Get value of "infra_admin_password
" from the /image/alb-creds.dump
file.**Note**: In case where TKGi is integrated with this ALB / NSX, the above workaround will break the integration of TKGi and ALB. Though the existing TKGi setup continues to work, no further changes can be made until the ALB-LCM workflow is onboarded. Therefore, in such an integration, we have two options: