Error: There was an unexpected error occurred while fetching Physical NICs for the host. Please manually enter nic to proceed. (Error code: #####)"Compute Manager <Compute Manager Host Name> cannot be connected, as its thumbprint does not match. Please edit compute manager details if thumbprint is changed. /var/log/cm-inventory/cm-inventory.log, you see entries similar to:<date><> INFO inventoryTasksScheduler4 CmInventoryService 7538 FABRIC [nsx@6876 comp="nsx-manager" level="INFO" subcomp="cm-inventory"] Retrieved cm config info from cm plugin instance, cmPluginStatusData= CmPluginStatusData{id=<id>, server=<name/IP>, cmPluginStatus=CmPluginStatusInfo{status=FAILED, cmConnectionStatus=DOWN, errors=[{"moduleName":"cm-inventory","errorCode":40107,"errorMessage":"Unable to connect to Compute Manager <name/IP>. Please edit compute manager details if FQDN or thumbprint is changed. If the issue persists, please check whether the https port 443 and http port 80 are open in the firewall on all NSX nodes."}, {"moduleName":"cm-inventory","errorCode":40118,"errorMessage":"Compute Manager <name/IP> can not be connected, as its thumbprint does not match. Please edit compute manager details if thumbprint is changed."}]}}
<date><> INFO inventoryTasksScheduler6 CmPluginStateManager ##### SYSTEM [nsx@6876 comp="nsx-manager" level="INFO" subcomp="cm-inventory"] Cm Plugin info found for cm ########-####-####-####-###########. Plugin Info:ComputeManagerPluginInfo{id='########-####-####-####-###########', server=<name/IP>, name='null', description='null', originType='vCenter', version='#.#.#', cmPluginStatus='ComputeManagerPluginStatus{cmId='########-####-####-####-###########', originType='vCenter', cmConnectionStatus='DOWN', cmConnectionStatusDetails='null', pluginStatus='FAILED', errors='[{"moduleName":"cm-inventory","errorCode":40107,"errorMessage":"Unable to connect to Compute Manager <name/IP>. Please edit compute manager details if FQDN or thumbprint is changed. Please check if compute manager certificate is valid and not revoked. If the issue persists, please check whether the https port 443 and http port 80 are open in the firewall on all NSX nodes."}, {"moduleName":"cm-inventory","errorCode":40118,"errorMessage":"Compute Manager <name/IP> cannot be connected, as its thumbprint does not match. Please edit compute manager details if thumbprint is changed."}]', warnings='[]'}', additionalInfo='[]'} . Plugin Status : FAILED
To restore the Compute Manager connection:
echo | openssl s_client -connect localhost:443 2>/dev/null | openssl x509 -noout -fingerprint -sha256
Fingerprint=##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##
If "HTTPS port of Reverse Proxy" is 0, you can not update the compute manager settings due to the issue noted in "Field level validation errors: {value 0 of property reverse_proxy_https_port has violated the minimum valid value 1}" when editing compute manager in NSX.