Had an annoying error today while trying to add a ESX 4.1 host to DataCenter:
Call “datacenter.queryconnectioninfo” for object “DC or Cluster Name” on vCenter Server “vCenter” failed.
Firstly I thought my password may be wrong for the host, it wasn’t!
Then, maybe my new host is in maintenance mode, it wasn’t!
Finally, and really it should of been obvious to me:
I’d changed the IP address twice while building the box via the console and had forgotten to enter a new default gateway!So jumped on vSphere for the new host, clicked the Configuration tab, clicked Networking, clicked properties (the one next to Virtual Switch: vSwitch0), click Service Console and edit, click Continue modifying this connection.., clicked IP settings and Added a Service Console Default Gateway! OK’d out
And Bam, added the host to the Datacenter!!