Bug 1612615

Summary: glusterfs-client on armhf crashes writing files to disperse volumes
Product: [Community] GlusterFS Reporter: Fox <foxxz.net>
Component: fuseAssignee: bugs <bugs>
Status: CLOSED WORKSFORME QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 4.1CC: atumball, bugs, nchilaka, pasik
Target Milestone: ---   
Target Release: ---   
Hardware: arm   
OS: Linux   
Whiteboard:
Fixed In Version: glusterfs-6.x Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-05-27 16:15:14 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
gluster logs, core file, screen logs none

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.