[Bugs] [Bug 1378085] Unable to take Statedump for gfapi applications

bugzilla at redhat.com bugzilla at redhat.com
Tue Apr 25 15:33:57 UTC 2017


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



--- Comment #13 from Niels de Vos <ndevos at redhat.com> ---
I installed a RHGS-3.2 system and upgraded to the latest glusterfs build from
Brew. Running the glfs_sysrq.t is successful, showing that gfapi applications
can do statedumps:

    [root at vm019 tests]# rpm -q glusterfs
    glusterfs-3.8.4-23.el7rhgs.x86_64
    [root at vm019 tests]# prove -vv basic/gfapi/glfs_sysrq.t
    basic/gfapi/glfs_sysrq.t ..
    1..10
    ok 1, LINENUM:13
    ok 2, LINENUM:14
    ok 3, LINENUM:15
    ok 4, LINENUM:16
    ok 5, LINENUM:18
    ok 6, LINENUM:19
    ok 7, LINENUM:25
    ok 8, LINENUM:29
    ok 9, LINENUM:32
    ok 10, LINENUM:35
    ok
    All tests successful.
    Files=1, Tests=10, 15 wallclock secs ( 0.04 usr  0.00 sys +  0.75 cusr 
0.61 csys =  1.40 CPU)
    Result: PASS
    [root at vm019 tests]# ls /var/run/gluster/glusterdump.*
    /var/run/gluster/glusterdump.21166.dump.1493132392

This test only calls glfs_sysrq() to generate the statedump, and does not test
the gluster-cli or the glusterd-mgmt parts. For this, the upstream
tests/bugs/cli/bug-1169302.c can be used:

    # gluster volume create bz1378085 ...
    # gluster volume start bz1378085

    # bugs/cli/bug-1169302 bz1378085 $HOSTNAME \
           /var/tmp/bug-1169302.log bug-1169302.bin

    # pgrep bug-1169302
    31043

    [root at vm019 ~]# gluster volume statedump bz1378085 client $HOSTNAME:31043
    volume statedump: success
    [root at vm019 ~]# ls /var/run/gluster/glusterdump.*
    /var/run/gluster/glusterdump.31043.dump.1493133982

Because this works just fine, I suspect that there is a configuration issue on
the hypervisor somewhere (SELinux is still a likely candidate).

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=bPQczm04XX&a=cc_unsubscribe


More information about the Bugs mailing list