<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">Hi Olivier,<br>
<br>
On 03/12/13 11:13, Olivier Desport wrote:<br>
</div>
<blockquote cite="mid:529DAEC3.8020105@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 03/12/2013 10:43, Matthieu CERDA a écrit :<br>
</div>
<blockquote cite="mid:529DA7A4.60400@normation.com" type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<div class="moz-cite-prefix">Le 02/12/2013 14:36, Olivier
Desport a écrit :</div>
<blockquote cite="mid:529C8CD2.90503@ac-versailles.fr"
type="cite">
<div class="moz-cite-prefix">
<div class="moz-signature">
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<br>
</div>
Le 02/12/2013 14:27, Matthieu CERDA a écrit :<br>
</div>
<blockquote cite="mid:529C8AC6.2070302@normation.com"
type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<div class="moz-cite-prefix">Le 02/12/2013 13:28, Olivier
Desport a écrit :<br>
</div>
<blockquote cite="mid:529C7D07.5090508@ac-versailles.fr"
type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
OK, so the invocation looks good manually too. <br>
<blockquote cite="mid:529C73E5.2040200@normation.com"
type="cite"> <br>
Can you please send me the output of "grep <NODE IP
ADDRESS> /var/log/rudder/apache2/access.log", to be
executed on the Rudder server ? (replacing the node ip
address by the IP of the node unable to be registered) <br>
</blockquote>
The output of the grep is empty.<br>
</blockquote>
OK, and if you try with the Proxy IP ?<br>
</blockquote>
/usr/bin/curl --proxy 'http://proxy-ip:port' <a
moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://172.31.136.121/uuid">http://172.31.136.121/uuid</a>
:<br>
<br>
it works (output : root)<br>
</blockquote>
Hi Olivier,<br>
<br>
OK, I do think it might be a proxy issue. Can you please run
these commands to test if curl obeys the "no proxy" parameter ?<br>
<br>
First, on the client:<br>
<br>
- /usr/bin/curl --proxy '' -o "/var/rudder/tmp/uuid.txt" <a
moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://172.31.0.61/uuid">http://172.31.0.61/uuid</a><br>
- unset http_proxy<br>
- unset ftp_proxy<br>
- unset https_proxy<br>
- unset no_proxy<br>
- /usr/bin/curl --proxy '' -o "/var/rudder/tmp/uuid.txt" <a
moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://172.31.0.61/uuid">http://172.31.0.61/uuid</a><br>
<br>
</blockquote>
<br>
It still doesn't work :<br>
<br>
% Total % Received % Xferd Average Speed Time Time
Time Current<br>
Dload Upload Total Spent
Left Speed<br>
100 3159 100 3159 0 0 175k 0 --:--:-- --:--:--
--:--:-- 192k<br>
</blockquote>
<br>
What indicates to you that this doesn't work? This is the expected
output for the curl command. Can you look at the contents of the
file /var/rudder/tmp/uuid.txt? It should contain the string "root".
If it does, then this command is working.<br>
<br>
<blockquote cite="mid:529DAEC3.8020105@ac-versailles.fr" type="cite">
<blockquote cite="mid:529DA7A4.60400@normation.com" type="cite">
Then, on the server:<br>
<br>
- grep uuid /var/log/rudder/apache2/access.log | tail -n 20<br>
</blockquote>
Nothing for the client IP.<br>
</blockquote>
<br>
Could you please check if there are any lines in the file using the
*proxy's IP address*? Ie "grep <proxy's IP>
/var/log/rudder/apache2/access.log". Thanks!<br>
<br>
Jonathan<br>
</body>
</html>