Bug 1612615 - glusterfs-client on armhf crashes writing files to disperse volumes
Summary: glusterfs-client on armhf crashes writing files to disperse volumes
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: GlusterFS
Classification: Community
Component: fuse
Version: 4.1
Hardware: arm
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: bugs@gluster.org
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-08-06 00:48 UTC by Fox
Modified: 2019-05-27 16:15 UTC (History)
4 users (show)

Fixed In Version: glusterfs-6.x
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-05-27 16:15:14 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)
gluster logs, core file, screen logs (615.77 KB, application/x-gzip)
2018-08-06 00:48 UTC, Fox
no flags Details

Description Fox 2018-08-06 00:48:01 UTC
Created attachment 1473517 [details]
gluster logs, core file, screen logs

Description of problem:
When mounting a gluster disperse volume on armhf architecture the client crashes when writing a file.

I am using ubuntu 18.04LTS on Odroid HC-2 hardware (armhf) and have installed gluster 4.1.2 via PPA. I have 12 member nodes each with a single brick. I can successfully create a working volume via the command:

gluster volume create testvol1 disperse 12 redundancy 4 gluster01:/exports/sda/brick1/testvol1 gluster02:/exports/sda/brick1/testvol1 gluster03:/exports/sda/brick1/testvol1 gluster04:/exports/sda/brick1/testvol1 gluster05:/exports/sda/brick1/testvol1 gluster06:/exports/sda/brick1/testvol1 gluster07:/exports/sda/brick1/testvol1 gluster08:/exports/sda/brick1/testvol1 gluster09:/exports/sda/brick1/testvol1 gluster10:/exports/sda/brick1/testvol1 gluster11:/exports/sda/brick1/testvol1 gluster12:/exports/sda/brick1/testvol1

And start the volume:
gluster volume start testvol1

Mounting the volume on an x86-64 system it performs as expected.

Mounting the same volume on an armhf system (such as one of the cluster members) I can create directories but trying to create a file I get an error and the file system unmounts/crashes:
root@gluster01:~# mount -t glusterfs gluster01:/testvol1 /mnt
root@gluster01:~# cd /mnt
root@gluster01:/mnt# ls
root@gluster01:/mnt# mkdir test
root@gluster01:/mnt# cd test
root@gluster01:/mnt/test# cp /root/notes.txt ./
cp: failed to close './notes.txt': Software caused connection abort
root@gluster01:/mnt/test# ls
ls: cannot open directory '.': Transport endpoint is not connected


I have attached an archive containing gluster logs, core file, and screen logs.
screenlog.sys - Details OS and hardware specs of the system
screenlog.gluster - Details cluster specs, volume creation, mounting, and the failure/crash when writing files to mounted glusterfs volume.


I have been able to consistently reproduce this crash in both 4.1.1 and 4.1.2

When using other volume types I do not experience any crashes or unusual behavior.

Comment 1 Amar Tumballi 2019-05-27 16:15:14 UTC
glusterfs works fine on ARM from glusterfs-6.x releases. There are minor glitches, but not this basic anymore.


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