I could not add an ESXi host to a vCenter nor could I login to it directly using vSphere client. It says I do not have permission. This is odd because root should have all the permissions in the world. The problem was Locked down Mode. I had totally forgotten about it, never had any reason to enable it.