PATCH: http://patches.gluster.com/patch/5097 in master (mgmt/glusterd: remove debug messages in cleanup_and_exit)
glusterfs volume stop resulted in a crash in cleanup_and_exit. the pid file is not cleaned up because of this. So the run directory under volume dir deletion resulted in an error. fixed the crash to fix the issue.
volume delete fails because the volume files are not cleaned up in the volume directory. [2010-09-30 11:31:20.653580] I [glusterd-store.c:419:glusterd_store_delete_volume] : Removed pranith-fuse.vol [2010-09-30 11:31:20.653655] E [glusterd-store.c:436:glusterd_store_delete_volume] : Failed to rmdir: /etc/glusterd/vols/pranith, errno: 39 [2010-09-30 11:31:20.653696] D [glusterd-store.c:616:glusterd_store_handle_destroy] : Returning 0 [2010-09-30 11:31:20.653731] D [glusterd-store.c:443:glusterd_store_delete_volume] : Returning -1 [2010-09-30 11:31:20.653763] D [glusterd-op-sm.c:4312:glusterd_op_commit_perform] : Returning -1 [2010-09-30 11:31:20.653797] E [glusterd3_1-mops.c:1208:glusterd3_1_commit_op] : Commit failed