Error connection Fleet management node, try again" or you may receive the error "Unexpected error occurred during request" /var/log/vrlcm/vmware_vrlcm.log The Fleet Management appliance shows a message similar to: Exception while creating Environment: com.vmware.vrealize.lcm.lcops.common.exception.InvalidEnvironmentException: Deployment or Import Blocked: You’ve reached the limit of allowed instances for VCF Operations (maximum: 1). Please check your inventory and remove any existing deployed, failed or draft instance(s) to proceed with the new deployment or import
/storage/log/vcops/log/casa/casa.log.
ERROR casa 1526 [####@####threadId="192" threadName="ajp-nio-127.0.0.1-8011-exec-9" requestId="#######"] [com.vmware.vcops.casa.fleetmanagement.FleetManagementNodeService.handleNodeAddition:156] - Exception during node addition: com.vmware.vcops.casa.exception.CasaLocalizableException: CasaLocalizableException: key=fleet.node.management.unexpected.service.error; args=org.springframework.web.client.HttpServerErrorException$BadGateway: 502 Bad Gateway: "<html><EOL><EOL><head><title>502 Bad Gateway</title></head><EOL><EOL><body><EOL><EOL><center><h1>502 Bad Gateway</h1></center><EOL><EOL><hr><center>nginx</center><EOL><EOL></body><EOL><EOL></html><EOL><EOL>"; cause= at com.vmware.vcops.casa.fleetmanagement.lcm.LCMInternalService.doLcmCallWithResponse(LCMInternalService.java:135) ~[classes/:?]The initial connection attempt failed due to some error and the second attempt is failing because the Fleet Management appliance has a partial entry for the failed connection.
Remove the VCF Fleet Management appliance from vCenter which is failing to register with VCF Operations
Deploy a fresh VCF Fleet Management appliance. Deploy the VCF Operations fleet management Appliance
Note: Download a fresh copy of the OVA file to ensure file integrity and rule out potential version mismatches.
Attempt the registration again
If it fails, examine the /storage/log/vcops/log/casa/casa.log in the VCF Operations appliance and the /var/log/vrlcm/vmware_vrlcm.log on the Fleet Management appliance.
Resolve any problem presented in the above logs.
This issue might also occur if you deployed the Fleet Management appliance in a Greenfield Setup, but the DNS configuration did not get applied properly during the OVA deployment. To properly set DNS, follow the KB - VCF Operations Fleet Management loses its networking configuration on reboot or during upgrade to 9.0.1
IMPORTANT: The manual redeployment steps in this article should only be used when the Fleet Manager has never been connected to VCF Operations. If the appliance was previously connected, redeploying using this method may result in stale database records that block the new appliance from connecting.
If you have already performed a redeployment and are unable to connect the node in the Admin UI, facing the error "Error connecting Fleet management node, try again," perform the following checks:
Persistent Connection Failures
If you are unable to successfully redeploy and continually receive the connection error after verifying the above, you may have stale environment records in the node database. In this scenario:
Subscribe to this knowledge article to receive email notifications regarding updates to Fleet Management redeployment processes.