[Bugs] [Bug 1720557] New: gfapi: provide an option for changing statedump path in glfs-api.

bugzilla at redhat.com bugzilla at redhat.com
Fri Jun 14 08:24:37 UTC 2019


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

            Bug ID: 1720557
           Summary: gfapi: provide an option for changing statedump path
                    in glfs-api.
           Product: GlusterFS
           Version: 6
            Status: NEW
         Component: core
          Keywords: FutureFeature
          Severity: high
          Priority: high
          Assignee: bugs at gluster.org
          Reporter: atumball at redhat.com
                CC: aliang at redhat.com, areis at redhat.com,
                    atumball at redhat.com, berrange at redhat.com,
                    bugs at gluster.org, chayang at redhat.com, coli at redhat.com,
                    ddepaula at redhat.com, jen at redhat.com,
                    juzhang at redhat.com, knoel at redhat.com,
                    lolyu at redhat.com, mrezanin at redhat.com,
                    ndevos at redhat.com, rcyriac at redhat.com,
                    rhel8-maint at redhat.com, rhinduja at redhat.com,
                    sasundar at redhat.com, virt-maint at redhat.com
        Depends On: 1689097
            Blocks: 1447694, 1720461
  Target Milestone: ---
    Classification: Community



+++ This bug was initially created as a clone of Bug #1689097 +++

+++ This bug was initially created as a clone of Bug #1586201 +++

TL;DR: We need the ability to control the gluster logging from libvirt/QEMU
when using the gluster driver.


+++ This bug was initially created as a clone of Bug #1447694 +++

QEMU is unable to store Gluster specific debugging logs under
/var/run/gluster/... This is because QEMU runs as user "qemu" and does not have
write permissions there. This debugging (called 'statedump') can be triggered
from the Gluster CLI which sends an event to QEMU (when libgfapi is used).

When the glusterfs packages make sure that a group "gluster" has write
permissions to /var/run/gluster/, could the qemu(-kvm-rhev) package be adjusted
to have the "qemu" user in the "gluster" group? This would allow more debugging
options that help with potential issues when QEMU runs with disk-images over
libgfapi.so.

--- Additional comment from Worker Ant on 2019-03-15 07:41:40 UTC ---

REVIEW: https://review.gluster.org/22364 (gfapi: provide an api for setting
statedump path) posted (#1) for review on master by Amar Tumballi

--- Additional comment from Amar Tumballi on 2019-06-14 05:28:24 UTC ---

The patch is now merged.


Referenced Bugs:

https://bugzilla.redhat.com/show_bug.cgi?id=1689097
[Bug 1689097] gfapi: provide an option for changing statedump path in glfs-api.
https://bugzilla.redhat.com/show_bug.cgi?id=1720461
[Bug 1720461] gfapi: provide an option for changing statedump path in glfs-api.
-- 
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