Bug 762759 (GLUSTER-1027)

Summary: Glusterfs does not recognize files installed with cp -p
Product: [Community] GlusterFS Reporter: Mariusz Slonina <mariusz.slonina>
Component: coreAssignee: shishir gowda <sgowda>
Status: CLOSED WORKSFORME QA Contact:
Severity: medium Docs Contact:
Priority: low    
Version: 3.0.4CC: gluster-bugs, nsathyan, tejas, vijay
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
Server configuration
none
Client file none

Description Mariusz Slonina 2010-06-24 15:05:50 UTC
For my software I use Waf build system (http://code.google.com/p/waf/). The installation is performed with python shutil.copy2 function which works similar to cp -p. After that, installed files are not seen by the glusterfs. I tried to manually install files, by copying them both with cp and cp -p. The result for cp -p is the same as for shutil.copy2(). Copying with cp works ok. I checked the logs, but there is no information about any problems with copy.

Version of GlusterFS is 3.0.4 on Gentoo x86_64

Comment 1 Mariusz Slonina 2010-06-28 04:57:37 UTC
This issue also prevents compiling and installing files from the git repository, thus, to use code on a cluster, I need first copy all repo, which is not a pretty way...

Comment 2 shishir gowda 2010-07-15 02:52:11 UTC
please provide the client and server volume files.

Regards,
Shishir

Comment 3 Mariusz Slonina 2010-07-15 13:24:59 UTC
Created attachment 251 [details]
new spec file

Comment 4 Mariusz Slonina 2010-07-15 13:25:53 UTC
Created attachment 252 [details]
rpm -qa of the affected machine

Comment 5 shishir gowda 2010-07-16 08:44:49 UTC
We were not able to reproduce the issue in-house.

Could you change the log-level to TRACE and provide the logs when the issue is seen again.

Also, is the cp option -p or -P ?

When -P is used, a symlink is copied as a Symlink. With -p, it is copied as a file. 

With regards,
Shishir

Comment 6 shishir gowda 2010-07-27 06:35:36 UTC
please reopen the bug if reproduced along with logs with loglevel TRACE or DEBUG.

With regards,
Shishir