[rudder-users] nodes don't receive updates

Vincent Membré vincent.membre at normation.com
Wed May 7 10:20:17 CEST 2014


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?
>> 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


>>
>> 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
------------------------------------------------------------------------

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.rudder-project.org/pipermail/rudder-users/attachments/20140507/8ff25258/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: logo-square.png
Type: image/png
Size: 3503 bytes
Desc: not available
URL: <http://www.rudder-project.org/pipermail/rudder-users/attachments/20140507/8ff25258/attachment.png>


More information about the rudder-users mailing list