Basic things to check: 

   - is the puppet agent running on the host in question - restart if it is not
   - from the master, try a puppet kick -f --ping <host> --debug --trace to see 
why it fails
   - or on the agent, run the puppet agent manually in the foreground with 
--debug and --trace to see what errors are being thrown
   - it likely could be an ssl cert related issue, try deleting the ssl keys on 
the agent host, revoke the cert on the master and re-bootstrap the agent via 
add nodes. 
    
-- Hitesh

On Aug 14, 2012, at 12:59 PM, Artem Ervits wrote:

> Actually I didn’t resolve that issue with editing resolv file. I still get 
> errors on puppet kick. Any common issues with puppet that I could look at? I 
> am still getting connection refused errors. Any help is appreciated.
>  
> From: Artem Ervits [mailto:[email protected]] 
> Sent: Tuesday, August 14, 2012 1:19 PM
> To: [email protected]
> Subject: RE: error at finalizing bootstrapped nodes
>  
> Ok sorry for many posts, I resolved the issue by editing the /etc/resolv.conf 
> on all nodes and removed search my company’s domain and change the ip of the 
> company’s DNS to the ambari master server.
>  
> From: Artem Ervits [mailto:[email protected]] 
> Sent: Tuesday, August 14, 2012 12:59 PM
> To: [email protected]
> Subject: error at finalizing bootstrapped nodes
>  
> Guys, I am trying to deploy a cluster and I keep getting error on this step 
> with a client machine. I am new to Puppet and I was looking at puppet logs 
> and I do see that when I run "puppet agent —test" I get error "Could not 
> request certificate: getaddinfo: Name or service not known". My /etc/hosts 
> file has two nodes 
>  
> ambari09
> client01
>  
> I did notice when I ran "puppetca" -l client01, it showed client01 but it 
> appended my company's fqdn to it as it reflects the /etc/resolv.conf which I 
> want to disable because this is a VM install between two machines, I don't 
> want to use DNS FQDN. Could my issues be that? I need the machine to be 
> called client01, not client01.companyname.org? Or is it something else 
> altogether? 
>  
> [2012:08:14 16:13:32][INFO][Add nodes poller][nodesActionProgress.php:54][]: 
> Cluster Name: Cluster01 Root Txn ID: 9
> [2012:08:14 16:13:36][INFO][Add nodes poller][nodesActionProgress.php:54][]: 
> Cluster Name: Cluster01 Root Txn ID: 9
> [2012:08:14 16:13:41][INFO][Add nodes poller][nodesActionProgress.php:54][]: 
> Cluster Name: Cluster01 Root Txn ID: 9
> [2012:08:14 16:13:46][INFO][Add nodes poller][nodesActionProgress.php:54][]: 
> Cluster Name: Cluster01 Root Txn ID: 9
> [2012:08:14 16:13:51][INFO][Add nodes poller][nodesActionProgress.php:54][]: 
> Cluster Name: Cluster01 Root Txn ID: 9
> [2012:08:14 16:13:56][INFO][Add nodes poller][nodesActionProgress.php:54][]: 
> Cluster Name: Cluster01 Root Txn ID: 9
> [2012:08:14 
> 16:13:57][INFO][PuppetFinalize:txnId=9:subTxnId=104][finalizeNodes.php:177][sign_and_verify_agent]:
>  Puppet cert sign status, totalHosts=2, succeededHostsCount=0, fa$
> [2012:08:14 16:14:00][INFO][Add nodes poller][nodesActionProgress.php:54][]: 
> Cluster Name: Cluster01 Root Txn ID: 9
> [2012:08:14 
> 16:14:02][INFO][PuppetFinalize:txnId=9:subTxnId=104][finalizeNodes.php:219][sign_and_verify_agent]:
>  Ping to puppet agent succeeded for host [localhost]
> [2012:08:14 
> 16:14:02][ERROR][PuppetFinalize:txnId=9:subTxnId=104][finalizeNodes.php:225][sign_and_verify_agent]:
>  Failed to ping puppet agent on host [192.168.56.122]: Connectio$
> [2012:08:14 16:14:05][INFO][Add nodes poller][nodesActionProgress.php:54][]: 
> Cluster Name: Cluster01 Root Txn ID: 9
> $nection refused
> [2012:08:14 
> 16:14:08][ERROR][PuppetFinalize:txnId=9:subTxnId=104][finalizeNodes.php:225][sign_and_verify_agent]:
>  Failed to ping puppet agent on host [192.168.56.122]: Connectio$
> [2012:08:14 
> 16:14:08][INFO][PuppetFinalize:txnId=9:subTxnId=104][finalizeNodes.php:256][sign_and_verify_agent]:
>  Puppet agent ping status, totalHosts=2, succeededHostsCount=1, f$
> [2012:08:14 
> 16:14:08][INFO][PuppetFinalize:txnId=9:subTxnId=104][finalizeNodes.php:276][sign_and_verify_agent]:
>  Completed sign/verify puppet agent for 2 nodes, result=Array
> (
>     [localhost] => Array
>         (
>             [discoveryStatus] => SUCCESS
>             [badHealthReason] =>
>         )
>  
>     [192.168.56.122] => Array
>         (
>             [discoveryStatus] => FAILED
>             [badHealthReason] => Puppet agent ping failed: , error=111, 
> outputLogs=Puppet agent ping failed: [Connection refused]
>         )
>  
> )
>  
>  
> This electronic message is intended to be for the use only of the named 
> recipient, and may contain information that is confidential or privileged. If 
> you are not the intended recipient, you are hereby notified that any 
> disclosure, copying, distribution or use of the contents of this message is 
> strictly prohibited. If you have received this message in error or are not 
> the named recipient, please notify us immediately by contacting the sender at 
> the electronic mail address noted above, and delete and destroy all copies of 
> this message. Thank you.
>  
> --------------------
>  
> This electronic message is intended to be for the use only of the named 
> recipient, and may contain information that is confidential or privileged.  
> If you are not the intended recipient, you are hereby notified that any 
> disclosure, copying, distribution or use of the contents of this message is 
> strictly prohibited.  If you have received this message in error or are not 
> the named recipient, please notify us immediately by contacting the sender at 
> the electronic mail address noted above, and delete and destroy all copies of 
> this message.  Thank you.
>  
>  
> --------------------
>  
> This electronic message is intended to be for the use only of the named 
> recipient, and may contain information that is confidential or privileged.  
> If you are not the intended recipient, you are hereby notified that any 
> disclosure, copying, distribution or use of the contents of this message is 
> strictly prohibited.  If you have received this message in error or are not 
> the named recipient, please notify us immediately by contacting the sender at 
> the electronic mail address noted above, and delete and destroy all copies of 
> this message.  Thank you.
>  
>  
>  
> 
> Confidential Information subject to NYP's (and its affiliates') information 
> management and security policies (http://infonet.nyp.org/QA/HospitalManual).
>  
> --------------------
>  
> This electronic message is intended to be for the use only of the named 
> recipient, and may contain information that is confidential or privileged.  
> If you are not the intended recipient, you are hereby notified that any 
> disclosure, copying, distribution or use of the contents of this message is 
> strictly prohibited.  If you have received this message in error or are not 
> the named recipient, please notify us immediately by contacting the sender at 
> the electronic mail address noted above, and delete and destroy all copies of 
> this message.  Thank you.
>  
>  
> --------------------
>  
> This electronic message is intended to be for the use only of the named 
> recipient, and may contain information that is confidential or privileged.  
> If you are not the intended recipient, you are hereby notified that any 
> disclosure, copying, distribution or use of the contents of this message is 
> strictly prohibited.  If you have received this message in error or are not 
> the named recipient, please notify us immediately by contacting the sender at 
> the electronic mail address noted above, and delete and destroy all copies of 
> this message.  Thank you.
>  
>  
>  
> 
> Confidential Information subject to NYP's (and its affiliates') information 
> management and security policies (http://infonet.nyp.org/QA/HospitalManual).
> --------------------
> 
> This electronic message is intended to be for the use only of the named 
> recipient, and may contain information that is confidential or privileged.  
> If you are not the intended recipient, you are hereby notified that any 
> disclosure, copying, distribution or use of the contents of this message is 
> strictly prohibited.  If you have received this message in error or are not 
> the named recipient, please notify us immediately by contacting the sender at 
> the electronic mail address noted above, and delete and destroy all copies of 
> this message.  Thank you.
> 
> 
> --------------------
> 
> This electronic message is intended to be for the use only of the named 
> recipient, and may contain information that is confidential or privileged.  
> If you are not the intended recipient, you are hereby notified that any 
> disclosure, copying, distribution or use of the contents of this message is 
> strictly prohibited.  If you have received this message in error or are not 
> the named recipient, please notify us immediately by contacting the sender at 
> the electronic mail address noted above, and delete and destroy all copies of 
> this message.  Thank you.
> 
> 
> 
> 

Reply via email to