Bug #4716
closedPromises generation fails on relay server
Description
Hello,
On 2.9.4 version of Rudder (in target version , we don't have the choice of 2.9.4)
I have 1 network with 1 server and 1 relay interface , and an other network with 1 relay interface and 1 node.
[Server<->Relay<->Node]
First network : 1.0.0.0/8
Second network : 2.0.0.0/8
The relay and the node are accept on server.
The script node-to-relay worked very well.
The node have the relay name in policy-server.dat .
When i have accepted the node on server, the regeneration of rules failed with errors :
ERROR com.normation.rudder.services.policies.RudderCf3PromisesFileWriterServiceImpl - Could not find freshly created promises at /var/rudder/share/bb8ee6c0-0dff-4f82-a2fc-efffc0c45853.new/share/7e9a3418-6432-45d9-8924-71b5690b9db0.new
ERROR com.normation.rudder.services.policies.RudderCf3PromisesFileWriterServiceImpl - Could not write promises into /var/rudder/share/bb8ee6c0-0dff-4f82-a2fc-efffc0c45853.new/share/7e9a3418-6432-45d9-8924-71b5690b9db0, reason :
java.io.IOException: Created promises not found !!!! at .....
The cf-agent -KI on relay return "error : During agent identification for '1.0.0.2'" ( IP of server side relay interface ).
Same error on node ( with ip 2.0.0.2) . All IPs and name are in /etc/hosts of all system .
curl http://nameofrelay/uuid ( on the node ) return the uuid of relay.
How i can resolv that ?
Thanks !
Files