Bug 1117888
Summary: | Problem when enabling quota : Could not start quota auxiliary mount | |||
---|---|---|---|---|
Product: | [Community] GlusterFS | Reporter: | NOVELTIS IT <sysadmin> | |
Component: | quota | Assignee: | Manikandan <mselvaga> | |
Status: | CLOSED CURRENTRELEASE | QA Contact: | ||
Severity: | medium | Docs Contact: | ||
Priority: | medium | |||
Version: | 3.5.1 | CC: | bugs, monotek23, mselvaga, ndevos, redhat.bugs, smohan, vmallika | |
Target Milestone: | --- | Keywords: | EasyFix, Triaged | |
Target Release: | --- | |||
Hardware: | x86_64 | |||
OS: | Linux | |||
Whiteboard: | ||||
Fixed In Version: | glusterfs-3.5.8 | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1302541 (view as bug list) | Environment: | ||
Last Closed: | 2016-03-04 11:15:13 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: | 1290976, 1302541 |
Description
NOVELTIS IT
2014-07-09 15:18:48 UTC
This issue is only seen on Debian (and derivatives). The RPM packages create the /var/run/gluster directory. The fix for this should be two-fold: 1. cli-cmd-volume.c:gf_cli_create_auxiliary_mount() should create the dir if it is missing 2. 'make install' should create the /var/run/gluster (or other ./configure'd) dir (In reply to Niels de Vos from comment #1) > 1. cli-cmd-volume.c:gf_cli_create_auxiliary_mount() should create the dir if > it is missing Actually, gf_cli_create_auxiliary_mount() is probably the wrong place for the fix. It is up to the bits of the for the start of the quota process which uses this dir. The change for mainline has not been posted/merged yet. I'm preparing a beta for glusterfs-3.5.3 without this change. Hopefully a fix will land in time for glusterfs-3.5.4. This is still a problem in 3.7.0. readv on /var/run/gluster/quotad.socket failed confusing thing is that file exists: $ ls -al /var/run/gluster/quotad.socket srwxr-xr-x 1 root root 0 May 20 10:52 /var/run/gluster/quotad.socket There were no patches submitted in time for the glusterfs-3.5.6 release that should resolve this bug. This bug report is moved for tracking to the glusterfs-3.5.7 release, submitting patches/backports is very much appreciated. Hi Richard, If file '/var/run/gluster/quotad.socket' doesn't exists then open should have failed. readv on /var/run/gluster/quotad.socket failed could be a different issue. could you provide the complete log information? Thanks, Vijay I'm sorry but I don't use GlusterFS any more... I gave up as it had too many issues for my use. However, from memory I don't think this is an issue with the newer versions of the software so you could probably close this bug report as 'fixed'? Problem exists in Glusterfs 3.5.7 in Ubuntu Hi, We are not able to reproduce the problem with glusterfs 3.5.7 in Ubuntu. Enabling quota worked fine without any errors for us. May I know which version of Ubuntu are you using ? Please let us know if there is a different way to reproduce this issue. Also, it would be helpful if you could mail us the complete log details(to mselvaga). -- Thanks & Regards, Manikandan Selvaganesh. I use the GlusterFS Packages from the offical PPA @ https://launchpad.net/~gluster since Glusterfs 3.2. or 3.3 on Ubuntu 14.04. Used Quota the first time last week. Had to create the directorys by hand to get it work. I'm afraid the logs are not available anymore but its the same error like in the initial bugreport. Found it while googling for the same error. REVIEW: http://review.gluster.org/13215 (quota : fix could not start auxiliary mount issue) posted (#1) for review on release-3.5 by Manikandan Selvaganesh (mselvaga) REVIEW: http://review.gluster.org/13215 (quota : fix could not start auxiliary mount issue) posted (#2) for review on release-3.5 by Manikandan Selvaganesh (mselvaga) Hi, Thanks for your inputs. Sorry, it was my mistake. I ran with some old binaries. I am able to reproduce the issue now. I have fixed the issue and a patch[1] has been sent upstream. You could expect the fix in the next upcoming minor release of 3.5. [1] http://review.gluster.org/#/c/13215/ -- Thanks & Regards, Manikandan Selvaganesh. REVIEW: http://review.gluster.org/13215 (quota : fix could not start auxiliary mount issue) posted (#3) for review on release-3.5 by Manikandan Selvaganesh (mselvaga) REVIEW: http://review.gluster.org/13215 (quota : fix could not start auxiliary mount issue) posted (#4) for review on release-3.5 by Manikandan Selvaganesh (mselvaga) REVIEW: http://review.gluster.org/13215 (quota : fix could not start auxiliary mount issue) posted (#5) for review on release-3.5 by Manikandan Selvaganesh (mselvaga) COMMIT: http://review.gluster.org/13215 committed in release-3.5 by Niels de Vos (ndevos) ------ commit e61a2171f2389ec6cf1be962b68609c2e763cbd9 Author: Manikandan Selvaganesh <mselvaga> Date: Mon Jan 11 18:08:27 2016 +0530 quota : fix could not start auxiliary mount issue In versions older than 3.7, when trying to enable quota, the following message appears :"quota: Could not start quota auxiliary mount". It was because, /var/run/gluster was not getting created in cli side. In 3.7, the code has been moved to glusterd and we are making use of sys_mkdir. 3.6 fix -> http://review.gluster.org/#/c/13308/ Change-Id: Id4360409f76b57c0f676fe2b859f3647c4340575 BUG: 1117888 Signed-off-by: Manikandan Selvaganesh <mselvaga> Reviewed-on: http://review.gluster.org/13215 Smoke: Gluster Build System <jenkins.com> CentOS-regression: Gluster Build System <jenkins.com> NetBSD-regression: NetBSD Build System <jenkins.org> Reviewed-by: Niels de Vos <ndevos> Reviewed-by: Vijaikumar Mallikarjuna <vmallika> GlusterFS 3.5.8 has been released and should fix this bug: http://www.gluster.org/pipermail/announce/2016-March/000054.html |