Bug 762759 (GLUSTER-1027) - Glusterfs does not recognize files installed with cp -p
Summary: Glusterfs does not recognize files installed with cp -p
Keywords:
Status: CLOSED WORKSFORME
Alias: GLUSTER-1027
Product: GlusterFS
Classification: Community
Component: core
Version: 3.0.4
Hardware: x86_64
OS: Linux
low
medium
Target Milestone: ---
Assignee: shishir gowda
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-06-24 15:05 UTC by Mariusz Slonina
Modified: 2015-12-01 16:45 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:


Attachments (Terms of Use)
Server configuration (957 bytes, application/octet-stream)
2010-07-15 13:24 UTC, Mariusz Slonina
no flags Details
Client file (1.03 KB, application/octet-stream)
2010-07-15 13:25 UTC, Mariusz Slonina
no flags Details

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


Note You need to log in before you can comment on or make changes to this bug.