Repository Status "Sync Failed" after upgrade to NSX-T 2.4.0
search cancel

Repository Status "Sync Failed" after upgrade to NSX-T 2.4.0

book

Article ID: 316656

calendar_today

Updated On:

Products

VMware NSX Networking

Issue/Introduction

Symptoms:
The following symptoms are observed
  •  System -> Overview page Repository Sync status is red with error "Sync Failed"
  •  The problem is seen after upgrading NSX-T from 2.3.0/2.3.1 to 2.4.0
  •  On the NSX Manager the following messages are printed in /var/log/proton/nsxapi.log
       21:38:34.643Z INFO coordinationEventsProcessor-1 RepoSyncServiceImpl - CLUSTER_NODE_VM_DEPLOYMENT [nsx@6876 comp="nsx-manager" subcomp="manager"] Manager node node id = <UUID>
       21:38:34.976Z INFO coordinationEventsProcessor-1 RepoSyncServiceImpl - CLUSTER_NODE_VM_DEPLOYMENT [nsx@6876 comp="nsx-manager" subcomp="manager"] Executed RepoSync Helper. Result = CommandResultImpl [commandName=null, pid=7675, status=SUCCESS, errorCode=0, errorMessage=null, commandOutput=null]
       21:38:34.980Z INFO coordinationEventsProcessor-1 RepoSyncServiceImpl - CLUSTER_NODE_VM_DEPLOYMENT [nsx@6876 comp="nsx-manager" subcomp="manager"] Result status is FAILED , Hence ignoring it.


Environment

VMware NSX-T Data Center

Cause

This issue occurs because of a sync issue that occurred prior to upgrade in NSX-T version 2.3.0/2.3.1.
Following upgrade, even though the sync is now successful, the repo sync status is stuck in a failed state.

Resolution

This issue has been resolved in NSX-T Data Center 2.4.0 and cannot occur in future upgrades from that release.

Workaround:
To workaround the issue perform a manual repo sync using the API

POST https://NSX_Manager/api/v1/cluster/node?action=repo_sync
Example: curl -v -k  -H "Content-Type:application/json" -u admin -X POST 'https://<NSX-Manager-IP>/api/v1/cluster/node?action=repo_sync'