Project

General

Profile

Bug #3643

Filecopy technique: can't state the source file

Added by François ARMAND almost 7 years ago. Updated about 4 years ago.

Status:
Rejected
Priority:
3
Category:
Techniques
Target version:
Pull Request:
Severity:
User visibility:
Effort required:
Priority:

Description

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

#1

Updated by Vincent MEMBRÉ almost 7 years ago

Another email from Cédric Jardin containing more informations.

This bug is not linked to other bugs #3581 or #3646

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=128.1.21.106)

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 : 128.1.21.106 )

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

#2

Updated by Jonathan CLARKE almost 7 years ago

  • Project changed from Rudder to Techniques
  • Category changed from Techniques to Techniques
#3

Updated by Nicolas PERRON almost 7 years ago

  • Target version changed from 2.6.3 to 2.6.4
#4

Updated by Nicolas PERRON almost 7 years ago

  • Target version changed from 2.6.4 to 2.4.9
#5

Updated by Nicolas PERRON over 6 years ago

  • Target version changed from 2.4.9 to 2.4.10
#6

Updated by Nicolas PERRON over 6 years ago

  • Target version changed from 2.4.10 to 2.4.11
#7

Updated by Nicolas PERRON over 6 years ago

  • Target version changed from 2.4.11 to 2.4.12
#8

Updated by Nicolas PERRON over 6 years ago

  • Status changed from New to Discussion
  • Assignee set to Vincent MEMBRÉ

Vincent MEMBRÉ wrote:

Another email from Cédric Jardin containing more informations.

This bug is not linked to other bugs #3581 or #3646
[...]

The hostname linked for that node is not the good one, seems to be a dns error

Do we have an answer about this issue ?

#9

Updated by Nicolas PERRON over 6 years ago

  • Target version changed from 2.4.12 to 2.4.13
#10

Updated by Vincent MEMBRÉ over 6 years ago

  • Target version changed from 2.4.13 to 2.6.11

Since 2.4 is not maintained anymore, retargeting to branch 2.6

#11

Updated by Vincent MEMBRÉ over 6 years ago

  • Target version changed from 2.6.11 to 2.6.12
#12

Updated by Vincent MEMBRÉ about 6 years ago

  • Target version changed from 2.6.12 to 2.6.13
#13

Updated by Vincent MEMBRÉ about 6 years ago

  • Target version changed from 2.6.13 to 2.6.14
#14

Updated by Jonathan CLARKE almost 6 years ago

  • Target version changed from 2.6.14 to 2.6.16
#15

Updated by Jonathan CLARKE almost 6 years ago

  • Target version changed from 2.6.16 to 2.6.17
#16

Updated by Nicolas PERRON almost 6 years ago

  • Target version changed from 2.6.17 to 2.6.18
#17

Updated by Matthieu CERDA over 5 years ago

  • Target version changed from 2.6.18 to 2.6.19
#18

Updated by Vincent MEMBRÉ over 5 years ago

  • Target version changed from 2.6.19 to 2.6.20
#19

Updated by François ARMAND over 5 years ago

  • Target version changed from 2.6.20 to 2.10.10
#20

Updated by Vincent MEMBRÉ over 5 years ago

  • Target version changed from 2.10.10 to 2.10.11
#21

Updated by Vincent MEMBRÉ over 5 years ago

  • Target version changed from 2.10.11 to 2.10.12
#22

Updated by Benoît PECCATTE about 5 years ago

  • Project changed from Techniques to Rudder
  • Category changed from Techniques to Techniques
#23

Updated by Vincent MEMBRÉ about 5 years ago

  • Target version changed from 2.10.12 to 2.10.13
#24

Updated by Vincent MEMBRÉ about 5 years ago

  • Target version changed from 2.10.13 to 2.10.14
#25

Updated by Vincent MEMBRÉ about 5 years ago

  • Target version changed from 2.10.14 to 2.10.15
#26

Updated by Vincent MEMBRÉ almost 5 years ago

  • Target version changed from 2.10.15 to 2.10.16
#27

Updated by Vincent MEMBRÉ almost 5 years ago

  • Target version changed from 2.10.16 to 2.10.17
#28

Updated by Vincent MEMBRÉ over 4 years ago

  • Target version changed from 2.10.17 to 2.10.18
#29

Updated by Vincent MEMBRÉ over 4 years ago

  • Target version changed from 2.10.18 to 2.10.19
#30

Updated by Vincent MEMBRÉ over 4 years ago

  • Target version changed from 2.10.19 to 2.10.20
#31

Updated by Vincent MEMBRÉ over 4 years ago

  • Target version changed from 2.10.20 to 2.11.18
#32

Updated by Vincent MEMBRÉ over 4 years ago

  • Target version changed from 2.11.18 to 2.11.19
#33

Updated by Vincent MEMBRÉ over 4 years ago

  • Target version changed from 2.11.19 to 2.11.20
#34

Updated by Vincent MEMBRÉ about 4 years ago

  • Target version changed from 2.11.20 to 2.11.21
#35

Updated by Alexis MOUSSET about 4 years ago

  • Status changed from Discussion to Rejected

It was a configuration issue, closing.

Also available in: Atom PDF