+++ 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.
REVIEW: https://review.gluster.org/22364 (gfapi: provide an api for setting statedump path) posted (#1) for review on master by Amar Tumballi
The patch is now merged.
REVIEW: https://review.gluster.org/23103 (gfapi: provide version for statedump path) posted (#1) for review on release-7 by Amar Tumballi
REVIEW: https://review.gluster.org/23102 (gfapi: provide version for statedump path) merged (#3) on master by Amar Tumballi
Patch is merged closing this bug now.