"Compute manager server <CM hostname> could not be connected, server might be un-reachable or connection details might be invalid. Please check if compute manager certificate is valid and not revoked. If the issue persists, please check whether the https and http ports of compute manager are open in the firewall on all NSX nodes. (Error code: 7058)"
This is caused by a rare vCenter issue where the root endpoint is missing from the /etc/vmware-rhttpproxy/endpoints.conf.d/vpxd.conf
file.
No vCenter resolution at this time. See workaround to adding missing endpoint to vpxd.conf.
Workaround:
Add the missing root endpoint to vpxd.conf.
root@vcenter[ ~ ]# cp /etc/vmware-rhttpproxy/endpoints.conf.d/vpxd.conf /etc/vmware-rhttpproxy/endpoints.conf.d/vpxd.conf.bk
root@vcenter[ /etc/vmware-rhttpproxy/endpoints.conf.d ]# vim vpxd.conf
root@vcenter[ /etc/vmware-rhttpproxy/endpoints.conf.d ]# cat vpxd.conf
# Endpoint Connection-type Endpoint-address HTTP-access-Mode HTTPS-access-mode
# To support direct access to vpxd without going through API proxy
/Query found 8080 allow reject
/vsan/sdkTunnel namedpipetunnel /var/run/vmware-vsan/vsan-sdkTunnel-pipe allow reject
/ namedpipe /var/run/vpxd/vpxd-webserver-pipe redirect allow
root@vcenter[ /etc/vmware-rhttpproxy/endpoints.conf.d ]#
kill -1 `pidof rhttpproxy`
Alternatively, reboot the VCSA Virtual Machine.