| Summary: | cyrus-imapd unable to reliably start/function on top of GlusterFS volume | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Community] GlusterFS | Reporter: | Erik <erikmjacobs> | ||||
| Component: | core | Assignee: | Amar Tumballi <amarts> | ||||
| Status: | CLOSED WORKSFORME | QA Contact: | |||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | high | ||||||
| Version: | 3.2.5 | CC: | ejacobs, erikmjacobs, gluster-bugs, vraman | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | x86_64 | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2012-11-21 09:31:09 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Attachments: |
|
||||||
|
Description
Erik
2011-12-08 01:54:13 UTC
Hi Erik, Thanks for the bug report : * Next time when the hang happens, try doing 'kill -USR1 <PID of process>' and get the statedump from /tmp/glusterdump.<pid> * What is the behavior if you mount the volume with Gluster's NFS server ? * Did you happen to check the log files /var/log/glusterfs/* for any abnormalities ? * Can you try http://bits.gluster.com/pub/gluster/glusterfs/3.3.0qa15/x86_64/ release once, and see the behavior? Regards, Amar (In reply to comment #1) > Hi Erik, > > Thanks for the bug report : > > * Next time when the hang happens, try doing 'kill -USR1 <PID of process>' and > get the statedump from /tmp/glusterdump.<pid> Are you asking me to kill one of the multi-threaded cyrus processes and then look at /tmp/glusterdump.pid or are you asking me to kill one of the glusterfs processes? Gluster itself never appears to hang, only bits and pieces of Cyrus. > > * What is the behavior if you mount the volume with Gluster's NFS server ? I have not tried, but I will attempt to. > > * Did you happen to check the log files /var/log/glusterfs/* for any > abnormalities ? I would not know what I am looking for, but I will attach some shortly. I'll mount with the debug option. > > * Can you try http://bits.gluster.com/pub/gluster/glusterfs/3.3.0qa15/x86_64/ > release once, and see the behavior? I will attempt to test/log with what I currently have (JoeJulian) and what you suggest (bits.gluster). Created attachment 728 I removed all of cyrus' files and started cyrus. It immediately reported filesystem/database access errors. Still using 3.2.5-1.el6.joe http://www.erikjacobs.com/stuff/var-lib-imap.log log file from mounting in debug mode using 3.2.5-1.el6.joe Trying to mount with NFS never completes: [root@gluster1 ~]# mount -t nfs gluster2-storage.forklocal:/mailvol /var/lib/imap I had to ^C out of it. Top on both nodes didn't really show any activity, so I'm not sure what was going on. This was with 3.2.5-1.el6.joe http://bits.gluster.com/pub/gluster/glusterfs/3.3.0qa15/x86_64/ These bits require rsync >= 3.0.7 which is not available in Centos6/EPEL6, so I am unable to test. Erik, Sorry for delay in getting this sorted out. We already made 3.3.0beta3 for community with some enhancements. If you are having free cycles you can test this version now. (In reply to comment #5) > Trying to mount with NFS never completes: > [root@gluster1 ~]# mount -t nfs gluster2-storage.forklocal:/mailvol > /var/lib/imap > > I had to ^C out of it. Top on both nodes didn't really show any activity, so > I'm not sure what was going on. > > This was with 3.2.5-1.el6.joe This can happen because your client normally tries to mount nfs with version 4 as default, which is not supported by GlusterFS. Please try the below option: [root@gluster1 ~]# mount -t nfs -overs=3,nolock gluster2-storage.forklocal:/mailvol /var/lib/imap Let us know if all this fixes the issues for you. -Amar Eric, wanted to see if this is still the issue after 3.3.0 release of glusterfs. If working, would like to close the bug. Amar, I do not have this test environment readily accessible and I will not have time to test for many months. The project never materialized so it fell by the wayside. You can go ahead and close the ticket. If I ever come back to it, I'll open a new one. as per comment #9, closing the ticket. |