When attempting to run a precheck prior to upgrading the NSX environment the following error is seen:
Unable to connect to File /repository/<NSX_Version_Here>/UC/bundle_type_pub on source <NSX_Manager_Here>. Please verify that file exists on source and install-upgrade service is up.
After the error is received, when reviewing the NSX Managers within the NSX UI the state for REPO_SYNC status (System > Appliances > View Details on the NSX Manager) is showing as FAILED:
Please note errors and screenshots here may differ slightly based on environment configurations.
VMware NSX 4.1.2.0
This is a known issue impacting VMware NSX. It can be due to a few things:
This issue is resolved in VMware NSX 4.2.0 or later.
Depending on what issue is the root cause will determine which path to resolution should be applied.
Verify if the service is up and running by performing the steps below:
get service install-upgrade to confirm whether this service is running or not
restart service install-upgrade and wait a few minutes before running the get service install-upgrade command to verify if the service is running or not.
If the error is advising that a specific file is missing or cannot be connected to, first verify if the file is actually missing.
Below are few examples of possible error messages:
Unable to connect to File /repository/<NSX_version>/UC/bundle_type_pub on source <nsx_manager_name_here>. Please verify that file exists on source and install-upgrade service is up.Unable to connect to File /repository/<NSX_version>/UC/HostComponent/rhe_179_x86_64_baremetal_server/upgrade.sh on source <nsx_manager_name_here>. Please verify that file exists on source and install-upgrade service is up.Within the syslog of the NSX Manager (/var/log/syslog) the following may be present:
2025-06-11T22:29:12.070Z INFO http-nio-###.#.#.#-####-exec-2 UpgradeQueryServiceImpl 3610031 SYSTEM [nsx@6876 comp="nsx-manager" level="INFO" subcomp="upgrade-coordinator"] Uc Upgrade status is FAILED hence creating bundle status from UcUpgradeStatus{percentage=0, status=FAILED, progressMessages=[], errorMessages=[[##.###.#.###] Unable to connect to File /repository/4.2.2.1.0.24765084/Manager/dry-run/corfu-server-metadata-editor.jar on source <nsx_manager_name_here>. Please verify that file exists on source and install-upgrade service is up., [##.##.##.###] Unable to connect to File /repository/<NSX-version>/Manager/dry-run/corfu-server-metadata-editor.jar on source <nsx_manager_name_here>. Please verify that file exists on source and install-upgrade service is up.], step=REPO_SYNC, upgradeBundleType='PUB'}[nsx@6876 comp="nsx-manager" level="INFO" subcomp="upgrade-coordinator"] response: Response:: status code:200 OK status: body:123 "status" : "FAILED", "status_message" : "", "failure_message" : "Unable to connect to File /repository/<NSX-version>/Manager/dry-run/corfu-server-metadata-editor.jar on source <nsx_manager_name_here>. Please verify that file exists on source and install-upgrade service is up.", "failure_code" : 21057To verify if the file is missing or not perform the following:
ls -l /repository and hit enter to review the directories present.cd <version_listed_in_error>/... to move into the directory specified from the error (for example: this command would be cd <version_listed_in_error>/Manager/dry-run/ as the error stated the path to the file was /repository/<version_listed_in_error>/Manager/dry-run).Copy /repository/ directory to the impacted NSX managers.<version_listed_in_error>/Manager/dry-run/
Open an SSH session to the manager where all the required files are present, and copy the missing files to the impacted NSX managers.#scp -r /repository/ root@<NSX-Manager-IP>:/repository/<version_listed_in_error>/Manager/dry-run/
This command copies the /repository directory recursively to the root directory (/) of host A.B.C.D.
Now the user, group, and permission will need to be check and corrected.
This will recursively set the user and group:#chown -R uuc:grepodir /repository
This will recursively set the required permissions:#chmod -R 770 /repository
ls -l to review the items within that path and verify if the file from the error is present.
/repository/<NSX-version>/Manager/dry-run/corfu-server-metadata-editor.jar then confirmation that the file corfu-server-metadata-editor.jar is needed.Utilizing an API platform such as Postman run the following GET commands for each NSX Manager.
upgrade_coordinator_version section and target_version between the managers.
As the current orchestrator is having issues with successfully syncing with the repository itself, it may be beneficial to change which NSX Manager repository is identified as the "main" repository.
stop service install-upgradeget service install-upgrade. The output for each Manager should be similar to this:set repository-ip and when prompted type yes to continue. The output will look similar to:start service install-upgrade and then verify that service is now running by running the command get service install-upgrade. Confirm that each NSX Manager shows a service state of running before continuingUnable to connect File.... message, please open a Support Ticket with VMware by Broadcom for further assistanceNote:
If none of the above steps fix the issue try workaround options based on deployment of Managers in After replacing Managers or while running Upgrade prechecks, Repo_Sync is Failed. (Workaround may need to be applied to all managers not just the Orchestrator node in the Option: Deploy MUB file in /repository: workaround.)
If you are contacting Broadcom support about this issue, please provide the following: