<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Le 07/01/2014 10:44,
      <a class="moz-txt-link-abbreviated" href="mailto:diogo@diogoleal.com">diogo@diogoleal.com</a> a écrit :<br>
    </div>
    <blockquote
      cite="mid:1979719178.893537.1389087866030.JavaMail.zimbra@diogoleal.com"
      type="cite">
      <pre wrap="">Hello,</pre>
    </blockquote>
    Hello Diogo.<br>
    <blockquote
      cite="mid:1979719178.893537.1389087866030.JavaMail.zimbra@diogoleal.com"
      type="cite">
      <pre wrap=""> 

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">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">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 wrap="">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/">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 ?<br>
    <br>
    Best regards.<br>
    <br>
    <div class="moz-signature">-- <br>
      <meta content="text/html; charset=ISO-8859-1"
        http-equiv="Content-Type">
      <style type="text/css"><!--
    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 border="0" cellpadding="0" cellspacing="2" width="380">
        <tbody>
          <tr>
            <td colspan="2">
              <hr></td>
          </tr>
          <tr>
            <td colspan="2"><b><img alt=""
                  src="cid:part2.02070309.05090508@normation.com"
                  align="left" height="50" hspace="10" width="50"> <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">Normation</a></span> </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>
  </body>
</html>