-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[bug:1728183] SMBD thread panics on file operations from Windows, OS X and Linux when using vfs_glusterfs #898
Comments
Time: 20190709T09:15:08 |
Time: 20190709T09:15:48 |
Time: 20190709T09:16:25 |
Time: 20190709T11:47:56 |
Time: 20190719T10:19:41
This is weird. Can you post your smb.conf? |
Time: 20190719T10:29:03 It's very odd, i've got a feeling it's something related to the upgrade/downgrade process I've been using to test different versions of Gluster for the different bug tickets I've got open. Currently I'm using the following script to upgrade/downgrade (This one's to upgrade to 6): Please could you flag any issues with this? Or a recommended way of downgrading particularly. SMB config: [QC] [QC-GlusterFuse] [QC-FUSE] Many thanks, |
Time: 20190902T13:54:01 |
Time: 20191017T14:46:40 mag-desktop-01 (ipv4:10.0.3.12:57488) connect to service Grading initially as user editor01 (uid=2000, gid=2900) (pid 296596) |
Time: 20191017T14:47:11 |
Time: 20191022T10:58:09 (In reply to ryan from comment #8)
I don't see a share named [Grading] in the smb.conf from comment #6. If that's newly added, was there any changes to global parameters? |
Time: 20191022T15:32:19 Versions:
In an effort to reduce the variables in play, I'd changed the config. Complete config below: [global] [Grading] Best, |
Time: 20191030T13:57:23 Did you get a chance to look into this? |
Time: 20191105T10:04:27 I believe we have found the issue with this, however require some assistance with the workaround. In the meantime, is it possible to downgrade the op-version? Many thanks, |
Time: 20191118T10:50:08
GFAPI uses symbol versions. Unless some API got removed(zero chance for this to happen) every old version of a modified API must be still present in newer GlusterFS. Assuming Samba version is maintained I am curious how such a incompatibility can lead to panics.
How did it go?
I would suggest to stay or operate at maximum available op-version to make use of latest features in updated GlusterFS. |
Time: 20191118T10:58:22 Below were the test versions and results Gluster 4.1 (op-version 40100) + Sernet Samba Gluster VFS (Built against Gluster 3.12) = PASS The VFS packages compiled for us by Sernet, against Gluster 6.5 has resolved this issue for us. Please let me know if you need any more info/data. |
Time: 20191118T12:01:14
Expected..
Just like GlusterFS VFS module based on v3.12 works fine with op-version 40100, I would expect it to work with op-version 60000 too. Or else it needs some investigation.
Fine.
Good.
I remember that you were blocked in testing bz #1680085 due to this bug. Can you re-visit bz #1680085 now? |
Time: 20191119T14:54:47 For now this does imply that gluster needs to use the same (or close) op-version associated with 3.12 if you're using a gluster VFS that was linked with 3.12 libgfapi. |
Time: 20191120T11:40:20 Thanks for confirming. Best, |
Time: 20191121T09:31:13 |
Time: 20191121T09:40:25 Please see revised comment, does this answer your question? Gluster Server 4.1 (op-version 40100) + Sernet Samba Gluster VFS (Built against Gluster Client 3.12) = PASS Best, |
Time: 20191121T10:14:01 This is not a requirement from a libgfapi gluster-bindings perspective. It expected to work correctly when compiling Samba against glusterfs-3.12, but run the resulting vfs_gluster module (Built against Gluster Client 3.12) on a system that has only the glusterfs-6.x versions installed. The built Samba/vfs_gluster binary should be compatible with glusterfs-6.x. It is recommended that Gluster clients and Gluster servers run with the same Gluster version (even when Samba/vfs_gluster is built with an older version of Gluster). |
Time: 20191121T10:20:42 Best, |
Time: 20191121T11:04:52 In that case I'm really surprised to hear that different op-versions can cause a panic in Samba... Anoop would be the best person to help with this. |
Thank you for your contributions. |
Closing this issue as there was no update since my last update on issue. If this is an issue which is still valid, feel free to open it. |
URL: https://bugzilla.redhat.com/1728183
Creator: ryan at 7fivefive
Time: 20190709T09:14:27
Created attachment 1588661
Windows error 01
Description of problem:
SMBD thread panics when a file operation performed from a Windows, Linux or OS X client when the share is using the glusterfs VFS module, either on its own, or in conjunction with others i.e.:
Gluster volume info:
Volume Name: mcv01
Type: Distributed-Replicate
Volume ID: 1580ab45-0a14-4f2f-8958-b55b435cdc47
Status: Started
Snapshot Count: 0
Number of Bricks: 2 x 2 = 4
Transport-type: tcp
Bricks:
Brick1: mcn01:/mnt/h1a/mcv01_data
Brick2: mcn02:/mnt/h1b/mcv01_data
Brick3: mcn01:/mnt/h2a/mcv01_data
Brick4: mcn02:/mnt/h2b/mcv01_data
Options Reconfigured:
features.quota-deem-statfs: on
nfs.disable: on
features.inode-quota: on
features.quota: on
cluster.brick-multiplex: off
cluster.server-quorum-ratio: 50%
Version-Release number of selected component (if applicable):
Gluster 6.3
Samba 4.10.6-5
How reproducible:
Every time
Steps to Reproduce:
Actual results:
Multiple error messages, attached to bug
In OS X or Linux, running 'dd if=/dev/zero of=/mnt/share/test.dat bs=1M count=100' results in a hang. Tailing OS X console logs reveals that the share is timing out.
Expected results:
File operation is successful
Additional info:
Gluster client logs, and SMB debug 10 logs attached
The text was updated successfully, but these errors were encountered: