Alessandro Iurlano
2010-Dec-10 11:08 UTC
[Gluster-users] Problems with Glusterfs and OpenVz
Hello everybody I am evaluating Gluster as storage backend for our virtualization infrastructure but I am having problems using Glusterfs with OpenVZ. What I want to do is to store OpenVZ containers on Glusterfs filesystem and not to mount Glusterfs volumes from inside OpenVZ containers that appears to be what everyone does, according to Google results. Basically I have setup an OpenVZ server (with Proxmox) and a replicated Glusterfs volume from that server and another debian machine. I have been able to create an OpenVZ container on the Glusterfs filesystem without problems with the latest Glusterfs version 3.1.2qa1 (due to the mknod bug http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2145). But whenever I start this new container it lasts only a couple of minutes (just the time to boot and a couple commands) and then Glusterfs hangs and I get the error Transport Endpoint is not connected. The Gluster volume is not accessible anymore from the OpenVz server (even though this server is a gluster server itself), the container completely stops working and killing glusterfs processes does not help to recover the situation. The only way is to reboot the machine. This is an extract from an error log http://pastebin.com/66ipxbnA Any suggestions? Does anybody have any successful experience with OpenVZ and Gluster or know of any howto / documentation? Thanks in advance, Alessandro
Hi Alessandro,>> This is an extract from an error log http://pastebin.com/66ipxbnAThanks for the bug report. We found the reason for the crash reported, and fixes are already in repository. You can either wait for newer release, or checkout the latest repository code for the fix. Regards, Amar On Fri, Dec 10, 2010 at 4:38 PM, Alessandro Iurlano < alessandro.iurlano at gmail.com> wrote:> Hello everybody > > I am evaluating Gluster as storage backend for our virtualization > infrastructure but I am having problems using Glusterfs with OpenVZ. > What I want to do is to store OpenVZ containers on Glusterfs > filesystem and not to mount Glusterfs volumes from inside OpenVZ > containers that appears to be what everyone does, according to Google > results. > > Basically I have setup an OpenVZ server (with Proxmox) and a > replicated Glusterfs volume from that server and another debian > machine. > I have been able to create an OpenVZ container on the Glusterfs > filesystem without problems with the latest Glusterfs version 3.1.2qa1 > (due to the mknod bug > http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2145). But > whenever I start this new container it lasts only a couple of minutes > (just the time to boot and a couple commands) and then Glusterfs hangs > and I get the error Transport Endpoint is not connected. > > The Gluster volume is not accessible anymore from the OpenVz server > (even though this server is a gluster server itself), the container > completely stops working and killing glusterfs processes does not help > to recover the situation. The only way is to reboot the machine. > > This is an extract from an error log http://pastebin.com/66ipxbnA > > Any suggestions? > Does anybody have any successful experience with OpenVZ and Gluster or > know of any howto / documentation? > > Thanks in advance, > Alessandro > _______________________________________________ > Gluster-users mailing list > Gluster-users at gluster.org > http://gluster.org/cgi-bin/mailman/listinfo/gluster-users >