<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix"><br>
      <div class="moz-signature">
        <meta http-equiv="content-type" content="text/html;
          charset=ISO-8859-1">
        <br>
        <div class="moz-signature"><br>
          <meta http-equiv="content-type" content="text/html;
            charset=ISO-8859-1">
          <title></title>
          <br>
        </div>
      </div>
      Le 06/05/2014 10:56, Vincent Membré a écrit :<br>
    </div>
    <blockquote cite="mid:5368A3C2.9020702@normation.com" type="cite">
      <meta content="text/html; charset=ISO-8859-1"
        http-equiv="Content-Type">
      <div class="moz-cite-prefix">Hello Olivier,<br>
        <br>
        answers in line with you comment<br>
        <br>
        <br>
        Le 06/05/2014 09:10, Olivier Desport a écrit :<br>
      </div>
      <blockquote cite="mid:53688AE1.2090705@ac-versailles.fr"
        type="cite">
        <meta content="text/html; charset=ISO-8859-1"
          http-equiv="Content-Type">
        <div class="moz-cite-prefix">rudder-agent : 2.10.0<br>
          rudder-server : 2.9.3<br>
          <div class="moz-signature">
            <meta http-equiv="content-type" content="text/html;
              charset=ISO-8859-1">
            <br>
          </div>
        </div>
      </blockquote>
      <br>
      That should work fine, but still a good information to know that
      :)<br>
      <blockquote cite="mid:53688AE1.2090705@ac-versailles.fr"
        type="cite">
        <div class="moz-cite-prefix">
          <div class="moz-signature">
            <div class="moz-signature"><br>
              <meta http-equiv="content-type" content="text/html;
                charset=ISO-8859-1">
              <title></title>
              <br>
            </div>
          </div>
          Le 06/05/2014 09:06, Olivier Desport a écrit :<br>
        </div>
        <blockquote cite="mid:53688A01.5040507@ac-versailles.fr"
          type="cite">
          <meta http-equiv="content-type" content="text/html;
            charset=ISO-8859-1">
          Hi,<br>
          <br>
          Yesterday, I realized that two nodes don't receive updates
          from rudder server. I decided to delete one of this node on
          the server web interface and to uninstall and re-install
          rudder-agent. <br>
        </blockquote>
      </blockquote>
      <br>
      You don't need to uninstall an reinstall rudder-agent, The fresh
      installed agent would have the same issues. However good idea to
      delete the "old" node in the web interface, since the new one
      would have been a different node to Rudder.<br>
      <br>
      <blockquote cite="mid:53688AE1.2090705@ac-versailles.fr"
        type="cite">
        <blockquote cite="mid:53688A01.5040507@ac-versailles.fr"
          type="cite"> When I launch the command <br>
          <br>
          /var/rudder/cfengine-community/bin/cf-agent -KI<br>
          <br>
          <br>
          The node doesn't appear in the web interface and some error
          appear :<br>
          <br>
          2014-05-06T08:58:14+0200    error: Transformer
          '/var/rudder/inventories/srv-2-2014-05-06-08-47-59.ocs' =>
          '/usr/bin/curl -f -s --proxy '' --user rudder:rudder -T
          /var/rudder/inventories/srv-2-2014-05-06-08-47-59.ocs  <a
            moz-do-not-send="true" class="moz-txt-link-freetext"
            href="http://172.16.0.10/inventories/">http://172.16.0.10/inventories/</a>'
          returned error<br>
          2014-05-06T08:58:14+0200   notice: R:
          @@Inventory@@result_error@@inventory-all@@inventory-all@@00@@inventory@@None@@2014-05-06



          08:58:04+02:00##c0b864da-b1ba-44cc-a83f-0be16176bc0d@#Could
          not send the inventory<br>
          2014-05-06T08:58:14+0200     info: /doInventory/methods/'any':
          Method "sendInventory" failed in some repairs or aborted<br>
          <br>
          <div class="moz-signature">-- <br>
          </div>
        </blockquote>
      </blockquote>
      <br>
      My guess is that you can't access Rudder server on that ip. Maybe
      a firewall blocking the sending of inventory<br>
      <br>
      * Can you ping <span class="moz-txt-link-freetext">172.16.0.10</span>
      from your node?<br>
    </blockquote>
    Yes. Client and server are in the same subnet. No problem for other
    nodes in the same subnet.<br>
    <br>
    <blockquote cite="mid:5368A3C2.9020702@normation.com" type="cite"> *
      Can you paste the result of the following command:<br>
      <blockquote>  /usr/bin/curl -f -s --proxy '' --user rudder:rudder
        -T /var/rudder/inventories/srv-2-2014-05-06-08-47-59.ocs  <a
          moz-do-not-send="true" class="moz-txt-link-freetext"
          href="http://172.16.0.10/inventories/">http://172.16.0.10/inventories/</a><br>
      </blockquote>
    </blockquote>
    No result (no error too) for this command.<br>
    <br>
    <blockquote cite="mid:5368A3C2.9020702@normation.com" type="cite">
      <blockquote> </blockquote>
      <br>
      On the other node that can't update can you run <br>
      <br>
      <blockquote>/var/rudder/cfengine-community/bin/cf-agent -KID
        force_inventory<br>
        <br>
      </blockquote>
      to see if it can't send inventory too ?<br>
    </blockquote>
    <br>
    2014-05-06T11:28:40+0200     info:
    /doInventory/methods/'any'/sendInventory/files/'${g#rudder_inventories}':
    Finished command related to promiser '/var/rudder/inventories' -- an
    error occurred, returned 22<br>
    2014-05-06T11:28:40+0200     info: Automatically promoting context
    scope for 'cant_send_inventory' to namespace visibility, due to
    persistence<br>
    2014-05-06T11:28:40+0200    error: Transformer
    '/var/rudder/inventories/srv-1-2014-02-04-14-22-43.ocs' =>
    '/usr/bin/curl -f -s --proxy '' --user rudder:rudder -T
    /var/rudder/inventories/srv-1-2014-02-04-14-22-43.ocs 
    <a class="moz-txt-link-freetext" href="http://172.31.16.10/inventory-updates/">http://172.31.16.10/inventory-updates/</a>' returned error<br>
    2014-05-06T11:28:40+0200   notice: R:
    @@Inventory@@result_error@@inventory-all@@inventory-all@@169@@inventory@@None@@2014-05-06
    11:28:28+02:00##a667c4af-de72-450e-9bac-2b6483b7cd7a@#Could not send
    the inventory<br>
    2014-05-06T11:28:40+0200     info: /doInventory/methods/'any':
    Method "sendInventory" failed in some repairs or aborted<br>
    <br>
    <blockquote cite="mid:5368A3C2.9020702@normation.com" type="cite">
      <blockquote cite="mid:53688AE1.2090705@ac-versailles.fr"
        type="cite">
        <blockquote cite="mid:53688A01.5040507@ac-versailles.fr"
          type="cite">
          <div class="moz-signature">
            <meta http-equiv="content-type" content="text/html;
              charset=ISO-8859-1">
            <br>
            <div class="moz-signature"><br>
              <meta http-equiv="content-type" content="text/html;
                charset=ISO-8859-1">
              <title></title>
              <br>
            </div>
          </div>
          <br>
          <fieldset class="mimeAttachmentHeader"></fieldset>
          <br>
          <pre wrap="">_______________________________________________
