<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>
          <table cellpadding="2" cellspacing="2" height="146"
            width="370" border="0">
            <tbody>
              <tr>
                <td valign="top" width="100"><img alt=""
                    src="cid:part1.07010906.07040401@ac-versailles.fr"
                    height="98" width="95"></td>
              </tr>
              <tr>
                <td colspan="1" rowspan="1" valign="top"
                  bgcolor="#cccccc"><small> <small><font face="Arial">Rectorat
                        de Versailles • 3 boulevard de Lesseps • 78017
                        Versailles cedex •</font></small><br>
                    <small><a
                        href="cid:part2.05010303.06090200@ac-versailles.fr"
                        moz-do-not-send="false"><font face="Arial">
                          http://www.ac-versailles.fr</font></a></small><br>
                  </small></td>
              </tr>
            </tbody>
          </table>
          <br>
        </div>
      </div>
      Le 07/05/2014 10:20, Vincent Membré a écrit :<br>
    </div>
    <blockquote cite="mid:5369ECC1.6080205@normation.com" type="cite">
      <meta content="text/html; charset=ISO-8859-1"
        http-equiv="Content-Type">
      <div class="moz-cite-prefix">Le 06/05/2014 14:01, Olivier Desport
        a écrit :<br>
      </div>
      <blockquote cite="mid:5368CF05.3010804@ac-versailles.fr"
        type="cite">
        <meta content="text/html; charset=ISO-8859-1"
          http-equiv="Content-Type">
        <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>
      </blockquote>
      <br>
      Just a question about that, are your working nodes using
      rudder-agent 2.10.0 too ? or only those that are no more updating
      policies ? or 2.10.0 is only on the node you juste reinstalled?<br>
    </blockquote>
    <br>
    Working nodes use 2.9.2 agent (the other agent wich doesn't work
    too). I migrated the server to 2.10 but nothing changes.<br>
    <br>
    <blockquote cite="mid:5369ECC1.6080205@normation.com" type="cite">
      <blockquote cite="mid:5368CF05.3010804@ac-versailles.fr"
        type="cite">
        <blockquote cite="mid:5368A3C2.9020702@normation.com"
          type="cite"> 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>
      </blockquote>
      <br>
      You should have at least a result...<br>
      <br>
      Can you run that command in verbose ?<br>
      <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>
        -v<br>
      </blockquote>
    </blockquote>
    <br>
    Output :<br>
    <br>
    * About to connect() to 172.16.0.10 port 80 (#0)<br>
    *   Trying 172.16.0.10...<br>
    * connected<br>
    * Connected to 172.16.0.10 (172.16.0.10) port 80 (#0)<br>
    * Server auth using Basic with user 'rudder'<br>
    > PUT /inventories/srv-2-2014-05-06-08-47-59.ocs HTTP/1.1<br>
    > Authorization: Basic cnVkZGVyOnJ1ZGRlcg==<br>
    > User-Agent: curl/7.26.0<br>
    > Host: 172.16.0.10<br>
    > Accept: */*<br>
    > Content-Length: 173820<br>
    > Expect: 100-continue<br>
    > <br>
    * The requested URL returned error: 417<br>
    * Closing connection #0<br>
    <br>
    <br>
    <br>
    <blockquote cite="mid:5369ECC1.6080205@normation.com" type="cite">
      <blockquote> </blockquote>
      <br>
      <blockquote cite="mid:5368CF05.3010804@ac-versailles.fr"
        type="cite">
        <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
          moz-do-not-send="true" 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>
      </blockquote>
      <br>
      Ok so same problem as the other, node, we can see that there was
      an error 22 with curl, which means a 40x http error...<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:part6.00000007.07000409@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>