VMware Cloud Community
harrygunter
Enthusiast
Enthusiast

Auto Deploy host not adding into VC

Hi all,

Just setting up auto deploy and can't get the hosts to appear in the VC, if I add them manually they go in no problem.

I've check the dns and reverse lookups, all ok there.

I have attached a host profile to the auto deploy rule and that runs ok but just doesnt add the host in?

The VC and auto deploy servers are on the same network and site with the hosts management network on a different network and site, i've checked 902, 443, 80 and all seem ok (the host adds in manually anyway so dont see its a firewall problem)

In the Application event logs in the auto deploy i get a lot of event id 1's with plugins:ERROR....

I've uninstalled and re-installed / registered it but still throws out the same errors?

Any ideas?

Cheers

Mark

0 Kudos
4 Replies
jdptechnc
Expert
Expert

Can you share the output of the PowerCLI cmdlet:

get-deployruleset | fl

Are you seeing anything in the vCenter logs or the AutoDeploy logs in the vCenter client?  Does the status of the AutoDeploy service check out OK as viewed by the vCenter client?

Are you using vCenter Server installable or the vCenter appliance?

Here's a useful KB article:

http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=200098...

Please consider marking as "helpful", if you find this post useful. Thanks!... IT Guy since 12/2000... Virtual since 10/2006... VCAP-DCA #2222
0 Kudos
harrygunter
Enthusiast
Enthusiast

Hi, thanks for the response..

Rueset as follows.

PowerCLI C:\Program Files (x86)\VMware\Infrastructure\vSphere PowerCLI> Get-DeployRuleset


Name        : 5.1.0-799733-HA-NetApp
PatternList : {ipv4=10.11.40.100-10.11.40.110}
ItemList    : {Stateless}

AutoDeploy service running and green in VC.

The VC is a 2008r2 box, AutoDeploy is a 2008r2 box on the same subnet, host in a different site on a different subnet.

Now if I add a host profile onto the auto deploy rule the host profile attaches to the host but the host still does not add into the VC.

I have looked at the autodeploy logs and the error seems to start from the lines below

2013-02-21 15:53:30,517 [3008]ERROR:addhost:hostd is not up yet
2013-02-21 15:53:30,517 [3008]ERROR:plugins:exception:rbdplugins.addhost.vmwHandleCgi -- [Errno 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond
Traceback (most recent call last):
  File "rbd\plugins.pyc", line 201, in _curry
  File "rbdplugins\addhost.pyc", line 900, in vmwHandleCgi
  File "rbdplugins\addhost.pyc", line 693, in setupConnection
  File "pyVmomi\VmomiSupport.pyc", line 542, in <lambda>
  File "pyVmomi\VmomiSupport.pyc", line 351, in _InvokeMethod
  File "pyVmomi\SoapAdapter.pyc", line 1153, in InvokeMethod
  File "pyVmomi\SoapAdapter.pyc", line 1238, in GetConnection
  File "pyVmomi\SoapAdapter.pyc", line 855, in _VerifyThumbprint
  File "pyVmomi\SoapAdapter.pyc", line 1268, in ConnectDisableNagle
  File "pyVmomi\SoapAdapter.pyc", line 903, in connect
  File "httplib.pyc", line 1069, in connect
  File "socket.pyc", line 512, in create_connection
error: [Errno 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond
2013-02-21 15:53:30,517 [3008]ERROR:director:CGI handler failed -- [Errno 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond
Traceback (most recent call last):
  File "rbd\waiter\cgi\director.pyc", line 1553, in do_GET
  File "rbd\waiter\cgi\director.pyc", line 1513, in handler
  File "rbd\plugins.pyc", line 201, in _curry
  File "rbdplugins\addhost.pyc", line 900, in vmwHandleCgi
  File "rbdplugins\addhost.pyc", line 693, in setupConnection
  File "pyVmomi\VmomiSupport.pyc", line 542, in <lambda>
  File "pyVmomi\VmomiSupport.pyc", line 351, in _InvokeMethod
  File "pyVmomi\SoapAdapter.pyc", line 1153, in InvokeMethod
  File "pyVmomi\SoapAdapter.pyc", line 1238, in GetConnection
  File "pyVmomi\SoapAdapter.pyc", line 855, in _VerifyThumbprint
  File "pyVmomi\SoapAdapter.pyc", line 1268, in ConnectDisableNagle
  File "pyVmomi\SoapAdapter.pyc", line 903, in connect
  File "httplib.pyc", line 1069, in connect
  File "socket.pyc", line 512, in create_connection

I've uninstalled autodeploy and re-installed it but get the same result.

Cheers

Mark

0 Kudos
ramkrishna1
Enthusiast
Enthusiast

Hi

Welcome to the communities.

It seems some problem network  or firewall port blocking .

Please do all telnet & tracert to find out the break.

"concentrate the mind on the  present moment.".
0 Kudos
harrygunter
Enthusiast
Enthusiast

Hi,

Surely if I can add the host in manually then it's not a firewall issue?

I have checked 902, 443, and 80 from vc to host and all is fine there.

6501 from autodeploy to host is fine also.

Cheers

Mark

0 Kudos