<div dir="ltr">Hi,<div><br></div><div>Never tried something other than proxmox</div><div>Well, all the way around I was testing this issue I was watching installation logs and seen nothing but failures themselves.</div><div><br></div><div><a href="https://romanr.eu/owncloud/index.php/s/76Mf3Z1rIbvDgIO">https://romanr.eu/owncloud/index.php/s/76Mf3Z1rIbvDgIO</a><br></div><div>these are errors I&#39;ve managed to get.</div><div>The only thing I understood during these test is that FS is being corrupted. Another guy who tested the same ended up with mount error during boot due to errors in FS and when it started to chkfs it, it reported that his installation suddenly runs FAT32 ... </div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-08-06 5:26 GMT+03:00 Niels de Vos <span dir="ltr">&lt;<a href="mailto:ndevos@redhat.com" target="_blank">ndevos@redhat.com</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Tue, Aug 04, 2015 at 04:06:50PM +0300, Roman wrote:<br>
&gt; Hi all,<br>
&gt; I&#39;m back and tested those things.<br>
&gt; Michael was right. I&#39;ve enabled read-ahead option and nothing changed.<br>
&gt; So the thing causes the problem with libgfapi and d8 virtio drivers<br>
&gt; is performance.write-behind. If it is off, everything works perfect. If I<br>
&gt; set it On, different problems are as result (which were confirmed by other<br>
&gt; user with same configuration).<br>
<br>
</span>Thanks for the follow up, Roman!<br>
<br>
We&#39;ll need to think about how to trace the I/O pattern that the<br>
installation does, and see if we can emulate that in a test-case. Once<br>
we can easily reproduce the problem, investigating the cause gets<br>
easier.<br>
<br>
I&#39;ve got some more questions that should help us:<br>
- Do you know if any non-Proxmox environments had the same issue?<br>
- Is it possible to notice the failure in the guest and abort? When we<br>
  track the I/O pattern, the failure would be at the end, and not<br>
  somewhere in the trace (almost impossible to find).<br>
