<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Oh, I misunderstood something in your description (I skipped the
    /opt/rudder and /var/rudder deletion part)<br>
    Here, it seems the promises look for the "old" promises (because of
    the old uuid); so you'll need to reset your promises to fetch the
    new one.<br>
    The procedure is described in the reference manual (
    <a class="moz-txt-link-freetext" href="http://www.rudder-project.org/rudder-doc-2.6/rudder-doc.html#advancedusage">http://www.rudder-project.org/rudder-doc-2.6/rudder-doc.html#advancedusage</a>
    ) but I'll copy and paste it there for the sake of simplicity :<br>
    rm -rf /var/rudder/cfengine-community/inputs/*<br>
    cp -a /opt/rudder/share/initial-promises/*
    /var/rudder/cfengine-community/inputs/<br>
    /var/rudder/cfengine-community/bin/cf-agent -KI<br>
    <br>
    Also, what are the version of the agent and server you are using ?<br>
    <br>
    Regards,<br>
    Nicolas<br>
    <br>
    On 12/07/2013 14:59, Nicolas Charles wrote:
    <blockquote cite="mid:51DFFDBC.7090507@normation.com" type="cite">
      <meta content="text/html; charset=ISO-8859-1"
        http-equiv="Content-Type">
      I'm sorry to hear that it didn't solve your problem.<br>
      So we'll need to do a bit more debugging, and look at the verbose
      output of the server.<br>
      <br>
      On the Rudder server, kill the cf-serverd process, and then run
      the following command :<br>
      /var/rudder/cfengine-community/bin/cf-serverd -v --no-fork<br>
      (this runs the server in verbose mode, and leave it in foreground)<br>
      <br>
      On the client side, run an update by running the following command<br>
      /var/rudder/cfengine-community/bin/cf-agent -Kb update<br>
      <br>
      On the server side, it should trigger a lot of message.<br>
      Could you copy it and sent it ? (if you think there are
      confidential info in it, you can send it to me personnaly)<br>
      <br>
      Thank you !<br>
      Nicolas<br>
      <br>
      On 12/07/2013 14:31, Prestasit01 wrote:
      <blockquote
        cite="mid:D24EE976410D5544AA291E9B782A3A80EDA80B@daru2.domaine.local"
        type="cite">
        <meta http-equiv="Content-Type" content="text/html;
          charset=ISO-8859-1">
        <meta name="Generator" content="Microsoft Word 14 (filtered
          medium)">
        <style><!--
/* Font Definitions */
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        color:black;
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Texte de bulles Car";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";
        color:black;
        mso-fareast-language:EN-US;}
p.sig, li.sig, div.sig
        {mso-style-name:sig;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Arial","sans-serif";
        color:black;}
p.sigsmall, li.sigsmall, div.sigsmall
        {mso-style-name:sigsmall;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:10.0pt;
        font-family:"Arial","sans-serif";
        color:black;}
span.EmailStyle19
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.sig1
        {mso-style-name:sig1;
        font-family:"Arial","sans-serif";}
span.sigsmall1
        {mso-style-name:sigsmall1;
        font-family:"Arial","sans-serif";}
