[Bugs] [Bug 1445569] New: Provide a correct way to save the statedump generated by gfapi application
bugzilla at redhat.com
bugzilla at redhat.com
Wed Apr 26 01:32:21 UTC 2017
https://bugzilla.redhat.com/show_bug.cgi?id=1445569
Bug ID: 1445569
Summary: Provide a correct way to save the statedump generated
by gfapi application
Product: GlusterFS
Version: mainline
Component: core
Severity: high
Assignee: bugs at gluster.org
Reporter: sasundar at redhat.com
CC: bugs at gluster.org
Description of problem:
-----------------------
QEMU uses native glusterfs driver ( which uses libgfapi ) to provides VM
ability to access to the disks that resides on gluster volume
When generating statedump of gfapi application (QEMU), QEMU doesn't have
permission to write to statedump path ( /var/run/gluster ) and doesn't
generates statedump. Only the applications that runs with 'root' privilege
could write to the directory - /var/run/gluster
There should be a proper way for applications that doesn't have root privilege
to write to /var/run/gluster
Version-Release number of selected component (if applicable):
-------------------------------------------------------------
mainline
3.10
3.8
How reproducible:
------------------
Always
Steps to Reproduce:
--------------------
1. Create a VM that runs with disk accessed using QEMU's native driver for
glusterfs (gfapi)
2. Trigger statedump from gluster node
# gluster volume statedump <vol> client <hypervisor-IP/FQDN>:<QEMU-PID>
Actual results:
---------------
No statedump dumped by QEMU process under /var/run/gluster
QEMU user doesn't have privilege to write to /var/run/gluster
Expected results:
-----------------
statedump available under /var/run/gluster
--
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