VMware NSX
In **upgrade-readiness.component.ts** (Check Upgrade Readiness screen), when the overall upgrade status is **SUCCESS**, the code always resets the wizard to step 1 (Pre-Check Upgrade Bundle) and clears the form:
if (ucStatusSummary?.overall_upgrade_status === UpgradeStatusType.overall_upgrade_status.SUCCESS) {
this.readinessInitialStep = UPGRADE_STEPPER_ITEMS.PRECHECK_READINESS;
this.bundleVersion = '';
this.readinessForm.form.reset();
}
Suggested change is (nsx-app-ui/policy/policy-ui/projects/upgrade/src/app/components/upgrade-readiness/upgrade-readiness.component.ts):
if (ucStatusSummary?.overall_upgrade_status === UpgradeStatusType.overall_upgrade_status.SUCCESS) {
// When UC is already at target version, do not force user to upload PUB again.
// Only reset to PRECHECK_READINESS when UC is not yet updated (e.g. post-upgrade cleanup view).
if (!ucSummaryStateSelector?.upgrade_coordinator_updated) {
this.readinessInitialStep = UPGRADE_STEPPER_ITEMS.PRECHECK_READINESS;
this.bundleVersion = '';
this.readinessForm?.form?.reset();
} else {
this.readinessInitialStep = UPGRADE_STEPPER_ITEMS.RUN_PRECHECKS;
}
}
If you encounter a similar issue, please collect the following API outputs from the NSX Managers and open a support case with Broadcom. - Creating and managing Broadcom cases
https://<nsx-mgr-ip>/api/v1/upgrade/status-summary
https://<nsx-mgr-ip>/api/v1/upgrade/summary
https://<nsx-mgr-ip>/api/v1/upgrade/bundles/latest/status
https://<nsx-mgr-ip>/api/v1/upgrade/pre-upgrade-checks/failures
https://<nsx-mgr-ip>/api/v1/upgrade/history