Filecopy technique: can't state the source file
Cédric JARDIN reported that problem:
On V2.6.2 , I got one issue during the file transfert process.
Here is the configuration of my directive :: Root of active techniques's library / Distributing files / Download a file from the shared folder / test de copie
Path of the file to be copied: toto.test.txt
Destination of the file : /test_rudder/soft/sources/httpd/
What should be the recursion level of the copy : only this file
File comparison method : Exists
Owner of the file : root
Group of the file : root
Permission to apply : user RWX / group R-X / other ---
File is not copied on the node.
Error : « Can't stat /var/rudder/configuration-repository/shared-files/toto.test.txt in files.copyfrom promise »
To be more precise :
- The file « /var/rudder/configuration-repository/shared-files/toto.test.txt » exist on the rudder server.
- The folder « /test_rudder/soft/sources/httpd/ » exist on the node, the owner is root
Updated by Vincent MEMBRÉ almost 8 years ago
Another email from Cédric Jardin containing more informations.
Here is an extract of the log : /var/rudder/cfengine-community/bin/cf-serverd -v --no-fork … rudder> Access control in sync rudder> From (host=emaster7.mondomaine.com,user=root,ip=126.96.36.199) rudder> REFUSAL of request from connecting host: (SYNCH 1371112237 STAT /var/rudder/configuration-repository/shared-files/test/withoutvariable) rudder> Filename /var/rudder/configuration-repository/shared-files/toto.test.txt is resolved to /var/rudder/configuration-repository/shared-files/toto.test.txt rudder> Found a matching rule in access list (/var/rudder/configuration-repository/shared-files/toto.test.txt in /var/rudder/configuration-repository/shared-files) rudder> Host emaster7.mondomaine.com denied access to /var/rudder/configuration-repository/shared-files/toto.test.txt … In addition : My Directive configuration : ============ Path of the file to be copied : toto.test.txt ============ Destination of the file : /test_rudder/soft/sources/httpd/toto.test.txt ============ File comparison : exists ============ Permission to apply : none My path/file on the rudder server : /var/rudder/configuration-repository/shared-files/toto.test.txt My path on the node : /test_rudder/soft/sources/httpd/ My Node hostname is : VM_TESTAPACHE ( ip : 188.8.131.52 ) My Rudder server hostname is : VM_RUDDER Operation System : CentOS release 6.4 (Final) /etc/hosts is filled with theses informations on each server There is no iptables and selinux is disabled on each server I don’t know where is found « emaster7.mondomaine.com » , I cleared my /etc/resolv.com after the installation of rudder.
The hostname linked for that node is not the good one, seems to be a dns error
Updated by Nicolas PERRON over 7 years ago
- Status changed from New to Discussion
- Assignee set to Vincent MEMBRÉ