[rudder-users] No anwser

Vincent Membré vincent.membre at normation.com
Tue Jan 7 19:24:53 CET 2014


Le 07/01/2014 10:44, diogo at diogoleal.com a écrit :
> Hello,
Hello Diogo.
>   
>
> I set up a server with Rudder 2.6 (stable) and registered a node.
>
> I can read the inventory information, but the status of all rules are "No answer".
>
>
>
> When I run the command below in node:
>
>   /var/rudder/cfengine-community/bin/cf-agent -KI
>
> I get the following message:
>
> R: @@Common@@log_info@@hasPolicyServer-root@@common-root@@00@@common@@StartRun@@2014-01-07 07:40:45-02:00##dda3cba8-f6ca-4766-a3cb-09d61f53f6c5@#Start execution
> Can't stat /var/rudder/share/dda3cba8-f6ca-4766-a3cb-09d61f53f6c5/rules/cfengine-community/rudder_promises_generated in files.copyfrom promise
> R: @@Common@@result_error@@hasPolicyServer-root@@common-root@@00@@Update@@None@@2014-01-07 07:40:45-02:00##dda3cba8-f6ca-4766-a3cb-09d61f53f6c5@#Cannot update node's policy or dependencies
> R: @@Common@@result_success@@hasPolicyServer-root@@common-root@@00@@Security parameters@@None@@2014-01-07 07:40:45-02:00##dda3cba8-f6ca-4766-a3cb-09d61f53f6c5@#The internal environment security is acceptable
> R: @@Common@@result_success@@&TRACKINGKEY&@@Process checking@@None@@2014-01-07 07:40:45-02:00##dda3cba8-f6ca-4766-a3cb-09d61f53f6c5@#There is an acceptable number of cf-execd processes (between 0 and 2) and cf-agent processes (between 0 and 5)
> R: @@Common@@result_success@@hasPolicyServer-root@@common-root@@00@@CRON Daemon@@None@@2014-01-07 07:40:45-02:00##dda3cba8-f6ca-4766-a3cb-09d61f53f6c5@#The CRON daemon is running
> R: @@Common@@result_success@@hasPolicyServer-root@@common-root@@00@@Binaries update@@None@@2014-01-07 07:40:45-02:00##dda3cba8-f6ca-4766-a3cb-09d61f53f6c5@#The CFengine binaries in /var/rudder/cfengine-community/bin are up to date
>   -> Executing '/usr/bin/curl -s -f --proxy '' -o "/var/rudder/tmp/uuid.txt" http://rudder.eng.infolink.com.br/uuid' ... (no timeout)
>   -> Completed execution of /usr/bin/curl -s -f --proxy '' -o "/var/rudder/tmp/uuid.txt" http://rudder.eng.infolink.com.br/uuid
> R: @@Inventory@@log_info@@inventory-all@@inventory-all@@00@@inventory@@None@@2014-01-07 07:40:45-02:00##dda3cba8-f6ca-4766-a3cb-09d61f53f6c5@#An inventory was already sent less than 8 hours ago
> R: @@Inventory@@result_success@@inventory-all@@inventory-all@@00@@inventory@@None@@2014-01-07 07:40:45-02:00##dda3cba8-f6ca-4766-a3cb-09d61f53f6c5@#Next inventory scheduled between 00:00 and 06:00
> R: @@Common@@log_info@@hasPolicyServer-root@@common-root@@00@@common@@EndRun@@2014-01-07 07:40:45-02:00##dda3cba8-f6ca-4766-a3cb-09d61f53f6c5@#End execution

It seems your node could not update its promises as this line explain

R: @@Common@@result_error@@hasPolicyServer-root@@common-root@@00@@Update@@None@@2014-01-07 07:40:45-02:00##dda3cba8-f6ca-4766-a3cb-09d61f53f6c5@#Cannot update node's policy or dependencies

That must be a DNS problem, can you check that both the server and node 
resolve each other IP and adapt /etc/hosts file?

I just created a page on Rudder project website that summarize some 
leads to check if you have a not answering node: 
https://www.rudder-project.org/site/documentation/faq/some-reports-are-in-no-answer-for-a-node/

Is this working for you after fixes on DNS ?

Best regards.

-- 
------------------------------------------------------------------------
*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/20140107/cac946cb/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/20140107/cac946cb/attachment.png>


More information about the rudder-users mailing list