[Bugs] [Bug 1727062] New: Attribute error when copying to share using vfs_glusterfs

bugzilla at redhat.com bugzilla at redhat.com
Thu Jul 4 10:50:20 UTC 2019


https://bugzilla.redhat.com/show_bug.cgi?id=1727062

            Bug ID: 1727062
           Summary: Attribute error when copying to share using
                    vfs_glusterfs
           Product: GlusterFS
           Version: 6
          Hardware: x86_64
                OS: Linux
            Status: NEW
         Component: gluster-smb
          Severity: high
          Assignee: bugs at gluster.org
          Reporter: ryan at magenta.tv
                CC: bugs at gluster.org
  Target Milestone: ---
    Classification: Community



Description of problem:


Version-Release number of selected component (if applicable):
Test system 01 {
   Fedora 30
   Gluster 6.3
   Samba 4.10.5-1
}

Test system 02 {
   Gluster 4.1
   Samba 4.9.10
}

How reproducible:
Everytime

Control test:
1. Connect to known good share which doesn't use gluster VFS module
2. With an application like pathfinder, copy some files to the share
3. Files copy as expected

Steps to Reproduce:
1. Connect to share
2. With an application like pathfinder, copy some files to the share
3. 'Attributes error' shown, 0 byte files created on share

Actual results:
'Attributes error' shown, 0 byte files created on share

Expected results:
File's copy as expected


Additional info:
Tested with both a Gluster share and a standard XFS share. This was repeated on
test system 01 and test system 02 (see above for versions). Test results:

Test 01 = Copy files with pathfinder to Gluster VFS share = Fail
Test 02 = Copy files with pathfinder to normal XFS share = Pass
Test 03 = Copy files with Finder to Gluster VFS share = Pass
Test 04 = Copy files with Finder to normal XFS share = Pass

I've collected trace gluster client logs, and debug 10 samba logs.
Please find logs here:
https://drive.google.com/drive/folders/1zyp3vei8JXKQYDOI3kiK17Ha1jJBRP6h?usp=sharing

Samba config:
[global]
security = ADS
workgroup = MAGENTA
realm = MAGENTA.LOCAL
netbios name = MNAS-FEDORA30
max protocol = SMB3
min protocol = SMB2
ea support = yes
clustering = yes
server signing = no
max log size = 10000
glusterfs:loglevel = 9
log file = /var/log/samba/log-%M.smbd
logging = file
log level = 10
template shell = /sbin/nologin
winbind offline logon = false
winbind refresh tickets = yes
winbind enum users = Yes
winbind enum groups = Yes
allow trusted domains = yes
passdb backend = tdbsam
idmap cache time = 604800
idmap negative cache time = 300
winbind cache time = 604800
idmap config magenta:backend = rid
idmap config magenta:range = 10000-999999
idmap config * : backend = tdb
idmap config * : range = 3000-7999
guest account = nobody
map to guest = bad user
force directory mode = 0777
force create mode = 0777
create mask = 0777
directory mask = 0777
hide unreadable = no
store dos attributes = no
unix extensions = no
load printers = no
printing = bsd
printcap name = /dev/null
disable spoolss = yes
glusterfs:volfile_server = localhost
kernel share modes = No
strict locking = auto
oplocks = yes
durable handles = yes
kernel oplocks = no
posix locking = no
level2 oplocks = no
readdir_attr:aapl_rsize = yes
readdir_attr:aapl_finder_info = no
readdir_attr:aapl_max_access = no
fruit:aapl = yes
fruit:resource = xattr
fruit:metadata = netatalk
fruit:delete_empty_adfiles = yes

[QC]
guest ok = no
read only = no
vfs objects = catia fruit streams_xattr glusterfs
glusterfs:volume = mcv01
path = "/data/qc_only"
valid users = @"QC_ops"
recycle:repository = .recycle
recycle:keeptree = yes
recycle:versions = yes
recycle:directory_mode = 0770
recycle:subdir_mode = 0777
glusterfs:logfile = /var/log/samba/glusterfs-mcv01.%M.log

[QC-XFS]
guest ok = no
read only = no
vfs objects = catia fruit streams_xattr
path = /tmp/share-test
valid users = @"QC_ops"
recycle:repository = .recycle
recycle:keeptree = yes
recycle:versions = yes
recycle:directory_mode = 0770
recycle:subdir_mode = 0777

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list