<br>
Thanks,<br>
Niels<br>
<div class="HOEnZb"><div class="h5"><br>
&gt;<br>
&gt; 2015-07-20 1:53 GMT+03:00 Roman &lt;<a href="mailto:romeo.r@gmail.com">romeo.r@gmail.com</a>&gt;:<br>
&gt;<br>
&gt; &gt; Thanks for your reply.<br>
&gt; &gt; I will test these options as soon as I&#39;m back from ma vacation (2 weeks<br>
&gt; &gt; from now on). I&#39;ll be too far from servers to change something even on<br>
&gt; &gt; testing volume 8)<br>
&gt; &gt;<br>
&gt; &gt; 2015-07-19 23:47 GMT+03:00 Niels de Vos &lt;<a href="mailto:ndevos@redhat.com">ndevos@redhat.com</a>&gt;:<br>
&gt; &gt;<br>
&gt; &gt;&gt; On Sat, Jul 18, 2015 at 03:56:37PM +0000, Michael Mol wrote:<br>
&gt; &gt;&gt; &gt; I think you&#39;ll find it&#39;s the write-behind that was killing you.<br>
&gt; &gt;&gt; &gt; Write-behind opens you up to a number of data consistency issues, and I<br>
&gt; &gt;&gt; &gt; strongly disrecommend it unless you have a rock-solid infrastructure<br>
&gt; &gt;&gt; from<br>
&gt; &gt;&gt; &gt; the writer all the way to the disk the data ultimately sits on.<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; The suggestion to disable these two options was to change the access<br>
&gt; &gt;&gt; pattern done by Qemu+libgfapi. Without looking into the source code, I<br>
&gt; &gt;&gt; do not know how write-behind and read-ahead play together. Anything that<br>
&gt; &gt;&gt; is &quot;written behind&quot; should get flushed when a &quot;read ahead&quot; operation<br>
&gt; &gt;&gt; overlaps a &quot;written behind&quot; area. There have been issues with<br>
&gt; &gt;&gt; write-behind before, where the flushing was not done in some corner<br>
&gt; &gt;&gt; case (<a href="https://github.com/gluster/glusterfs/commit/b0515e2a" rel="noreferrer" target="_blank">https://github.com/gluster/glusterfs/commit/b0515e2a</a>). Maybe this<br>
&gt; &gt;&gt; is something similar.<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; &gt; I bet that if you re-enabled read-ahead, you won&#39;t see the problem. Just<br>
&gt; &gt;&gt; &gt; leave write-behind off.<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; Indeed, write-behind is most likely. Both results of one of the options<br>
&gt; &gt;&gt; disabled at the time would be interesting to have.<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; Once it is clear which option causes the problem, we can analyze the<br>
&gt; &gt;&gt; access pattern and hopefully fix the xlator.<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; Thanks,<br>
&gt; &gt;&gt; Niels<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; &gt; On Sat, Jul 18, 2015, 10:44 AM Roman &lt;<a href="mailto:romeo.r@gmail.com">romeo.r@gmail.com</a>&gt; wrote:<br>
&gt; &gt;&gt; &gt;<br>
&gt; &gt;&gt; &gt; solved after I&#39;ve added (thanks to Niels de Vos) these options to the<br>
&gt; &gt;&gt; &gt; volumes:<br>
&gt; &gt;&gt; &gt;<br>
&gt; &gt;&gt; &gt; performance.read-ahead: off<br>
&gt; &gt;&gt; &gt;<br>
&gt; &gt;&gt; &gt; performance.write-behind: off<br>
&gt; &gt;&gt; &gt;<br>
&gt; &gt;&gt; &gt;<br>
&gt; &gt;&gt; &gt; 2015-07-15 17:23 GMT+03:00 Roman &lt;<a href="mailto:romeo.r@gmail.com">romeo.r@gmail.com</a>&gt;:<br>
&gt; &gt;&gt; &gt;<br>
&gt; &gt;&gt; &gt; hey,<br>
&gt; &gt;&gt; &gt;<br>
&gt; &gt;&gt; &gt; I&#39;ve updated the bug, if some1 has some ideas - share plz.<br>
&gt; &gt;&gt; &gt;<br>
&gt; &gt;&gt; &gt; <a href="https://bugzilla.redhat.com/show_bug.cgi?id=1242913" rel="noreferrer" target="_blank">https://bugzilla.redhat.com/show_bug.cgi?id=1242913</a><br>
&gt; &gt;&gt; &gt;<br>
&gt; &gt;&gt; &gt;<br>
&gt; &gt;&gt; &gt; 2015-07-14 19:14 GMT+03:00 Kaushal M &lt;<a href="mailto:kshlmster@gmail.com">kshlmster@gmail.com</a>&gt;:<br>
&gt; &gt;&gt; &gt;<br>
&gt; &gt;&gt; &gt;  Just a wild guess. What is the filesystem used for the debian 8<br>
&gt; &gt;&gt; &gt; installation? It could be the culprit.<br>
&gt; &gt;&gt; &gt;<br>
&gt; &gt;&gt; &gt; On Tue, Jul 14, 2015 at 7:27 PM, Roman &lt;<a href="mailto:romeo.r@gmail.com">romeo.r@gmail.com</a>&gt; wrote:<br>
&gt; &gt;&gt; &gt; &gt; I&#39;ve done this way: installed debian8 on local disks using netinstall<br>
&gt; &gt;&gt; iso,<br>
&gt; &gt;&gt; &gt; &gt; created a template of it and then cloned (full clone) it to glusterfs<br>
&gt; &gt;&gt; &gt; &gt; storage backend. VM boots and runs fine... untill I start to install<br>
&gt; &gt;&gt; &gt; &gt; something massive (DE ie). Last time it was mate failed to install<br>
&gt; &gt;&gt; due to<br>
&gt; &gt;&gt; &gt; &gt; python-gtk2 package problems (complaing that it could not compile it)<br>
&gt; &gt;&gt; &gt; &gt;<br>
&gt; &gt;&gt; &gt;<br>
&gt; &gt;&gt; &gt; &gt; 2015-07-14 16:37 GMT+03:00 Scott Harvanek &lt;<a href="mailto:scott.harvanek@login.com">scott.harvanek@login.com</a>&gt;:<br>
&gt; &gt;&gt; &gt; &gt;&gt;<br>
&gt; &gt;&gt; &gt; &gt;&gt; What happens if you install from a full CD and not a net-install?<br>
&gt; &gt;&gt; &gt; &gt;&gt;<br>
&gt; &gt;&gt; &gt; &gt;&gt; Limit the variables.  Currently you are relying on remote mirrors and<br>
&gt; &gt;&gt; &gt; &gt;&gt; Internet connectivity.<br>
&gt; &gt;&gt; &gt; &gt;&gt;<br>
&gt; &gt;&gt; &gt; &gt;&gt; It&#39;s either a Proxmox or Debian issue, I really don&#39;t think it&#39;s<br>
&gt; &gt;&gt; Gluster.<br>
&gt; &gt;&gt; &gt; &gt;&gt; We have hundreds of Jessie installs running on GlusterFS backends.<br>
&gt; &gt;&gt; &gt; &gt;&gt;<br>
&gt; &gt;&gt; &gt; &gt;&gt; --<br>
&gt; &gt;&gt; &gt; &gt;&gt; Scott H.<br>
&gt; &gt;&gt; &gt; &gt;&gt; Login, LLC.<br>
&gt; &gt;&gt; &gt; &gt;&gt;<br>
&gt; &gt;&gt; &gt; &gt;&gt;<br>
&gt; &gt;&gt; &gt; &gt;&gt;<br>
&gt; &gt;&gt; &gt; &gt;&gt; Roman<br>
&gt; &gt;&gt; &gt; &gt;&gt; July 14, 2015 at 9:30 AM<br>
&gt; &gt;&gt; &gt; &gt;&gt; Hey,<br>
&gt; &gt;&gt; &gt; &gt;&gt;<br>
&gt; &gt;&gt; &gt; &gt;&gt; thanks for reply.<br>
&gt; &gt;&gt; &gt; &gt;&gt; If it would be networking related, it would affect everything. But<br>
&gt; &gt;&gt; it is<br>
&gt; &gt;&gt; &gt; &gt;&gt; only debian 8 which won&#39;t install.<br>
&gt; &gt;&gt; &gt; &gt;&gt; And yes, i did iperf test between gluster and proxmox nodes. Its ok.<br>
&gt; &gt;&gt; &gt; &gt;&gt; Installation fails on every node, where i try to install d8.<br>
&gt; &gt;&gt; Sometimes it<br>
&gt; &gt;&gt; &gt; &gt;&gt; goes well (today 1 of 6 tries was fine). Other distros install fine.<br>
&gt; &gt;&gt; &gt; &gt;&gt; Sometimes installation process finishes, but VM won&#39;t start, just<br>
&gt; &gt;&gt; hangs<br>
&gt; &gt;&gt; &gt; &gt;&gt; with errors like in this attached.<br>
&gt; &gt;&gt; &gt; &gt;&gt;<br>
&gt; &gt;&gt; &gt; &gt;&gt;<br>
&gt; &gt;&gt; &gt; &gt;&gt;<br>
&gt; &gt;&gt; &gt; &gt;&gt;<br>
&gt; &gt;&gt; &gt; &gt;&gt; --<br>
&gt; &gt;&gt; &gt; &gt;&gt; Best regards,<br>
&gt; &gt;&gt; &gt; &gt;&gt; Roman.<br>
&gt; &gt;&gt; &gt; &gt;&gt; Scott Harvanek<br>
&gt; &gt;&gt; &gt; &gt;&gt; July 14, 2015 at 9:17 AM<br>
&gt; &gt;&gt; &gt; &gt;&gt; We don&#39;t have this issue, I&#39;ll take a stab tho-<br>
&gt; &gt;&gt; &gt; &gt;&gt;<br>
&gt; &gt;&gt; &gt; &gt;&gt; Have you confirmed everything is good on the network side of things?<br>
&gt; &gt;&gt; &gt; &gt;&gt; MTU/Loss/Errors?<br>
&gt; &gt;&gt; &gt; &gt;&gt;<br>
&gt; &gt;&gt; &gt; &gt;&gt; Is your inconsistency linked to one specific brick? Have you tried<br>
&gt; &gt;&gt; &gt; running<br>
&gt; &gt;&gt; &gt; &gt;&gt; a replica instead of distributed?<br>
&gt; &gt;&gt; &gt; &gt;&gt;<br>
&gt; &gt;&gt; &gt; &gt;&gt;<br>
&gt; &gt;&gt; &gt; &gt;&gt;<br>
&gt; &gt;&gt; &gt; &gt;&gt; _______________________________________________<br>
&gt; &gt;&gt; &gt; &gt;&gt; Gluster-users mailing list<br>
&gt; &gt;&gt; &gt;<br>
&gt; &gt;&gt; &gt; &gt;&gt; <a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br>
&gt; &gt;&gt; &gt; &gt;&gt; <a href="http://www.gluster.org/mailman/listinfo/gluster-users" rel="noreferrer" target="_blank">http://www.gluster.org/mailman/listinfo/gluster-users</a><br>
&gt; &gt;&gt; &gt; &gt;&gt; Roman<br>
&gt; &gt;&gt; &gt; &gt;&gt; July 14, 2015 at 6:38 AM<br>
&gt; &gt;&gt; &gt; &gt;&gt; here is one of the errors example. its like files that debian<br>
&gt; &gt;&gt; installer<br>
&gt; &gt;&gt; &gt; &gt;&gt; copies to the virtual disk that is located on glusterfs storage are<br>
&gt; &gt;&gt; &gt; getting<br>
&gt; &gt;&gt; &gt; &gt;&gt; corrupted.<br>
&gt; &gt;&gt; &gt; &gt;&gt; in-target is /dev/vda1<br>
&gt; &gt;&gt; &gt; &gt;&gt;<br>
&gt; &gt;&gt; &gt; &gt;&gt;<br>
&gt; &gt;&gt; &gt; &gt;&gt;<br>
&gt; &gt;&gt; &gt; &gt;&gt;<br>
&gt; &gt;&gt; &gt; &gt;&gt;<br>
&gt; &gt;&gt; &gt; &gt;&gt; --<br>
&gt; &gt;&gt; &gt; &gt;&gt; Best regards,<br>
&gt; &gt;&gt; &gt; &gt;&gt; Roman.<br>
&gt; &gt;&gt; &gt; &gt;&gt; _______________________________________________<br>
&gt; &gt;&gt; &gt; &gt;&gt; Gluster-users mailing list<br>
&gt; &gt;&gt; &gt; &gt;&gt; <a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br>
&gt; &gt;&gt; &gt; &gt;&gt; <a href="http://www.gluster.org/mailman/listinfo/gluster-users" rel="noreferrer" target="_blank">http://www.gluster.org/mailman/listinfo/gluster-users</a><br>
&gt; &gt;&gt; &gt; &gt;&gt; Roman<br>
&gt; &gt;&gt; &gt; &gt;&gt; July 14, 2015 at 4:50 AM<br>
&gt; &gt;&gt; &gt; &gt;&gt; Ubuntu 14.04 LTS base install and then mate install were fine!<br>
&gt; &gt;&gt; &gt; &gt;&gt;<br>
&gt; &gt;&gt; &gt; &gt;&gt;<br>
&gt; &gt;&gt; &gt; &gt;&gt;<br>
&gt; &gt;&gt; &gt; &gt;&gt;<br>
&gt; &gt;&gt; &gt; &gt;&gt; --<br>
&gt; &gt;&gt; &gt; &gt;&gt; Best regards,<br>
&gt; &gt;&gt; &gt; &gt;&gt; Roman.<br>
&gt; &gt;&gt; &gt; &gt;&gt; _______________________________________________<br>
&gt; &gt;&gt; &gt; &gt;&gt; Gluster-users mailing list<br>
&gt; &gt;&gt; &gt; &gt;&gt; <a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br>
&gt; &gt;&gt; &gt; &gt;&gt; <a href="http://www.gluster.org/mailman/listinfo/gluster-users" rel="noreferrer" target="_blank">http://www.gluster.org/mailman/listinfo/gluster-users</a><br>
&gt; &gt;&gt; &gt; &gt;&gt; Roman<br>
&gt; &gt;&gt; &gt; &gt;&gt; July 13, 2015 at 7:35 PM<br>
&gt; &gt;&gt; &gt; &gt;&gt; Bah... the randomness of this issue is killing me.<br>
&gt; &gt;&gt; &gt; &gt;&gt; Not only HA volumes are affected. Got an error during installation<br>
&gt; &gt;&gt; of d8<br>
&gt; &gt;&gt; &gt; &gt;&gt; with mate (on python-gtk2 pkg) on Distributed volume also.<br>
&gt; &gt;&gt; &gt; &gt;&gt; I&#39;ve checked the MD5SUM of installation iso, its ok.<br>
&gt; &gt;&gt; &gt; &gt;&gt;<br>
&gt; &gt;&gt; &gt; &gt;&gt; Shortly after that on the same VE node I installed D7 with Gnome<br>
&gt; &gt;&gt; without<br>
&gt; &gt;&gt; &gt; &gt;&gt; any problem on the HA glusterf volume.<br>
&gt; &gt;&gt; &gt; &gt;&gt;<br>
&gt; &gt;&gt; &gt; &gt;&gt; And on the same VE node I&#39;ve installed D8 with both Mate and Gnome<br>
&gt; &gt;&gt; using<br>
&gt; &gt;&gt; &gt; &gt;&gt; local storage disks without problems. There is a bug somewhere in<br>
&gt; &gt;&gt; &gt; gluster or<br>
&gt; &gt;&gt; &gt; &gt;&gt; qemu... Proxmox uses RH kernel btw:<br>
&gt; &gt;&gt; &gt; &gt;&gt;<br>
&gt; &gt;&gt; &gt; &gt;&gt; Linux services 2.6.32-37-pve<br>
&gt; &gt;&gt; &gt; &gt;&gt; QEMU emulator version 2.2.1<br>
&gt; &gt;&gt; &gt; &gt;&gt; glusterfs 3.6.4<br>
&gt; &gt;&gt; &gt; &gt;&gt;<br>
&gt; &gt;&gt; &gt; &gt;&gt; any ideas?<br>
&gt; &gt;&gt; &gt; &gt;&gt; I&#39;m ready to help to investigate this bug.<br>
&gt; &gt;&gt; &gt; &gt;&gt; When sun will shine, I&#39;ll try to install latest Ubuntu also. But now<br>
&gt; &gt;&gt; I&#39;m<br>
&gt; &gt;&gt; &gt; &gt;&gt; going to sleep.<br>
&gt; &gt;&gt; &gt; &gt;&gt;<br>
&gt; &gt;&gt; &gt; &gt;&gt;<br>
&gt; &gt;&gt; &gt; &gt;&gt;<br>
&gt; &gt;&gt; &gt; &gt;&gt;<br>
&gt; &gt;&gt; &gt; &gt;&gt; --<br>
&gt; &gt;&gt; &gt; &gt;&gt; Best regards,<br>
&gt; &gt;&gt; &gt; &gt;&gt; Roman.<br>
&gt; &gt;&gt; &gt; &gt;&gt; _______________________________________________<br>
&gt; &gt;&gt; &gt; &gt;&gt; Gluster-users mailing list<br>
&gt; &gt;&gt; &gt; &gt;&gt; <a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br>
&gt; &gt;&gt; &gt; &gt;&gt; <a href="http://www.gluster.org/mailman/listinfo/gluster-users" rel="noreferrer" target="_blank">http://www.gluster.org/mailman/listinfo/gluster-users</a><br>
&gt; &gt;&gt; &gt; &gt;&gt;<br>
&gt; &gt;&gt; &gt; &gt;&gt;<br>
&gt; &gt;&gt; &gt; &gt;<br>
&gt; &gt;&gt; &gt; &gt;<br>
&gt; &gt;&gt; &gt; &gt;<br>
&gt; &gt;&gt; &gt; &gt; --<br>
&gt; &gt;&gt; &gt; &gt; Best regards,<br>
&gt; &gt;&gt; &gt; &gt; Roman.<br>
&gt; &gt;&gt; &gt; &gt;<br>
&gt; &gt;&gt; &gt; &gt; _______________________________________________<br>
&gt; &gt;&gt; &gt; &gt; Gluster-users mailing list<br>
&gt; &gt;&gt; &gt; &gt; <a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br>
&gt; &gt;&gt; &gt; &gt; <a href="http://www.gluster.org/mailman/listinfo/gluster-users" rel="noreferrer" target="_blank">http://www.gluster.org/mailman/listinfo/gluster-users</a><br>
&gt; &gt;&gt; &gt;<br>
&gt; &gt;&gt; &gt;<br>
&gt; &gt;&gt; &gt;<br>
&gt; &gt;&gt; &gt; --<br>
&gt; &gt;&gt; &gt;<br>
&gt; &gt;&gt; &gt; Best regards,<br>
&gt; &gt;&gt; &gt; Roman.<br>
&gt; &gt;&gt; &gt;<br>
&gt; &gt;&gt; &gt;<br>
&gt; &gt;&gt; &gt;<br>
&gt; &gt;&gt; &gt; --<br>
&gt; &gt;&gt; &gt;<br>
&gt; &gt;&gt; &gt; Best regards,<br>
&gt; &gt;&gt; &gt; Roman.<br>
&gt; &gt;&gt; &gt;<br>
&gt; &gt;&gt; &gt; _______________________________________________<br>
&gt; &gt;&gt; &gt; Gluster-users mailing list<br>
&gt; &gt;&gt; &gt; <a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br>
&gt; &gt;&gt; &gt; <a href="http://www.gluster.org/mailman/listinfo/gluster-users" rel="noreferrer" target="_blank">http://www.gluster.org/mailman/listinfo/gluster-users</a><br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; &gt; _______________________________________________<br>
&gt; &gt;&gt; &gt; Gluster-users mailing list<br>
&gt; &gt;&gt; &gt; <a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br>
&gt; &gt;&gt; &gt; <a href="http://www.gluster.org/mailman/listinfo/gluster-users" rel="noreferrer" target="_blank">http://www.gluster.org/mailman/listinfo/gluster-users</a><br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; --<br>
&gt; &gt; Best regards,<br>
&gt; &gt; Roman.<br>
&gt; &gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; Best regards,<br>
&gt; Roman.<br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Best regards,<br>Roman.</div>
</div>