+++ This bug was initially created as a clone of Bug #1019504 +++ Description of problem: After running the "gluster volume log rotate help" command, other "gluster ..." commands hang. Version-Release number of selected component (if applicable): How reproducible: Consistently Steps to Reproduce: 1. View the help information for the "log rotate" command. It generates an error message and according to "gluster help", "gluster volume log rotate ..." is a valid command. [root@rhsn1 ~]# gluster volume log rotate help volume log-rotate: failed: Volume help does not exist 2. Any proceeding gluster command hangs. [root@rhsn1 ~]# gluster volume info 3. Restarting "glusterd" fixes the issue. [root@rhsn1 ~]# service glusterd restart Stopping glusterd: [ OK ] Starting glusterd: [ OK ] Actual results: "gluster ..." commands hang. Expected results: glusterd must not hang when log rotate fails. Additional info: N/A
REVIEW: http://review.gluster.org/6122 (glusterd: Hold big-lock before invoking log-rotate handler) posted (#1) for review on master by Krutika Dhananjay (kdhananj)
REVIEW: http://review.gluster.org/6122 (glusterd: Release big-lock after log-rotate handler returns) posted (#2) for review on master by Krutika Dhananjay (kdhananj)
REVIEW: http://review.gluster.org/6122 (glusterd: Release big-lock after log-rotate handler returns) posted (#3) for review on master by Krutika Dhananjay (kdhananj)
REVIEW: http://review.gluster.org/6122 (glusterd: Release big-lock after log-rotate handler returns) posted (#4) for review on master by Krutika Dhananjay (kdhananj)
COMMIT: http://review.gluster.org/6122 committed in master by Anand Avati (avati) ------ commit 5e96e7d4a976975d8eac0bbf8d0d7ea663665bce Author: Krutika Dhananjay <kdhananj> Date: Tue Oct 22 20:18:28 2013 +0530 glusterd: Release big-lock after log-rotate handler returns ... so that subsequent volume commands don't block waiting forever, for the lock to be released. Change-Id: I24b5ec47f6982900ab74ff1b492d523f31ecfb7f BUG: 1022055 Signed-off-by: Krutika Dhananjay <kdhananj> Reviewed-on: http://review.gluster.org/6122 Tested-by: Gluster Build System <jenkins.com> Reviewed-by: Anand Avati <avati>
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.5.0, please reopen this bug report. glusterfs-3.5.0 has been announced on the Gluster Developers mailinglist [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://thread.gmane.org/gmane.comp.file-systems.gluster.devel/6137 [2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user