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.



Reply via email to