• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

Yellow Bricks

by Duncan Epping

  • Home
  • Unexplored Territory Podcast
  • HA Deepdive
  • ESXTOP
  • Stickers/Shirts
  • Privacy Policy
  • About
  • Show Search
Hide Search

vSphere 4.1: Datacenter.QueryConnectionInfo failed?

Duncan Epping · Jul 13, 2010 ·

When I was installing vSphere 4.1 ESXi I ran into a problem. I received the following error when I added the ESXi host to my cluster:

Call “Datacenter.QueryConnectionInfo” for object “yellow bricks” on vCenter Server “W2K8-001” failed.

Although the error didn’t make much sense I had the feeling it had something to do with name resolution(This KB article gave a hint I guess). After I added my dns suffix on my NIC it worked. Problem solved.

Related

Server 4.1, bug, Bugs, error, esxi, vcenter, VMware, vSphere

Reader Interactions

Comments

  1. C. Perry says

    31 July, 2010 at 22:21

    Hello Duncan,

    Can you expand on how you added the domain to your nic? I’m getting this error in my home lab and I’ not sure how to implement your fix. 🙂

    Thanks.

  2. Duncan Epping says

    1 August, 2010 at 09:40

    – right click your network adaptor
    – properties on your IP4 stack
    – click advanced
    – got to your DNS TAB
    – add your dns suffix to “dns suffix for this connection”

  3. Daniel Langenhan says

    5 August, 2010 at 04:42

    Hi Duncan,
    I found the same error poping up when adding an ESXi 4.1 host via IP to VC using the WRONG password for the root account.
    D

  4. W Burton says

    24 August, 2010 at 19:26

    One more problem solution involving networking…

    I received this error and found that I could ping the management address from one machine but not another. We are connected to Cisco switches using port channels and I had not connected both nics to the management console. Even when I did connect both nics there was a mismatch in the settings. The VM default for the switch is to load balance on port ID but we needed IP hash to match the Cisco setup.

  5. W Burton says

    24 August, 2010 at 21:24

    update to above…

    You can configure the loadbalance (iphash) from the command line on the console if you are having trouble with communication. I leave it as separate research if you do not know how to get to the local tech support mode command line. Once you get there:

    vim-cmd hostsvc/net/portgroup_set –nicteaming-policy-loadbalance_ip vSwitch0 “Management Network”

  6. Tim Gleed says

    8 September, 2010 at 20:58

    Same issue here. Everything was fine and then vCenter server crashed for an unknown reason, afterwhich it couldn’t connect to the host. I removed the host and tried readding each time getting this error either with IP or DNS name. All DNS was working correctly and suffixes setup as mentioned but still no joy. I rebuilt the host with the same details but still could not add it back to vCenter. In the end I added it using another management port (different IP) and it’s all fine. I haven’t had chance to look into it further or try the original IP again but perhaps there is some corrupt entry in the database?

  7. Richard says

    21 October, 2010 at 00:06

    Hi

    I had the same issue identical setup on two hosts but one kept dropping out after updating to ESX4.1.

    Even though DNS was working I still could not connect host using DNS name.

    To solve the issue I added a host entry on the VirtualCenter server with the ESX hosts details and then it connected fine.

    Richard

  8. JL says

    4 November, 2010 at 02:29

    Does anyone has the solution? Please be more details on the issue discussed, which I try everywhere but still could solve the problem. thanks!

  9. jes says

    13 December, 2010 at 20:47

    hello gentlemen the following fix worked for me , just as ” duncan epping”
    stated it

    – right click your network adaptor
    – properties on your IP4 stack
    – click advanced
    – got to your DNS TAB
    – add your dns suffix to “dns suffix for this connection

  10. ninjazx6r1 says

    2 March, 2011 at 18:38

    Had the same message as above, turned out if I used an AD account, the operation completed successfully. The Sr. Vmware Admin had configured AD so ESX Admins accounts worked to perform the “Add Hosts”.

  11. dil says

    12 March, 2011 at 17:53

    After a brief power outage i couldnt connect my vc to esx. Using vc 4 and esx 4.1 and this all happened after a brief power outage. I tired all of the responses above but still no joy, please help!!!! my boss will kill me otherwise!

  12. Cre.sa says

    4 May, 2011 at 20:33

    Hello Guys,

    When I had similar problem I did something like this:

    1. Log on to ESX console as root of course,
    2. Write simple command as /etc/init.d/network restart
    3. After shutting down and bringing up the vmnics for management problem has gone.

    I hope its helpful.

    Regards,
    cre.sa

  13. Steve says

    19 May, 2011 at 22:07

    I suffered with this issue and was banging my head against the wall. Ping worked, dns was configured correctly, but no luck. I connected directly to the host through the vShere client, and changed the ip address for the management network… tada all is well. Very bizarre problem that I spent hours on and changing the ip fixed it in about 30 seconds.

  14. Vinayak says

    22 May, 2011 at 20:51

    Guys

    I had similar problem today.

    There was be ip address confict. When I resolved that the problem still continued.

    I had to do ipconfig /flushdns to flush the earlier mapping of hostname to ip to get the renewed ip.

    As soon as that was done, I was good.

  15. Manu says

    12 July, 2011 at 23:41

    I had the exact same issue and tried all the above. However, I determined that the my problem was having an IP address conflict. I have a cisco server and I had the CIMC utility using the same IP address as the server. I changed that and was able to add the server.

    hope this helps

  16. Tracy V says

    18 August, 2011 at 20:19

    I have tried the above and nothing works, there is not an IP address conflict. DNS is configured the same on both hosts. I have tried adding that connection info to the vCenter server NIC and nada.

    I did try the ipconfig /flushdns as well on the vCenter server.

    Does anyone have any other suggestions?

    Thanks!

    Tracy V

  17. Tom Howarth says

    24 November, 2011 at 13:30

    Duncan,

    I know this is an old post, but quick question. which Nic are you refering too? the NIC of the client or the NIC of the vCenter.

    • Duncan says

      24 November, 2011 at 14:32

      vCenter in my case.

  18. rggfs says

    4 January, 2012 at 12:35

    how can I stop the vlan service?cause I meet the same problem after I distribute a vlan port for every network.

  19. Stivo says

    25 January, 2012 at 00:50

    I get the same error when I set up my VMotion network AFTER I have add the ESXi to VC.

    The problem was that I had changed the VMkernel Default Gateway when I set up the VMotion network :-(. When I changed back to the right IP on the VMkernel Network everything was OK and I can add the ESXi to VC again!

  20. Sushil says

    22 February, 2012 at 08:58

    thanks cre.sa , your steps worked for my lab environment had same issue.
    once again thanks

  21. Jaime Porras says

    19 July, 2012 at 15:56

    Executing “Restore Network Settings” in the ESXi Console and then re-IP’ing the Management Interface worked for me.

    Jaime Porras

  22. jiewan says

    10 October, 2012 at 12:16

    logon on the console,

    restart the management Agents
    connect the server (vsphere client)

    and it’s work for us

  23. Mark says

    1 November, 2012 at 19:39

    This just worked for me. I was confused at first after checking the suffix on the machine I was running vSphere Client from and found it to be set correctly.

    The machine running vCenter, however, did not have a suffix configured. After doing so, adding the host went without issue. I didn’t have to restart anything.

    Thanks Duncan! Love your blog and books.

  24. Ryan says

    11 July, 2013 at 16:51

    I had this issue when attempting to add new hosts to vCenter. Using the ip address worked, but not the host name. I tried it with the FQDN and it worked properly.

Primary Sidebar

About the Author

Duncan Epping is a Chief Technologist and Distinguished Engineering Architect at Broadcom. Besides writing on Yellow-Bricks, Duncan is the co-author of the vSAN Deep Dive and the vSphere Clustering Deep Dive book series. Duncan is also the host of the Unexplored Territory Podcast.

Follow Us

  • X
  • Spotify
  • RSS Feed
  • LinkedIn

Recommended Book(s)

Advertisements




Copyright Yellow-Bricks.com © 2025 · Log in