<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">Hello Cédric, <br>
<br>
I don't see in your agent run, the server sending it's inventory
with send clean.sh ( 2nd step described by Nicolas ).<br>
<br>
You should get some lines in cf-agent telling you:<br>
<pre>
R: @@DistributePolicy@@result_success@@root-DP@@root-distributePolicy@@41@@Check WebDAV credentials@@None@@2014-03-21 10:22:36+01:00##root@#The Rudder WebDAV user and password are OK</pre>
<pre>I: Transforming: /var/rudder/tools/send-clean.sh <a class="moz-txt-link-freetext" href="http://localhost:8080/endpoint/upload/">http://localhost:8080/endpoint/upload/</a> /var/rudder/inventories/accepted-nodes-updates/myserver-2012-07-31-00-30-31.ocs /var/rudder/inventories/received/</pre>
<pre> % Total % Received % Xferd Average Speed Time Time Time Current</pre>
<pre> Dload Upload Total Spent Left Speed</pre>
<pre>100 124k 100 55 100 124k 124 281k --:--:-- --:--:-- --:--:-- 282k</pre>
<pre>Report correctly received and sent to report processor.</pre>
<pre>-> Transformer /var/rudder/inventories/accepted-nodes-updates/myserver-2012-07-31-00-30-31.ocs => /var/rudder/tools/send-clean.sh <a class="moz-txt-link-freetext" href="http://localhost:8080/endpoint/upload/">http://localhost:8080/endpoint/upload/</a> /var/rudder/inventories/accepted-nodes-updates/myserver-2012-07-31-00-30-31.ocs /var/rudder/inventories/received/ seemed to work ok</pre>
<pre>R: @@DistributePolicy@@result_success@@root-DP@@root-distributePolicy@@41@@Send inventories to CMDB@@None@@2014-03-21 10:22:36+01:00##root@#Incoming inventories were successfully added to Rudder</pre>
<br>
but you only got:<br>
<br>
<pre>R: @@DistributePolicy@@result_success@@root-DP@@root-distributePolicy@@35@@Check WebDAV credentials@@None@@2014-03-20 17:35:13+01:00##root@#The Rudder WebDAV user and password are OK
</pre>
<pre>R: @@DistributePolicy@@result_success@@root-DP@@root-distributePolicy@@35@@Send inventories to CMDB@@None@@2014-03-20 17:35:13+01:00##root@#Incoming inventories were successfully added to Rudder
</pre>
<br>
Have you got multiple servers? <br>
<br>
We can also see from your logs that the inventory was correctly
sent<br>
<br>
<pre>I: Transforming: /usr/bin/curl -f -s --proxy '' --user rudder:rudder -T /var/rudder/inventories/SERVERPROD.domain.fr-2014-02-12-14-23-20.ocs <a class="moz-txt-link-freetext" href="http://rudder.domain.fr/inventory-updates/">http://rudder.domain.fr/inventory-updates/</a>
</pre>
<pre><!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
</pre>
<pre><html><head>
</pre>
<pre><title>201 Created</title>
</pre>
<pre></head><body>
</pre>
<pre><h1>Created</h1>
</pre>
<pre><p>Resource /inventory-updates/SERVERPROD.domain.fr-2014-02-12-14-23-20.ocs has been created.</p>
</pre>
<pre><hr />
</pre>
<pre><address>Apache/2.2.15 (CentOS) Server at rudder.domain.fr Port 80</address>
</pre>
<pre></body></html></pre>
<br>
And as we never see it pass in webapp logs, i supose it is missing
on your server and was send to another machine.<br>
<br>
<br>
<br>
Le 21/03/2014 10:14, Prestasit01 a écrit :<br>
</div>
<blockquote cite="mid:D24EE976410D5544AA291E9B782A3A80EEE26C@daru1"
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;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
@font-face
{font-family:"Trebuchet MS";
panose-1:2 11 6 3 2 2 2 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";
color:black;}
h4
{mso-style-priority:9;
mso-style-link:"Titre 4 Car";
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:12.0pt;
font-family:"Times New Roman","serif";
color:black;}
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;}
pre
{mso-style-priority:99;
mso-style-link:"Préformaté HTML Car";
margin:0cm;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";
color:black;}
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;}
span.Titre4Car
{mso-style-name:"Titre 4 Car";
mso-style-priority:9;
mso-style-link:"Titre 4";
font-weight:bold;}
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;}
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.sig1
{mso-style-name:sig1;
font-family:"Arial","sans-serif";}
span.sigsmall1
{mso-style-name:sigsmall1;
font-family:"Arial","sans-serif";}
span.EmailStyle24
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.apple-converted-space
{mso-style-name:apple-converted-space;}
span.PrformatHTMLCar
{mso-style-name:"Préformaté HTML Car";
mso-style-priority:99;
mso-style-link:"Préformaté HTML";
font-family:Consolas;
color:black;}
span.EmailStyle28
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.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="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Hello
Nicolas,<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">There
is no inventory for the root-server : No
</span><span
style="font-size:9.0pt;font-family:"Trebuchet
MS","sans-serif";color:#333333;background:white">matching
components detected on this node</span><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">[2014-03-20
<b>16:34:18</b>] INFO net.liftweb.http.CometActor - The
CometActor
com.normation.rudder.web.comet.WorkflowInformation@5d8da3e6
Received Shutdown<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">[2014-03-20
<b>18:20:54</b>] INFO
com.normation.rudder.services.servers.NodeConfigurationChangeDetectServiceImpl
- Checking changes in node
95ddbe5a-560c-4453-87d7-dc3d6530c4df<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">There
is no information between theses hours </span><span
style="font-size:11.0pt;font-family:Wingdings;color:#1F497D">L</span><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">.<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<div>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Cédric<o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";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">De :</span></b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext">
Nicolas Charles [<a class="moz-txt-link-freetext" href="mailto:nicolas.charles@normation.com">mailto:nicolas.charles@normation.com</a>]
<br>
<b>Envoyé :</b> vendredi 21 mars 2014 09:03<br>
<b>À :</b> Prestasit01; "Vincent Membré
(<a class="moz-txt-link-abbreviated" href="mailto:vincent.membre@normation.com">vincent.membre@normation.com</a>)"<br>
<b>Cc :</b> <a 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] Bad timestam on
rudder-server-root<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">Hello Cédric,<br>
<br>
Does the Inventory appears in the web interface (do you have
details on the inventory of the server root) ?<br>
If not, there may be something going on, that does not
appear in this log.<br>
<br>
The inventory is sent in to step:<br>
1- the agent generate it, and send it to a folder on the
policy server<br>
2 - the agent on the policy server runs and send all the
inventories to the Rudder endpoint, where it is processed<br>
<br>
Do you have any error in the log
/var/log/rudder/webapp/2014_03_20.stderrout.log , around
17:35 - 17:45 ?<br>
<br>
Best regards,<br>
Nicolas<br>
<br>
On 20/03/2014 18:30, Prestasit01 wrote:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Hello,</span><o:p></o:p></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">I
got a date issue : When i check the node details of my
rudder-server-root (on the web interface), It’s
mentionned :</span><o:p></o:p></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"
style="margin-top:3.75pt;background:white"><b><span
style="font-size:9.0pt">Rudder information</span></b><o:p></o:p></p>
<p class="MsoNormal" style="background:white"><b><span
style="font-size:9.0pt">Role: </span></b><span
style="font-size:9.0pt">Rudder root server<br>
<b>Inventory date:</b> 1969-12-31 23:00<br>
<b>Date inventory last received:</b> 1969-12-31 23:00<br>
<b>Date first accepted in Rudder:</b> 2014-02-12 14:23</span><o:p></o:p></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Rules
are well applied on the root server, and the OS date seems
ok :</span><o:p></o:p></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">[root@SERVERPROD
tmp]# date</span><o:p></o:p></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">jeu.
mars 20 18:17:32 CET 2014
</span><o:p></o:p></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">I
tried to launch :
/var/rudder/cfengine-community/bin/cf-agent -KID
force_inventory</span><o:p></o:p></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">But
there is no error (log in attachment)</span><o:p></o:p></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">I
tried to restart the whole server (os+soft) but it don’t
change anything.</span><o:p></o:p></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Any
idea ???</span><o:p></o:p></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">BR</span><o:p></o:p></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Cédric</span><o:p></o:p></p>
<p class="MsoNormal">-------------------------------------------------------------------------<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.
<br>
<br>
<br>
<o:p></o:p></p>
<pre>_______________________________________________<o:p></o:p></pre>
<pre>rudder-users mailing list<o:p></o:p></pre>
<pre><a moz-do-not-send="true" href="mailto:rudder-users@lists.rudder-project.org">rudder-users@lists.rudder-project.org</a><o:p></o:p></pre>
<pre><a moz-do-not-send="true" href="http://www.rudder-project.org/mailman/listinfo/rudder-users">http://www.rudder-project.org/mailman/listinfo/rudder-users</a><o:p></o:p></pre>
</blockquote>
<p class="MsoNormal"><br>
<br>
<br>
<o:p></o:p></p>
<pre>-- <o:p></o:p></pre>
<pre>Nicolas CHARLES<o:p></o:p></pre>
</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>
<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:part3.08000006.08070708@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>