VMware KB Adding an ESX/ESXi host to the vCenter Server inventory fails with the error Call datacenter.queryconnectioninfo for object on vCenter Server failed

I ran into this problem while setting up my lab.  VMware has KB (link below) on this article but wasn’t much help for me, though I always start with the KB.  The fix for me (I had two servers doing this) was to either restart the management agent via the DCUI and then add, or add the host via IP address then remove it from vCenter and re-add.  These may not work for you, but since the KB article didn’t work for me, maybe this will help.

VMware KB: Adding an ESX/ESXi host to the vCenter Server inventory fails with the error: Call “datacenter.queryconnectioninfo” for object on vCenter Server failed.