<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">On 01/03/13 08:59, Olivier Desport
wrote:<br>
</div>
<blockquote cite="mid:51305FDA.2050508@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 28/02/2013 14:29, Jonathan Clarke a écrit :<br>
</div>
<blockquote cite="mid:512F5BBD.4050009@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>
On 28/02/13 12:26, Olivier Desport wrote:<br>
</div>
<blockquote cite="mid:512F3EED.7010808@ac-versailles.fr"
type="cite">
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
Hello,<br>
<br>
I'm working with Rudder 2.4. I've deleted a node in the web
interface because I had to install a new server with the same
name. When I try to add this node, it never appears in "Accept
new node" menu. Can you tell me the way to clean this node in
Postgre, LDAP and files ?<br>
<br>
The logs for this node on the Rudder server :<br>
<br>
Feb 28 12:21:47 celebrimbor cf-serverd[17935]: Accepting
connection from "172.31.136.112"<br>
Feb 28 12:21:47 celebrimbor cf-serverd[17935]: REFUSAL of
request from connecting host: (SYNCH 1362050507 STAT
/var/rudder/share/d2abce4d-630e-4d05-932f-8e2b87942392/rules/cfengine-community)<br>
</blockquote>
<br>
For the node to reappear in "Accept new nodes", it needs to send
a new inventory. However, by default this only happens at night
(between 0:00 and 6:00).<br>
<br>
You can force the node to run an inventory *now*, by running:<br>
/var/rudder/cfengine-community/bin/cf-agent -KI
-Dforce_inventory<br>
(see <a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://www.rudder-project.org/rudder-doc-2.4/rudder-doc.html#_inventory">http://www.rudder-project.org/rudder-doc-2.4/rudder-doc.html#_inventory</a>)
<br>
<br>
Then, it should appear in the Accept New Nodes screen (after
5-10 minutes).<br>
<br>
Let me know if this works for you!<br>
</blockquote>
<br>
I've launched this command several times but there is still no
pending node.<br>
</blockquote>
<br>
Ah, that's funny. To clarify, this command should be run on the
node, not on the server. Is that what you tried?<br>
<br>
If that still does not work, try resetting the node's promises, by
running these commands (again, on the node, not on the server):<br>
<a class="moz-txt-link-freetext" href="http://www.rudder-project.org/rudder-doc-2.4/rudder-doc.html#_reinitialize_policies_for_a_node">http://www.rudder-project.org/rudder-doc-2.4/rudder-doc.html#_reinitialize_policies_for_a_node</a><br>
<br>
Let me know how this works for you,<br>
Jonathan<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; }
a.redlink:visited { color: #962322; }
.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.04000903.08000509@normation.com"
align="left" height="50" hspace="10" width="50">
<span class="sig">Jonathan CLARKE</span></b><br>
<span class="sig"><i>CTO - Directeur technique</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 83 62 41 24</span></td>
</tr>
<tr>
<td><span class="sigsmall">Mobile:</span></td>
<td><span class="sigsmall">+33 (0)6 99 60 03 10</span></td>
</tr>
<tr>
<td colspan="2">
<hr></td>
</tr>
</tbody>
</table>
</div>
</body>
</html>