span.EmailStyle22
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle23
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle24
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.TextedebullesCar
        {mso-style-name:"Texte de bulles Car";
        mso-style-priority:99;
        mso-style-link:"Texte de bulles";
        font-family:"Tahoma","sans-serif";
        color:black;
        mso-fareast-language:EN-US;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
        <div class="WordSection1">
          <p class="MsoNormal"><span style="color:#1F497D">Hi,<o:p></o:p></span></p>
          <p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
          <p class="MsoNormal"><span style="color:#1F497D">The issue is
              still here. (Now time is the same on both server).<o:p></o:p></span></p>
          <p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
          <p class="MsoNormal"><span style="color:#1F497D">Is it
              possible to clean the refused node list ?<o:p></o:p></span></p>
          <p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
          <p class="MsoNormal"><span style="color:#1F497D">BR<o:p></o:p></span></p>
          <p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
          <p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
          <div>
            <div style="border:none;border-top:solid #B5C4DF
              1.0pt;padding:3.0pt 0cm 0cm 0cm">
              <p class="MsoNormal"><b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext;mso-fareast-language:FR">De :</span></b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext;mso-fareast-language:FR">
                  <a moz-do-not-send="true"
                    class="moz-txt-link-abbreviated"
                    href="mailto:rudder-users-bounces@lists.rudder-project.org">rudder-users-bounces@lists.rudder-project.org</a>
                  [<a moz-do-not-send="true"
                    class="moz-txt-link-freetext"
                    href="mailto:rudder-users-bounces@lists.rudder-project.org">mailto:rudder-users-bounces@lists.rudder-project.org</a>]
                  <b>De la part de</b> Prestasit01<br>
                  <b>Envoyé :</b> vendredi 12 juillet 2013 12:36<br>
                  <b>À :</b> Nicolas Charles; <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><br>
                  <b>Objet :</b> Re: [rudder-users] REFUSAL of request /
                  rules status in no answer<o:p></o:p></span></p>
            </div>
          </div>
          <p class="MsoNormal"><o:p> </o:p></p>
          <p class="MsoNormal"><span
              style="font-size:10.0pt;color:windowtext">Hi Nicolas,<o:p></o:p></span></p>
          <p class="MsoNormal"><span
              style="font-size:10.0pt;color:windowtext"><o:p> </o:p></span></p>
          <p class="MsoNormal"><span
              style="font-size:10.0pt;color:windowtext">When i search </span><span
style="font-size:10.0pt;color:windowtext;mso-fareast-language:FR">405b59b6-7e54-4d22-9b1b-e6137d17497a

              in the quick search interface, I find the Centos node
              refused. <o:p></o:p></span></p>
          <p class="MsoNormal"><span
              style="font-size:10.0pt;color:windowtext;mso-fareast-language:FR"><o:p> </o:p></span></p>
          <p class="MsoNormal"><span
              style="font-size:10.0pt;color:windowtext;mso-fareast-language:FR">The

              following folder exist on the root server =>
/var/rudder/share/405b59b6-7e54-4d22-9b1b-e6137d17497a/rules/cfengine-community<o:p></o:p></span></p>
          <p class="MsoNormal"><span
              style="font-size:10.0pt;color:windowtext;mso-fareast-language:FR"><br>
              Root server & node can be ping by their hostname (in
              both side)<o:p></o:p></span></p>
          <p class="MsoNormal"><span
              style="font-size:10.0pt;color:windowtext;mso-fareast-language:FR"><o:p> </o:p></span></p>
          <p class="MsoNormal"><span
              style="font-size:10.0pt;color:windowtext;mso-fareast-language:FR">There

              is 5 min of skew between this node and the root-server. I
              will update the date and check if it’s work in one hour.<o:p></o:p></span></p>
          <p class="MsoNormal"><span
              style="font-size:10.0pt;color:windowtext;mso-fareast-language:FR"><o:p> </o:p></span></p>
          <p class="MsoNormal"><span
              style="font-size:10.0pt;color:windowtext;mso-fareast-language:FR">Thanks

              for the support <o:p></o:p></span></p>
          <p class="MsoNormal"><span
              style="font-size:10.0pt;color:windowtext;mso-fareast-language:FR"><o:p> </o:p></span></p>
          <p class="MsoNormal"><span
              style="font-size:10.0pt;color:windowtext;mso-fareast-language:FR">BR<o:p></o:p></span></p>
          <p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
          <div>
            <div style="border:none;border-top:solid #B5C4DF
              1.0pt;padding:3.0pt 0cm 0cm 0cm">
              <p class="MsoNormal"><b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext;mso-fareast-language:FR">De :</span></b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext;mso-fareast-language:FR">
                  <a moz-do-not-send="true"
                    href="mailto:rudder-users-bounces@lists.rudder-project.org">rudder-users-bounces@lists.rudder-project.org</a>
                  <a moz-do-not-send="true"
                    href="mailto:[mailto:rudder-users-bounces@lists.rudder-project.org]">[mailto:rudder-users-bounces@lists.rudder-project.org]</a>
                  <b>De la part de</b> Nicolas Charles<br>
                  <b>Envoyé :</b> vendredi 12 juillet 2013 12:18<br>
                  <b>À :</b> <a moz-do-not-send="true"
                    href="mailto:rudder-users@lists.rudder-project.org">rudder-users@lists.rudder-project.org</a><br>
                  <b>Objet :</b> Re: [rudder-users] REFUSAL of request /
                  rules status in no answer<o:p></o:p></span></p>
            </div>
          </div>
          <p class="MsoNormal"><o:p> </o:p></p>
          <p class="MsoNormal">On 12/07/2013 12:06, Prestasit01 wrote: <o:p></o:p></p>
          <p class="MsoNormal"><span style="color:#1F497D">Hello,</span><o:p></o:p></p>
          <p class="MsoNormal"><span style="color:#1F497D"> </span><o:p></o:p></p>
          <p class="MsoNormal"><span style="color:#1F497D">I got one
              issue with one node (CentOS release 5.5 +
              rudder-agent-2.6.2.release-1.EL.5)</span><o:p></o:p></p>
          <p class="MsoNormal"><span style="color:#1F497D"> </span><o:p></o:p></p>
          <p class="MsoNormal"><span style="color:#1F497D">Flows between
              node and server seems to be ok (telnet tested)</span><o:p></o:p></p>
          <p class="MsoNormal"><span style="color:#1F497D"> </span><o:p></o:p></p>
          <p class="MsoNormal"><span style="color:#1F497D">The node is
              well inventoried on the root-server but all rules are in
              « no answer » status</span><o:p></o:p></p>
          <p class="MsoNormal"><span style="color:#1F497D"> </span><o:p></o:p></p>
          <p class="MsoNormal"><span style="color:#1F497D">I got this
              message in /var/log/messages (on the root server) :</span><o:p></o:p></p>
          <p class="MsoNormal"><span style="color:#1F497D"> </span><o:p></o:p></p>
          <p class="MsoNormal"><span style="color:#1F497D">Jul 12
              11:42:14 myrudderserver cf-serverd[19799]:  REFUSAL of
              request from connecting host: (SYNCH 1373622422 STAT
/var/rudder/share/405b59b6-7e54-4d22-9b1b-e6137d17497a/rules/cfengine-community/rudder_promises_generated)</span><o:p></o:p></p>
          <p class="MsoNormal"><span style="color:#1F497D"> </span><o:p></o:p></p>
          <p class="MsoNormal"><span style="color:#1F497D">For
              information, this node has been refused by me the first
              time, the agent has been reinstalled and then i have
              accepted the node on the root-server.</span><o:p></o:p></p>
          <p class="MsoNormal"><span style="color:#1F497D"> </span><o:p></o:p></p>
          <p class="MsoNormal"><span style="color:#1F497D">( NB :
              /opt/rudder & /var/rudder were destroyed before the
              reinstall of the agent)</span><o:p></o:p></p>
          <p class="MsoNormal"><span style="color:#1F497D"> </span><o:p></o:p></p>
          <p class="MsoNormal"><span style="color:#1F497D">I hope you
              will have the answer </span><span
              style="font-family:Wingdings;color:#1F497D">J</span><o:p></o:p></p>
          <p class="MsoNormal"><span style="color:#1F497D"> </span><o:p></o:p></p>
          <p class="MsoNormal"><span style="color:#1F497D">Regards</span><o:p></o:p></p>
          <p class="MsoNormal"><span style="color:#1F497D"> </span><o:p></o:p></p>
          <p class="MsoNormal"><span style="color:#1F497D">C .JARDIN</span><o:p></o:p></p>
          <p class="MsoNormal"><span
              style="font-size:12.0pt;font-family:"Times New
              Roman","serif";mso-fareast-language:FR"><br>
              Hi Cédric,<br>
              <br>
              From the message on the agent, it seems it cannot get its
              promise files from the server.<br>
              Could you check that on the Rudder server the folder
              /var/rudder/share/405b59b6-7e54-4d22-9b1b-e6137d17497a/rules/cfengine-community

              exists ?<br>
              <br>
              Could you also check that in the web interface, if you
              search for 405b59b6-7e54-4d22-9b1b-e6137d17497a in the web
              interface, does it refers to you Centos machine ?<br>
              <br>
              Finally, there are also two typical issues that may cause
              this :<br>
              - Large clock skew between systems : are the time on both
              the client and the server (roughly) the same ?<br>
              - A DNS problem (that's the most comon issue). Can you,
              from the server, ping the client by referencing it by its
              hostname<br>
              <br>
              Does it help ?<br>
              Nicolas<o:p></o:p></span></p>
          <p class="MsoNormal"><span
              style="font-size:12.0pt;font-family:"Times New
              Roman","serif";color:windowtext;mso-fareast-language:FR">-------------------------------------------------------------------------<br>
              Les informations ou pieces jointes contenues dans ce
              message sont confidentielles. Seul le destinataire
              expressement vise peut en prendre connaissance. Toute
              autre personne qui en divulguera, diffusera ou prendra des
              copies sera passible de poursuites. La societe
              Ouest-France decline en outre, toute responsabilite de
              quelque nature que ce soit au titre de ce message s'il a
              ete altere, deforme ou falsifie. <o:p></o:p></span></p>
        </div>
-------------------------------------------------------------------------<br>
        Les informations ou pieces jointes contenues dans ce message
        sont confidentielles. Seul le destinataire expressement vise
        peut en prendre connaissance. Toute autre personne qui en
        divulguera, diffusera ou prendra des copies sera passible de
        poursuites. La societe Ouest-France decline en outre, toute
        responsabilite de quelque nature que ce soit au titre de ce
        message s'il a ete altere, deforme ou falsifie. </blockquote>
      <br>
      <br>
      <pre class="moz-signature" cols="72">-- 
Nicolas CHARLES</pre>
      <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>
    <br>
    <pre class="moz-signature" cols="72">-- 
Nicolas CHARLES</pre>
  </body>
</html>