Bug 1445569
Summary: | Provide a correct way to save the statedump generated by gfapi application | ||
---|---|---|---|
Product: | [Community] GlusterFS | Reporter: | SATHEESARAN <sasundar> |
Component: | packaging | Assignee: | Kaleb KEITHLEY <kkeithle> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | mainline | CC: | bugs, kkeithle, mchangir, ndevos |
Target Milestone: | --- | Keywords: | Triaged |
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
URL: | http://lists.gluster.org/pipermail/gluster-devel/2017-April/052629.html | ||
Whiteboard: | |||
Fixed In Version: | glusterfs-3.11.0 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2017-05-30 18:51:22 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 1445570 |
Description
SATHEESARAN
2017-04-26 01:32:21 UTC
Thanks Neils for figuring out the actual problem that QEMU doesn't have permission to write to /var/run/gluster directory. Possible solutions as suggested by Neils 1. One approach would be to create a "gluster" group and give the group permissions to write to /var/run/gluster/... 2. Other 'fixes' include setting ACLs on the directory so that specified users can write there.because many daemons have a "home directory" that does not exist, it probably is not a good idea to use $HOME to store statedumps. REVIEW: https://review.gluster.org/17122 (packaging: /var/run/gluster owner gluster:gluster(0775) for statedumps) posted (#1) for review on master by Kaleb KEITHLEY (kkeithle) REVIEW: https://review.gluster.org/17122 (packaging: /var/run/gluster owner gluster:gluster(0775) for statedumps) posted (#2) for review on master by Kaleb KEITHLEY (kkeithle) REVIEW: https://review.gluster.org/17122 (packaging: /var/run/gluster owner gluster:gluster(0775) for statedumps) posted (#3) for review on master by Kaleb KEITHLEY (kkeithle) Requested ideas on the oVirt devel list too: http://lists.ovirt.org/pipermail/devel/2017-April/030262.html REVIEW: https://review.gluster.org/17122 (packaging: /var/run/gluster owner gluster:gluster(0775) for statedumps) posted (#4) for review on master by Kaleb KEITHLEY (kkeithle) REVIEW: https://review.gluster.org/17122 (packaging: /var/run/gluster owner gluster:gluster(0775) for statedumps) posted (#5) for review on master by Kaleb KEITHLEY (kkeithle) REVIEW: https://review.gluster.org/17122 (packaging: /var/run/gluster owner gluster:gluster(0775) for statedumps) posted (#6) for review on master by Kaleb KEITHLEY (kkeithle) COMMIT: https://review.gluster.org/17122 committed in master by Kaleb KEITHLEY (kkeithle) ------ commit 0e50c4b3ea734456c14e2d7a578463999bd332c3 Author: Kaleb S. KEITHLEY <kkeithle> Date: Wed Apr 26 08:11:56 2017 -0400 packaging: /var/run/gluster owner gluster:gluster(0775) for statedumps gfapi has the ability to take statedumps. However, if the application using gfapi isn't running with root privs the statedump file can't be written to the default location, i.e. /var/run/gluster. Change-Id: I97d8919ef8b8cd4775e1a206f939a2bf0046786d BUG: 1445569 Signed-off-by: Kaleb S. KEITHLEY <kkeithle> Reviewed-on: https://review.gluster.org/17122 Smoke: Gluster Build System <jenkins.org> NetBSD-regression: NetBSD Build System <jenkins.org> CentOS-regression: Gluster Build System <jenkins.org> Reviewed-by: Niels de Vos <ndevos> This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-3.11.0, please open a new bug report. glusterfs-3.11.0 has been announced on the Gluster mailinglists [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution. [1] http://lists.gluster.org/pipermail/announce/2017-May/000073.html [2] https://www.gluster.org/pipermail/gluster-users/ |