[rudder-users] No suitable server responded to hail

Nicolas Charles nicolas.charles at normation.com
Wed Nov 28 10:53:59 CET 2012


On 28/11/2012 10:12, Le Haies Cyrille wrote:
>
> Hello,
>
> I install rudder-server-rc1 on centos 6.3 and rudder-agent-rc1 on 
> other server with centos 6.3.
>
> Inventory are OK, i accept the new node on web interface of 
> ridder-server, but when i run
>
> /var/rudder/cfengine-community/bin/cf-agent --KI on the node the 
> result is :
>
> R: 
> @@Common@@log_info@@hasPolicyServer-root@@common-root@@00@@common@@StartRun@@2012-11-28 
> 09:59:24+01:00##75b812bf-c00b-4c68-9360-da97c87648c3@#Start execution
>
> Challenge response from server 192.168.6.8/192.168.6.8 was incorrect!
>
> I: Report relates to a promise with handle ""
>
> I: Made in version 'not specified' of 
> '/var/rudder/cfengine-community/inputs/common/1.0/update.cf' near line 88
>
> !! Authentication dialogue with 192.168.6.8 failed
>
> Unable to establish connection with 192.168.6.8
>
> -> No suitable server responded to hail
>
> Promise (version not specified) belongs to bundle 'update' in file 
> '/var/rudder/cfengine-community/inputs/common/1.0/update.cf' near line 88
>
> Challenge response from server 192.168.6.8/192.168.6.8 was incorrect!
>
> I: Report relates to a promise with handle ""
>
> I: Made in version 'not specified' of 
> '/var/rudder/cfengine-community/inputs/common/1.0/update.cf' near line 100
>
> !! Authentication dialogue with 192.168.6.8 failed
>
> Unable to establish connection with 192.168.6.8
>
> -> No suitable server responded to hail
>
> Promise (version not specified) belongs to bundle 'update' in file 
> '/var/rudder/cfengine-community/inputs/common/1.0/update.cf' near line 100
>
> R: 
> @@Common@@result_error@@hasPolicyServer-root@@common-root@@00@@Update@@None@@2012-11-28 
> 09:59:24+01:00##75b812bf-c00b-4c68-9360-da97c87648c3@#Cannot update 
> node's policy (CFEngine promises)
>
> R: 
> @@Common@@result_error@@hasPolicyServer-root@@common-root@@00@@Update@@None@@2012-11-28 
> 09:59:24+01:00##75b812bf-c00b-4c68-9360-da97c87648c3@#Cannot update 
> dependencies
>
> What happened ???
>
> Thanks for your help,
>
> cyrille
>

Hello Cyrille

There are several points you can check to see what is going on :
- On rudder-server-rc1, do you have the CFEngine server running ? You 
can check with this command : ps efx | grep cf-serverd
I guess so, since the server is answering, but it's worth checking.
Also, you can have more details on why the CFENgine server is refusing 
to communicate with the agent by running the server in verbose mode :
/var/rudder/cfengine-community/bin/cf-serverd -v --no-fork
And then running on the agent 
/var/rudder/cfengine-community/bin/cf-agent --KI

- Rudder relies on the Nodes' declared hostnames to identify them, so it 
is required that each nodes' hostname can be resolved to its IP address 
from the Rudder Server
You can check this by trying to ping rudder-agent-rc1 from the rudder 
server. If it doesn't resolve, or to a wrong IP address, an easy 
workaround is to add an entry in the /etc/hosts for your agent

- Do you have SELinux running on your system ?

These are the most common issues. If it doesn't help, could you please 
send the verbose output of the CFEngine server when the agent is 
contacting it ?

Thank you,
Nicolas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.rudder-project.org/pipermail/rudder-users/attachments/20121128/dc818161/attachment.html>


More information about the rudder-users mailing list