Reregistering NSX-T compute manager error "Compute Manager is already registered with another NSX-T instance"
search cancel

Reregistering NSX-T compute manager error "Compute Manager is already registered with another NSX-T instance"

book

Article ID: 376025

calendar_today

Updated On:

Products

VMware NSX

Issue/Introduction

  • NSX-T version 3.x or 4.1.x.
  • Compute manager 'Connection Status' is in 'Down' and 'Registration Status' is 'Not Registered'.
  • Editing the compute manager with correct vCenter credentials, leads to Registration Status as 'In Progress'.
  • In the NSX-T manager log /var/log/proton/nsxapi.log we see the following:

WARN ExecutorChannel-455411737 CorfuDbTransactionManager 9899 - [nsx@6876 comp="nsx-manager" level="WARNING" subcomp="manager"] com.vmware.nsx.management.container.exceptions.ConcurrentUpdateException: STREAM_ID = ########-39cf-abc4-############| CONFLICT_VALUE = ComputeManagerStatusModel [version=7.0.3, connectionStatus=DOWN, connectionStatusDetails=null, registrationStatus=UNREGISTERED, cmPluginStatus=INITIALIZED, cmPluginStatusDetails=null, externalId=null, reverseProxyHttpPort=80, [email protected], lastFullSyncTime=<date epoch value>, originProperties={fullName=VMware vCenter Server 7.0.3 build-20395099, localeVersion=INTL, version=7.0.3, originComputeManagerDescription=, apiVersion=7.0.3.0, build=20395099, vendor=VMware, Inc., licenseProductName=VMware VirtualCenter Server, name=VMware vCenter Server, osType=linux-x64, instanceUuid=########-8f49-4ed7-a774-############, originComputeManagerName=VMware vCenter Server, localeBuild=000, licenseProductVersion=7.0, apiType=VirtualCenter, productLineId=vpx}, warnings=[], errors=[com.vmware.nsx.management.computemanager.model.ErrorInfo@6c088f9], registrationErrors=[com.vmware.nsx.management.computemanager.model.ErrorInfo@11d63434], oidcEndpointEntityId=####################] | CONFLICT_KEY_HASH = ####2589647234#### | CONFLICT_KEY = ComputeManagerStatusModel/########-ff62-4120-87a9-############ | MAP_NAME = nsx-manager ComputeManagerStatusModel 674e | TRANSACTION_ID = ########-53e9-48a8-9277-############ | OFFENDING_ADDRESS = ####452561

INFO ExecutorChannel-1263317758 ClusterManagerUtil 9899 - [nsx@6876 comp="nsx-manager" level="INFO" subcomp="manager"] Sending request to cluster manager with api path http://localhost:7441/api/v1/cluster/api-virtual-ip

WARN ExecutorChannel-455411737 CmInventoryService 9899 FABRIC [nsx@6876 comp="nsx-manager" level="WARNING" subcomp="manager"] ConcurrentUpdate exception occurred, retrying update for cm status model <compute-manager-UUID>
com.vmware.nsx.management.container.exceptions.ConcurrentUpdateException: Operation failed because of conflicting transaction. Transaction ID: d8ea9aad-####-####-####-####6a3573b9 Address: 3639452561

Environment

VMware NSX

Cause

This issue can occur when a compute manager registration was being updated at the same time the system was updating the compute manager, this leads to a concurrent DB exception and registration never completes and remains in a pending state.

Resolution

This issue is resolved in VMware NSX 4.2.0 available at Broadcom Downloads., which prevents the concurrent operation from occurring.
If you are having difficulty finding and downloading software, please review the Download Broadcom products and software KB.

If you believe you have encountered this issue, please open a support case with Broadcom Support and refer to this KB article.

For more information, see Creating and managing Broadcom support cases.