<html><body><div style="font-family: times new roman, new york, times, serif; font-size: 12pt; color: #000000"><div><br></div><div><br></div><blockquote style="border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><div class="moz-cite-prefix">Le 07/01/2014 10:44,
      <a class="moz-txt-link-abbreviated" href="mailto:diogo@diogoleal.com" target="_blank">diogo@diogoleal.com</a> a écrit :<br></div><blockquote cite="mid:1979719178.893537.1389087866030.JavaMail.zimbra@diogoleal.com"><pre>Hello,</pre></blockquote>
    Hello Diogo.<br><blockquote cite="mid:1979719178.893537.1389087866030.JavaMail.zimbra@diogoleal.com"><pre> 

I set up a server with Rudder 2.6 (stable) and registered a node.

I can read the inventory information, but the status of all rules are "No answer".



When I run the command below in node:

 /var/rudder/cfengine-community/bin/cf-agent -KI

I get the following message:

R: @@Common@@log_info@@hasPolicyServer-root@@common-root@@00@@common@@StartRun@@2014-01-07 07:40:45-02:00##dda3cba8-f6ca-4766-a3cb-09d61f53f6c5@#Start execution
Can't stat /var/rudder/share/dda3cba8-f6ca-4766-a3cb-09d61f53f6c5/rules/cfengine-community/rudder_promises_generated in files.copyfrom promise
R: @@Common@@result_error@@hasPolicyServer-root@@common-root@@00@@Update@@None@@2014-01-07 07:40:45-02:00##dda3cba8-f6ca-4766-a3cb-09d61f53f6c5@#Cannot update node's policy or dependencies
R: @@Common@@result_success@@hasPolicyServer-root@@common-root@@00@@Security parameters@@None@@2014-01-07 07:40:45-02:00##dda3cba8-f6ca-4766-a3cb-09d61f53f6c5@#The internal environment security is acceptable
R: @@Common@@result_success@@&TRACKINGKEY&@@Process checking@@None@@2014-01-07 07:40:45-02:00##dda3cba8-f6ca-4766-a3cb-09d61f53f6c5@#There is an acceptable number of cf-execd processes (between 0 and 2) and cf-agent processes (between 0 and 5)
R: @@Common@@result_success@@hasPolicyServer-root@@common-root@@00@@CRON Daemon@@None@@2014-01-07 07:40:45-02:00##dda3cba8-f6ca-4766-a3cb-09d61f53f6c5@#The CRON daemon is running
R: @@Common@@result_success@@hasPolicyServer-root@@common-root@@00@@Binaries update@@None@@2014-01-07 07:40:45-02:00##dda3cba8-f6ca-4766-a3cb-09d61f53f6c5@#The CFengine binaries in /var/rudder/cfengine-community/bin are up to date
 -> Executing '/usr/bin/curl -s -f --proxy '' -o "/var/rudder/tmp/uuid.txt" <a class="moz-txt-link-freetext" href="http://rudder.eng.infolink.com.br/uuid" target="_blank">http://rudder.eng.infolink.com.br/uuid</a>' ... (no timeout)
 -> Completed execution of /usr/bin/curl -s -f --proxy '' -o "/var/rudder/tmp/uuid.txt" <a class="moz-txt-link-freetext" href="http://rudder.eng.infolink.com.br/uuid" target="_blank">http://rudder.eng.infolink.com.br/uuid</a>
R: @@Inventory@@log_info@@inventory-all@@inventory-all@@00@@inventory@@None@@2014-01-07 07:40:45-02:00##dda3cba8-f6ca-4766-a3cb-09d61f53f6c5@#An inventory was already sent less than 8 hours ago
R: @@Inventory@@result_success@@inventory-all@@inventory-all@@00@@inventory@@None@@2014-01-07 07:40:45-02:00##dda3cba8-f6ca-4766-a3cb-09d61f53f6c5@#Next inventory scheduled between 00:00 and 06:00
R: @@Common@@log_info@@hasPolicyServer-root@@common-root@@00@@common@@EndRun@@2014-01-07 07:40:45-02:00##dda3cba8-f6ca-4766-a3cb-09d61f53f6c5@#End execution
</pre></blockquote><br>
    It seems your node could not update its promises as this line
    explain<br><pre>R: @@Common@@result_error@@hasPolicyServer-root@@common-root@@00@@Update@@None@@2014-01-07 07:40:45-02:00##dda3cba8-f6ca-4766-a3cb-09d61f53f6c5@#Cannot update node's policy or dependencies

</pre>
    That must be a DNS problem, can you check that both the server and
    node resolve each other IP and adapt /etc/hosts file?<br><br>
    I just created a page on Rudder project website that summarize some
    leads to check if you have a not answering node: <a href="https://www.rudder-project.org/site/documentation/faq/some-reports-are-in-no-answer-for-a-node/" target="_blank">https://www.rudder-project.org/site/documentation/faq/some-reports-are-in-no-answer-for-a-node/</a><br><br>
    Is this working for you after fixes on DNS ?</blockquote><div><span tabindex="-1" id="result_box" lang="en"><span class="hps">The problem was</span> <span class="hps">in</span> <span class="hps">DNS configuration</span><span>.</span><br><br><span class="hps">Thank you</span> <span class="hps">enough</span> <span class="hps">for your help.</span></span></div><div><br></div><div>Best Regards, <br></div><div><br></div><div><br></div><div><div><br></div><span name="x"></span><br>Diogo Leal [estranho]<br>http://diogoleal.com<br>talk: estranho@jabber-br.org<span name="x"></span></div><div><br></div><blockquote style="border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><br>
    Best regards.<br><br><div class="moz-signature">-- <br><style><!--
    a.redlink:link { color: #962322; text-decoration: none; }
    a.redlink:visited { color: #962322; text-decoration: none; }
    .sig { font-family: sans-serif; font-size: small; }
    .sigsmall { font-family: sans-serif; font-size: x-small; }
  --></style><table class="mceItemTable" width="380" border="0" cellpadding="0" cellspacing="2"><tbody><tr><td colspan="2"><hr></td></tr><tr><td colspan="2"><b><img alt="" src="cid:part2.02070309.05090508@normation.com" width="50" align="left" height="50" hspace="10"> <span class="sig">Vincent Membré</span></b><br><span class="sig"><i>Ingénieur R&D</i></span><br><span class="sig"><a class="redlink" href="http://www.normation.com" target="_blank">Normation</a></span><br data-mce-bogus="1"></td></tr><tr><td colspan="2"><hr></td></tr><tr><td colspan="2"><span class="sigsmall"><b>87 rue de Turbigo,
                  75003 Paris, France</b></span></td></tr><tr><td><span class="sigsmall">Telephone:</span></td><td><span class="sigsmall">+33 (0)1 84 16 06 00</span></td></tr><tr><td><span class="sigsmall">Mobile:</span></td><td><span class="sigsmall">+33 (0)6 10 14 76 78</span></td></tr><tr><td colspan="2"><hr></td></tr></tbody></table></div></blockquote><div><br></div></div></body></html>