Bug 1689097 - gfapi: provide an option for changing statedump path in glfs-api.
Summary: gfapi: provide an option for changing statedump path in glfs-api.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: core
Version: mainline
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
Assignee: bugs@gluster.org
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 1447694 1720461 1720557
TreeView+ depends on / blocked
 
Reported: 2019-03-15 06:25 UTC by Amar Tumballi
Modified: 2020-02-10 17:46 UTC (History)
19 users (show)

Fixed In Version: glusterfs-7.0
Doc Type: Enhancement
Doc Text:
Clone Of: 1586201
: 1720461 1720557 1733127 (view as bug list)
Environment:
Last Closed: 2020-02-10 17:46:21 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Gluster.org Gerrit 22364 0 None Open gfapi: provide an api for setting statedump path 2019-03-15 07:41:39 UTC
Gluster.org Gerrit 23102 0 None Open gfapi: provide version for statedump path 2019-08-13 05:59:31 UTC
Gluster.org Gerrit 23103 0 None Abandoned gfapi: provide version for statedump path 2019-07-25 09:34:14 UTC

Description Amar Tumballi 2019-03-15 06:25:13 UTC
+++ 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.

Comment 1 Worker Ant 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

Comment 2 Amar Tumballi 2019-06-14 05:28:24 UTC
The patch is now merged.

Comment 3 Worker Ant 2019-07-25 08:23:12 UTC
REVIEW: https://review.gluster.org/23103 (gfapi: provide version for statedump path) posted (#1) for review on release-7 by Amar Tumballi

Comment 4 Worker Ant 2019-08-13 05:59:33 UTC
REVIEW: https://review.gluster.org/23102 (gfapi: provide version for statedump path) merged (#3) on master by Amar Tumballi

Comment 6 Sunny Kumar 2020-02-10 17:46:21 UTC
Patch is merged closing this bug now.


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