rudder-users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:rudder-users@lists.rudder-project.org">rudder-users@lists.rudder-project.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.rudder-project.org/mailman/listinfo/rudder-users">http://www.rudder-project.org/mailman/listinfo/rudder-users</a>
</pre>
        </blockquote>
        <br>
        <br>
        <fieldset class="mimeAttachmentHeader"></fieldset>
        <br>
        <pre wrap="">_______________________________________________
rudder-users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:rudder-users@lists.rudder-project.org">rudder-users@lists.rudder-project.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.rudder-project.org/mailman/listinfo/rudder-users">http://www.rudder-project.org/mailman/listinfo/rudder-users</a>
</pre>
      </blockquote>
      <br>
      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 cellpadding="0" cellspacing="2" width="380" border="0">
          <tbody>
            <tr>
              <td colspan="2">
                <hr></td>
            </tr>
            <tr>
              <td colspan="2"><b><img alt=""
                    src="cid:part7.02040707.02010800@ac-versailles.fr"
                    height="50" hspace="10" width="50" align="left"> <span
                    class="sig">Vincent Membré</span></b><br>
                <span class="sig"><i>Ingénieur R&D</i></span><br>
                <span class="sig"><a moz-do-not-send="true"
                    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>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
rudder-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:rudder-users@lists.rudder-project.org">rudder-users@lists.rudder-project.org</a>
<a class="moz-txt-link-freetext" href="http://www.rudder-project.org/mailman/listinfo/rudder-users">http://www.rudder-project.org/mailman/listinfo/rudder-users</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>