[rudder-users] nodes don't receive updates
Olivier Desport
olivier.desport at ac-versailles.fr
Wed May 7 10:55:51 CEST 2014
Rectorat de Versailles . 3 boulevard de Lesseps . 78017 Versailles cedex .
http://www.ac-versailles.fr <cid:part2.05010303.06090200 at ac-versailles.fr>
Le 07/05/2014 10:20, Vincent Membré a écrit :
> Le 06/05/2014 14:01, Olivier Desport a écrit :
>>
>>
>>
>>
>> Le 06/05/2014 10:56, Vincent Membré a écrit :
>>> Hello Olivier,
>>>
>>> answers in line with you comment
>>>
>>>
>>> Le 06/05/2014 09:10, Olivier Desport a écrit :
>>>> rudder-agent : 2.10.0
>>>> rudder-server : 2.9.3
>>>>
>>>
>>> That should work fine, but still a good information to know that :)
>
> 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?
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.
>>> My guess is that you can't access Rudder server on that ip. Maybe a
>>> firewall blocking the sending of inventory
>>>
>>> * Can you ping 172.16.0.10 from your node?
>> Yes. Client and server are in the same subnet. No problem for other
>> nodes in the same subnet.
>>
>>> * Can you paste the result of the following command:
>>>
>>> /usr/bin/curl -f -s --proxy '' --user rudder:rudder -T
>>> /var/rudder/inventories/srv-2-2014-05-06-08-47-59.ocs
>>> http://172.16.0.10/inventories/
>>>
>> No result (no error too) for this command.
>
> You should have at least a result...
>
> Can you run that command in verbose ?
>
> /usr/bin/curl -f -s --proxy '' --user rudder:rudder -T
> /var/rudder/inventories/srv-2-2014-05-06-08-47-59.ocs
> http://172.16.0.10/inventories/ -v
>
Output :
* About to connect() to 172.16.0.10 port 80 (#0)
* Trying 172.16.0.10...
* connected
* Connected to 172.16.0.10 (172.16.0.10) port 80 (#0)
* Server auth using Basic with user 'rudder'
> PUT /inventories/srv-2-2014-05-06-08-47-59.ocs HTTP/1.1
> Authorization: Basic cnVkZGVyOnJ1ZGRlcg==
> User-Agent: curl/7.26.0
> Host: 172.16.0.10
> Accept: */*
> Content-Length: 173820
> Expect: 100-continue
>
* The requested URL returned error: 417
* Closing connection #0
>
>>>
>>> On the other node that can't update can you run
>>>
>>> /var/rudder/cfengine-community/bin/cf-agent -KID force_inventory
>>>
>>> to see if it can't send inventory too ?
>>
>> 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
>> 2014-05-06T11:28:40+0200 info: Automatically promoting context
>> scope for 'cant_send_inventory' to namespace visibility, due to
>> persistence
>> 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
>> http://172.31.16.10/inventory-updates/' returned error
>> 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
>> 2014-05-06T11:28:40+0200 info: /doInventory/methods/'any': Method
>> "sendInventory" failed in some repairs or aborted
>
> 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...
> --
> ------------------------------------------------------------------------
> *Vincent Membré*
> /Ingénieur R&D/
> Normation <http://www.normation.com>
> ------------------------------------------------------------------------
> *87 rue de Turbigo, 75003 Paris, France*
> Telephone: +33 (0)1 84 16 06 00
> Mobile: +33 (0)6 10 14 76 78
> ------------------------------------------------------------------------
>
>
>
> _______________________________________________
> rudder-users mailing list
> rudder-users at lists.rudder-project.org
> http://www.rudder-project.org/mailman/listinfo/rudder-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.rudder-project.org/pipermail/rudder-users/attachments/20140507/e320f73e/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: acver-gris.jpg
Type: image/jpeg
Size: 2372 bytes
Desc: not available
URL: <http://www.rudder-project.org/pipermail/rudder-users/attachments/20140507/e320f73e/attachment.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 3503 bytes
Desc: not available
URL: <http://www.rudder-project.org/pipermail/rudder-users/attachments/20140507/e320f73e/attachment.png>
More information about the rudder-users
mailing list