<div dir="ltr"><br><div class="gmail_extra"><div><div class="gmail_signature"><div dir="ltr"><div>On Mon, Jul 25, 2016 at 1:00 PM, David Gossage <span dir="ltr">&lt;<a href="mailto:dgossage@carouselchecks.com" target="_blank">dgossage@carouselchecks.com</a>&gt;</span> wrote:<br></div></div></div></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><div><div><div dir="ltr"><div>On Mon, Jul 25, 2016 at 9:58 AM, Krutika Dhananjay <span dir="ltr">&lt;<a href="mailto:kdhananj@redhat.com" target="_blank">kdhananj@redhat.com</a>&gt;</span> wrote:<br></div></div></div></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><div><div><div><div><div>OK, could you try the following:<br><br></div>i. Set network.remote-dio to off<br></div>        # gluster volume set &lt;VOL&gt; network.remote-dio off<br><br></div>ii. Set performance.strict-o-direct to on<br></div><div>        # gluster volume set &lt;VOL&gt; performance.strict-o-direct on<br></div><div><br></div>iii. Stop the affected vm(s) and start again<br><br></div>and tell me if you notice any improvement?<br><br></div></div></blockquote><div><br></div><div>Previous instll I had issue with is still on gluster 3.7.11</div><div><br></div><div>My test install of ovirt 3.6.7 and gluster 3.7.13 with 3 bricks on a locak disk right now isn&#39;t allowing me to add the gluster storage at all.</div><div><br></div><div>Keep getting some type of UI error</div><div><br></div><div>2016-07-25 12:49:09,277 ERROR [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService] (default task-33) [] Permutation name: 430985F23DFC1C8BE1C7FDD91EDAA785</div><div>2016-07-25 12:49:09,277 ERROR [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService] (default task-33) [] Uncaught exception: : java.lang.ClassCastException</div><div>        at Unknown.ps(<a href="https://ccengine2.carouselchecks.local/ovirt-engine/webadmin/430985F23DFC1C8BE1C7FDD91EDAA785.cache.html@3837" target="_blank">https://ccengine2.carouselchecks.local/ovirt-engine/webadmin/430985F23DFC1C8BE1C7FDD91EDAA785.cache.html@3837</a>)    at Unknown.ts(<a href="https://ccengine2.carouselchecks.local/ovirt-engine/webadmin/430985F23DFC1C8BE1C7FDD91EDAA785.cache.html@20" target="_blank">https://ccengine2.carouselchecks.local/ovirt-engine/webadmin/430985F23DFC1C8BE1C7FDD91EDAA785.cache.html@20</a>)      at Unknown.vs(<a href="https://ccengine2.carouselchecks.local/ovirt-engine/webadmin/430985F23DFC1C8BE1C7FDD91EDAA785.cache.html@18" target="_blank">https://ccengine2.carouselchecks.local/ovirt-engine/webadmin/430985F23DFC1C8BE1C7FDD91EDAA785.cache.html@18</a>)      at Unknown.iJf(<a href="https://ccengine2.carouselchecks.local/ovirt-engine/webadmin/430985F23DFC1C8BE1C7FDD91EDAA785.cache.html@19" target="_blank">https://ccengine2.carouselchecks.local/ovirt-engine/webadmin/430985F23DFC1C8BE1C7FDD91EDAA785.cache.html@19</a>)     at Unknown.Xab(<a href="https://ccengine2.carouselchecks.local/ovirt-engine/webadmin/430985F23DFC1C8BE1C7FDD91EDAA785.cache.html@48" target="_blank">https://ccengine2.carouselchecks.local/ovirt-engine/webadmin/430985F23DFC1C8BE1C7FDD91EDAA785.cache.html@48</a>)     at Unknown.P8o(<a href="https://ccengine2.carouselchecks.local/ovirt-engine/webadmin/430985F23DFC1C8BE1C7FDD91EDAA785.cache.html@4447" target="_blank">https://ccengine2.carouselchecks.local/ovirt-engine/webadmin/430985F23DFC1C8BE1C7FDD91EDAA785.cache.html@4447</a>)   at Unknown.jQr(<a href="https://ccengine2.carouselchecks.local/ovirt-engine/webadmin/430985F23DFC1C8BE1C7FDD91EDAA785.cache.html@21" target="_blank">https://ccengine2.carouselchecks.local/ovirt-engine/webadmin/430985F23DFC1C8BE1C7FDD91EDAA785.cache.html@21</a>)     at Unknown.A8o(<a href="https://ccengine2.carouselchecks.local/ovirt-engine/webadmin/430985F23DFC1C8BE1C7FDD91EDAA785.cache.html@51" target="_blank">https://ccengine2.carouselchecks.local/ovirt-engine/webadmin/430985F23DFC1C8BE1C7FDD91EDAA785.cache.html@51</a>)     at Unknown.u8o(<a href="https://ccengine2.carouselchecks.local/ovirt-engine/webadmin/430985F23DFC1C8BE1C7FDD91EDAA785.cache.html@101" target="_blank">https://ccengine2.carouselchecks.local/ovirt-engine/webadmin/430985F23DFC1C8BE1C7FDD91EDAA785.cache.html@101</a>)    at Unknown.Eap(<a href="https://ccengine2.carouselchecks.local/ovirt-engine/webadmin/430985F23DFC1C8BE1C7FDD91EDAA785.cache.html@10718" target="_blank">https://ccengine2.carouselchecks.local/ovirt-engine/webadmin/430985F23DFC1C8BE1C7FDD91EDAA785.cache.html@10718</a>)  at Unknown.p8n(<a href="https://ccengine2.carouselchecks.local/ovirt-engine/webadmin/430985F23DFC1C8BE1C7FDD91EDAA785.cache.html@161" target="_blank">https://ccengine2.carouselchecks.local/ovirt-engine/webadmin/430985F23DFC1C8BE1C7FDD91EDAA785.cache.html@161</a>)    at Unknown.Cao(<a href="https://ccengine2.carouselchecks.local/ovirt-engine/webadmin/430985F23DFC1C8BE1C7FDD91EDAA785.cache.html@31" target="_blank">https://ccengine2.carouselchecks.local/ovirt-engine/webadmin/430985F23DFC1C8BE1C7FDD91EDAA785.cache.html@31</a>)     at Unknown.Bap(<a href="https://ccengine2.carouselchecks.local/ovirt-engine/webadmin/430985F23DFC1C8BE1C7FDD91EDAA785.cache.html@10469" target="_blank">https://ccengine2.carouselchecks.local/ovirt-engine/webadmin/430985F23DFC1C8BE1C7FDD91EDAA785.cache.html@10469</a>)  at Unknown.kRn(<a href="https://ccengine2.carouselchecks.local/ovirt-engine/webadmin/430985F23DFC1C8BE1C7FDD91EDAA785.cache.html@49" target="_blank">https://ccengine2.carouselchecks.local/ovirt-engine/webadmin/430985F23DFC1C8BE1C7FDD91EDAA785.cache.html@49</a>)     at Unknown.nRn(<a href="https://ccengine2.carouselchecks.local/ovirt-engine/webadmin/430985F23DFC1C8BE1C7FDD91EDAA785.cache.html@438" target="_blank">https://ccengine2.carouselchecks.local/ovirt-engine/webadmin/430985F23DFC1C8BE1C7FDD91EDAA785.cache.html@438</a>)    at Unknown.eVn(<a href="https://ccengine2.carouselchecks.local/ovirt-engine/webadmin/430985F23DFC1C8BE1C7FDD91EDAA785.cache.html@40" target="_blank">https://ccengine2.carouselchecks.local/ovirt-engine/webadmin/430985F23DFC1C8BE1C7FDD91EDAA785.cache.html@40</a>)     at Unknown.hVn(<a href="https://ccengine2.carouselchecks.local/ovirt-engine/webadmin/430985F23DFC1C8BE1C7FDD91EDAA785.cache.html@25827" target="_blank">https://ccengine2.carouselchecks.local/ovirt-engine/webadmin/430985F23DFC1C8BE1C7FDD91EDAA785.cache.html@25827</a>)  at Unknown.MTn(<a href="https://ccengine2.carouselchecks.local/ovirt-engine/webadmin/430985F23DFC1C8BE1C7FDD91EDAA785.cache.html@25" target="_blank">https://ccengine2.carouselchecks.local/ovirt-engine/webadmin/430985F23DFC1C8BE1C7FDD91EDAA785.cache.html@25</a>)     at Unknown.PTn(<a href="https://ccengine2.carouselchecks.local/ovirt-engine/webadmin/430985F23DFC1C8BE1C7FDD91EDAA785.cache.html@24052" target="_blank">https://ccengine2.carouselchecks.local/ovirt-engine/webadmin/430985F23DFC1C8BE1C7FDD91EDAA785.cache.html@24052</a>)  at Unknown.KJe(<a href="https://ccengine2.carouselchecks.local/ovirt-engine/webadmin/430985F23DFC1C8BE1C7FDD91EDAA785.cache.html@21125" target="_blank">https://ccengine2.carouselchecks.local/ovirt-engine/webadmin/430985F23DFC1C8BE1C7FDD91EDAA785.cache.html@21125</a>)  at Unknown.Izk(<a href="https://ccengine2.carouselchecks.local/ovirt-engine/webadmin/430985F23DFC1C8BE1C7FDD91EDAA785.cache.html@10384" target="_blank">https://ccengine2.carouselchecks.local/ovirt-engine/webadmin/430985F23DFC1C8BE1C7FDD91EDAA785.cache.html@10384</a>)  at Unknown.P3(<a href="https://ccengine2.carouselchecks.local/ovirt-engine/webadmin/430985F23DFC1C8BE1C7FDD91EDAA785.cache.html@137" target="_blank">https://ccengine2.carouselchecks.local/ovirt-engine/webadmin/430985F23DFC1C8BE1C7FDD91EDAA785.cache.html@137</a>)     at Unknown.g4(<a href="https://ccengine2.carouselchecks.local/ovirt-engine/webadmin/430985F23DFC1C8BE1C7FDD91EDAA785.cache.html@8271" target="_blank">https://ccengine2.carouselchecks.local/ovirt-engine/webadmin/430985F23DFC1C8BE1C7FDD91EDAA785.cache.html@8271</a>)    at Unknown.&lt;anonymous&gt;(<a href="https://ccengine2.carouselchecks.local/ovirt-engine/webadmin/430985F23DFC1C8BE1C7FDD91EDAA785.cache.html@65" target="_blank">https://ccengine2.carouselchecks.local/ovirt-engine/webadmin/430985F23DFC1C8BE1C7FDD91EDAA785.cache.html@65</a>)     at Unknown._t(<a href="https://ccengine2.carouselchecks.local/ovirt-engine/webadmin/430985F23DFC1C8BE1C7FDD91EDAA785.cache.html@29" target="_blank">https://ccengine2.carouselchecks.local/ovirt-engine/webadmin/430985F23DFC1C8BE1C7FDD91EDAA785.cache.html@29</a>)      at Unknown.du(<a href="https://ccengine2.carouselchecks.local/ovirt-engine/webadmin/430985F23DFC1C8BE1C7FDD91EDAA785.cache.html@57" target="_blank">https://ccengine2.carouselchecks.local/ovirt-engine/webadmin/430985F23DFC1C8BE1C7FDD91EDAA785.cache.html@57</a>)      at Unknown.&lt;anonymous&gt;(<a href="https://ccengine2.carouselchecks.local/ovirt-engine/webadmin/430985F23DFC1C8BE1C7FDD91EDAA785.cache.html@54" target="_blank">https://ccengine2.carouselchecks.local/ovirt-engine/webadmin/430985F23DFC1C8BE1C7FDD91EDAA785.cache.html@54</a>)</div><div> </div></div></div></div></blockquote><div><br></div><div>If I add from storage tab it creates storage domaibn but won&#39;t attach to a datacenter</div><div><br></div><div><span style="color:rgb(0,0,0);font-family:&quot;arial unicode ms&quot;,arial,sans-serif;line-height:21.6667px">Error while executing action Attach Storage Domain: AcquireHostIdFailure</span></div><div>engine.log</div><div><div>2016-07-25 13:04:45,186 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.CreateStoragePoolVDSCommand] (default task-90) [4e0e7cbd] Failed in &#39;CreateStoragePoolVDS&#39; method</div><div>2016-07-25 13:04:45,211 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (default task-90) [4e0e7cbd] Correlation ID: null, Call Stack: null, Custom Event ID: -1, Message: VDSM local command failed: Cannot acquire host id: (u&#39;5b8a4477-4d87-43a1-aa52-b664b1bd9e08&#39;, SanlockException(1, &#39;Sanlock lockspace add failure&#39;, &#39;Operation not permitted&#39;))</div><div>2016-07-25 13:04:45,211 INFO  [org.ovirt.engine.core.vdsbroker.vdsbroker.CreateStoragePoolVDSCommand] (default task-90) [4e0e7cbd] Command &#39;org.ovirt.engine.core.vdsbroker.vdsbroker.CreateStoragePoolVDSCommand&#39; return value &#39;StatusOnlyReturnForXmlRpc [status=StatusForXmlRpc [code=661, message=Cannot acquire host id: (u&#39;5b8a4477-4d87-43a1-aa52-b664b1bd9e08&#39;, SanlockException(1, &#39;Sanlock lockspace add failure&#39;, &#39;Operation not permitted&#39;))]]&#39;</div><div>2016-07-25 13:04:45,211 INFO  [org.ovirt.engine.core.vdsbroker.vdsbroker.CreateStoragePoolVDSCommand] (default task-90) [4e0e7cbd] HostName = local</div><div>2016-07-25 13:04:45,212 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.CreateStoragePoolVDSCommand] (default task-90) [4e0e7cbd] Command &#39;CreateStoragePoolVDSCommand(HostName = local, CreateStoragePoolVDSCommandParameters:{runAsync=&#39;true&#39;, hostId=&#39;b4d03420-3de8-45b8-a671-45bbe7c05e06&#39;, storagePoolId=&#39;7fe4f6ec-71aa-485b-8bba-958e493b66eb&#39;, storagePoolName=&#39;NewDefault&#39;, masterDomainId=&#39;5b8a4477-4d87-43a1-aa52-b664b1bd9e08&#39;, domainsIdList=&#39;[5b8a4477-4d87-43a1-aa52-b664b1bd9e08]&#39;, masterVersion=&#39;4&#39;})&#39; execution failed: VDSGenericException: VDSErrorException: Failed to CreateStoragePoolVDS, error = Cannot acquire host id: (u&#39;5b8a4477-4d87-43a1-aa52-b664b1bd9e08&#39;, SanlockException(1, &#39;Sanlock lockspace add failure&#39;, &#39;Operation not permitted&#39;)), code = 661</div><div>2016-07-25 13:04:45,212 INFO  [org.ovirt.engine.core.vdsbroker.vdsbroker.CreateStoragePoolVDSCommand] (default task-90) [4e0e7cbd] FINISH, CreateStoragePoolVDSCommand, log id: 2ed8b2b6</div><div>2016-07-25 13:04:45,212 ERROR [org.ovirt.engine.core.bll.storage.AddStoragePoolWithStoragesCommand] (default task-90) [4e0e7cbd] Command &#39;org.ovirt.engine.core.bll.storage.AddStoragePoolWithStoragesCommand&#39; failed: EngineException: org.ovirt.engine.core.vdsbroker.vdsbroker.VDSErrorException: VDSGenericException: VDSErrorException: Failed to CreateStoragePoolVDS, error = Cannot acquire host id: (u&#39;5b8a4477-4d87-43a1-aa52-b664b1bd9e08&#39;, SanlockException(1, &#39;Sanlock lockspace add failure&#39;, &#39;Operation not permitted&#39;)), code = 661 (Failed with error AcquireHostIdFailure and code 661)</div><div>2016-07-25 13:04:45,220 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (default task-90) [4e0e7cbd] Correlation ID: 4f77f0e0, Job ID: 6aae65f2-ff61-4bec-a513-18b31828442b, Call Stack: null, Custom Event ID: -1, Message: Failed to attach Storage Domains to Data Center NewDefault. (User: admin@internal)</div><div>2016-07-25 13:04:45,228 INFO  [org.ovirt.engine.core.bll.storage.AddStoragePoolWithStoragesCommand] (default task-90) [4e0e7cbd] Lock freed to object &#39;EngineLock:{exclusiveLocks=&#39;[5b8a4477-4d87-43a1-aa52-b664b1bd9e08=&lt;STORAGE, ACTION_TYPE_FAILED_OBJECT_LOCKED&gt;]&#39;, sharedLocks=&#39;null&#39;}&#39;</div><div>2016-07-25 13:04:45,229 INFO  [org.ovirt.engine.core.bll.storage.AttachStorageDomainToPoolCommand] (default task-90) [4e0e7cbd] Command [id=d08f24d6-f0f9-4df8-aa34-3718ab44f454]: Compensating DELETED_OR_UPDATED_ENTITY of org.ovirt.engine.core.common.businessentities.StoragePool; snapshot: id=7fe4f6ec-71aa-485b-8bba-958e493b66eb.</div><div>2016-07-25 13:04:45,231 INFO  [org.ovirt.engine.core.bll.storage.AttachStorageDomainToPoolCommand] (default task-90) [4e0e7cbd] Command [id=d08f24d6-f0f9-4df8-aa34-3718ab44f454]: Compensating NEW_ENTITY_ID of org.ovirt.engine.core.common.businessentities.StoragePoolIsoMap; snapshot: StoragePoolIsoMapId:{storagePoolId=&#39;7fe4f6ec-71aa-485b-8bba-958e493b66eb&#39;, storageId=&#39;5b8a4477-4d87-43a1-aa52-b664b1bd9e08&#39;}.</div><div>2016-07-25 13:04:45,231 INFO  [org.ovirt.engine.core.bll.storage.AttachStorageDomainToPoolCommand] (default task-90) [4e0e7cbd] Command [id=d08f24d6-f0f9-4df8-aa34-3718ab44f454]: Compensating DELETED_OR_UPDATED_ENTITY of org.ovirt.engine.core.common.businessentities.StorageDomainStatic; snapshot: id=5b8a4477-4d87-43a1-aa52-b664b1bd9e08.</div><div>2016-07-25 13:04:45,245 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (default task-90) [4e0e7cbd] Correlation ID: 6cae9150, Job ID: 6aae65f2-ff61-4bec-a513-18b31828442b, Call Stack: null, Custom Event ID: -1, Message: Failed to attach Storage Domain newone to Data Center NewDefault. (User: admin@internal)</div><div>2016-07-25 13:04:45,253 WARN  [org.ovirt.engine.core.bll.lock.InMemoryLockManager] (default task-90) [4e0e7cbd] Trying to release exclusive lock which does not exist, lock key: &#39;5b8a4477-4d87-43a1-aa52-b664b1bd9e08STORAGE&#39;</div><div>2016-07-25 13:04:45,253 INFO  [org.ovirt.engine.core.bll.storage.AttachStorageDomainToPoolCommand] (default task-90) [4e0e7cbd] Lock freed to object &#39;EngineLock:{exclusiveLocks=&#39;[5b8a4477-4d87-43a1-aa52-b664b1bd9e08=&lt;STORAGE, ACTION_TYPE_FAILED_OBJECT_LOCKED&gt;]&#39;, sharedLocks=&#39;null&#39;}&#39;</div></div><div><br></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div></div>-Krutika<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jul 25, 2016 at 4:57 PM, Samuli Heinonen <span dir="ltr">&lt;<a href="mailto:samppah@neutraali.net" target="_blank">samppah@neutraali.net</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">Hi,<br>
<span><br>
&gt; On 25 Jul 2016, at 12:34, David Gossage &lt;<a href="mailto:dgossage@carouselchecks.com" target="_blank">dgossage@carouselchecks.com</a>&gt; wrote:<br>
&gt;<br>
&gt; On Mon, Jul 25, 2016 at 1:01 AM, Krutika Dhananjay &lt;<a href="mailto:kdhananj@redhat.com" target="_blank">kdhananj@redhat.com</a>&gt; wrote:<br>
&gt; Hi,<br>
&gt;<br>
&gt; Thanks for the logs. So I have identified one issue from the logs for which the fix is this: <a href="http://review.gluster.org/#/c/14669/" rel="noreferrer" target="_blank">http://review.gluster.org/#/c/14669/</a>. Because of a bug in the code, ENOENT was getting converted to EPERM and being propagated up the stack causing the reads to bail out early with &#39;Operation not permitted&#39; errors.<br>
&gt; I still need to find out two things:<br>
&gt; i) why there was a readv() sent on a non-existent (ENOENT) file (this is important since some of the other users have not faced or reported this issue on gluster-users with 3.7.13)<br>
&gt; ii) need to see if there&#39;s a way to work around this issue.<br>
&gt;<br>
&gt; Do you mind sharing the steps needed to be executed to run into this issue? This is so that we can apply our patches, test and ensure they fix the problem.<br>
<br>
<br>
</span>Unfortunately I can’t test this right away nor give exact steps how to test this. This is just a theory but please correct me if you see some mistakes.<br>
<br>
oVirt uses cache=none settings for VM’s by default which requires direct I/O. oVirt also uses dd with iflag=direct to check that storage has direct I/O enabled. Problems exist with GlusterFS with sharding enabled and bricks running on ZFS on Linux. Everything seems to be fine with GlusterFS 3.7.11 and problems exist at least with version .12 and .13. There has been some posts saying that GlusterFS 3.8.x is also affected.<br>
<br>
Steps to reproduce:<br>
1. Sharded file is created with GlusterFS 3.7.11. Everything works ok.<br>
2. GlusterFS is upgraded to 3.7.12+<br>
3. Sharded file cannot be read or written with direct I/O enabled. (Ie. oVirt uses to check storage connection with command &quot;dd if=/rhev/data-center/00000001-0001-0001-0001-0000000002b6/mastersd/dom_md/inbox iflag=direct,fullblock count=1 bs=1024000”)<br>
<br>
Please let me know if you need more information.<br>
<span><font color="#888888"><br>
-samuli<br>
</font></span><div><div><br>
&gt; Well after upgrade of gluster all I did was start ovirt hosts up which launched and started their ha-agent and broker processes.  I don&#39;t believe I started getting any errors till it mounted GLUSTER1.  I had enabled sharding but had no sharded disk images yet.  Not sure if the check for shards would have caused that.  Unfortunately I can&#39;t just update this cluster and try and see what caused it as it has sme VM&#39;s users expect to be available in few hours.<br>
&gt;<br>
&gt; I can see if I can get my test setup to recreate it.  I think I&#39;ll need to de-activate data center so I can detach the storage thats on xfs and attach the one thats over zfs with sharding enabled.  My test is 3 bricks on same local machine, with 3 different volumes but I think im running into sanlock issue or something as it won&#39;t mount more than one volume that was created locally.<br>
&gt;<br>
&gt;<br>
&gt; -Krutika<br>
&gt;<br>
&gt; On Fri, Jul 22, 2016 at 7:17 PM, David Gossage &lt;<a href="mailto:dgossage@carouselchecks.com" target="_blank">dgossage@carouselchecks.com</a>&gt; wrote:<br>
&gt; Trimmed out the logs to just about when I was shutting down ovirt servers for updates which was 14:30 UTC 2016-07-09<br>
&gt;<br>
&gt; Pre-update settings were<br>
&gt;<br>
&gt; Volume Name: GLUSTER1<br>
&gt; Type: Replicate<br>
&gt; Volume ID: 167b8e57-28c3-447a-95cc-8410cbdf3f7f<br>
&gt; Status: Started<br>
&gt; Number of Bricks: 1 x 3 = 3<br>
&gt; Transport-type: tcp<br>
&gt; Bricks:<br>
&gt; Brick1: ccgl1.gl.local:/gluster1/BRICK1/1<br>
&gt; Brick2: ccgl2.gl.local:/gluster1/BRICK1/1<br>
&gt; Brick3: ccgl3.gl.local:/gluster1/BRICK1/1<br>
&gt; Options Reconfigured:<br>
&gt; performance.readdir-ahead: on<br>
&gt; storage.owner-uid: 36<br>
&gt; storage.owner-gid: 36<br>
&gt; performance.quick-read: off<br>
&gt; performance.read-ahead: off<br>
&gt; performance.io-cache: off<br>
&gt; performance.stat-prefetch: off<br>
&gt; cluster.eager-lock: enable<br>
&gt; network.remote-dio: enable<br>
&gt; cluster.quorum-type: auto<br>
&gt; cluster.server-quorum-type: server<br>
&gt; server.allow-insecure: on<br>
&gt; cluster.self-heal-window-size: 1024<br>
&gt; cluster.background-self-heal-count: 16<br>
&gt; performance.strict-write-ordering: off<br>
&gt; nfs.disable: on<br>
&gt; nfs.addr-namelookup: off<br>
&gt; nfs.enable-ino32: off<br>
&gt;<br>
&gt; At the time of updates ccgl3 was offline from bad nic on server but had been so for about a week with no issues in volume<br>
&gt;<br>
&gt; Shortly after update I added these settings to enable sharding but did not as of yet have any VM images sharded.<br>
&gt; features.shard-block-size: 64MB<br>
&gt; features.shard: on<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; David Gossage<br>
&gt; Carousel Checks Inc. | System Administrator<br>
&gt; Office <a href="tel:708.613.2284" value="+17086132284" target="_blank">708.613.2284</a><br>
&gt;<br>
&gt; On Fri, Jul 22, 2016 at 5:00 AM, Krutika Dhananjay &lt;<a href="mailto:kdhananj@redhat.com" target="_blank">kdhananj@redhat.com</a>&gt; wrote:<br>
&gt; Hi David,<br>
&gt;<br>
&gt; Could you also share the brick logs from the affected volume? They&#39;re located at /var/log/glusterfs/bricks/&lt;hyphenated-path-to-the-brick-directory&gt;.log.<br>
&gt;<br>
&gt; Also, could you share the volume configuration (output of `gluster volume info &lt;VOL&gt;`) for the affected volume(s) AND at the time you actually saw this issue?<br>
&gt;<br>
&gt; -Krutika<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; On Thu, Jul 21, 2016 at 11:23 PM, David Gossage &lt;<a href="mailto:dgossage@carouselchecks.com" target="_blank">dgossage@carouselchecks.com</a>&gt; wrote:<br>
&gt; On Thu, Jul 21, 2016 at 11:47 AM, Scott &lt;<a href="mailto:romracer@gmail.com" target="_blank">romracer@gmail.com</a>&gt; wrote:<br>
&gt; Hi David,<br>
&gt;<br>
&gt; My backend storage is ZFS.<br>
&gt;<br>
&gt; I thought about moving from FUSE to NFS mounts for my Gluster volumes to help test.  But since I use hosted engine this would be a real pain.  Its difficult to modify the storage domain type/path in the hosted-engine.conf.  And I don&#39;t want to go through the process of re-deploying hosted engine.<br>
&gt;<br>
&gt;<br>
&gt; I found this<br>
&gt;<br>
&gt; <a href="https://bugzilla.redhat.com/show_bug.cgi?id=1347553" rel="noreferrer" target="_blank">https://bugzilla.redhat.com/show_bug.cgi?id=1347553</a><br>
&gt;<br>
&gt; Not sure if related.<br>
&gt;<br>
&gt; But I also have zfs backend, another user in gluster mailing list had issues and used zfs backend although she used proxmox and got it working by changing disk to writeback cache I think it was.<br>
&gt;<br>
&gt; I also use hosted engine, but I run my gluster volume for HE actually on a LVM separate from zfs on xfs and if i recall it did not have the issues my gluster on zfs did.  I&#39;m wondering now if the issue was zfs settings.<br>
&gt;<br>
&gt; Hopefully should have a test machone up soon I can play around with more.<br>
&gt;<br>
&gt; Scott<br>
&gt;<br>
&gt; On Thu, Jul 21, 2016 at 11:36 AM David Gossage &lt;<a href="mailto:dgossage@carouselchecks.com" target="_blank">dgossage@carouselchecks.com</a>&gt; wrote:<br>
&gt; What back end storage do you run gluster on?  xfs/zfs/ext4 etc?<br>
&gt;<br>
&gt; David Gossage<br>
&gt; Carousel Checks Inc. | System Administrator<br>
&gt; Office <a href="tel:708.613.2284" value="+17086132284" target="_blank">708.613.2284</a><br>
&gt;<br>
&gt; On Thu, Jul 21, 2016 at 8:18 AM, Scott &lt;<a href="mailto:romracer@gmail.com" target="_blank">romracer@gmail.com</a>&gt; wrote:<br>
&gt; I get similar problems with oVirt 4.0.1 and hosted engine.  After upgrading all my hosts to Gluster 3.7.13 (client and server), I get the following:<br>
&gt;<br>
&gt; $ sudo hosted-engine --set-maintenance --mode=none<br>
&gt; Traceback (most recent call last):<br>
&gt;   File &quot;/usr/lib64/python2.7/runpy.py&quot;, line 162, in _run_module_as_main<br>
&gt;     &quot;__main__&quot;, fname, loader, pkg_name)<br>
&gt;   File &quot;/usr/lib64/python2.7/runpy.py&quot;, line 72, in _run_code<br>
&gt;     exec code in run_globals<br>
&gt;   File &quot;/usr/lib/python2.7/site-packages/ovirt_hosted_engine_setup/set_maintenance.py&quot;, line 73, in &lt;module&gt;<br>
&gt;     if not maintenance.set_mode(sys.argv[1]):<br>
&gt;   File &quot;/usr/lib/python2.7/site-packages/ovirt_hosted_engine_setup/set_maintenance.py&quot;, line 61, in set_mode<br>
&gt;     value=m_global,<br>
&gt;   File &quot;/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/client/client.py&quot;, line 259, in set_maintenance_mode<br>
&gt;     str(value))<br>
&gt;   File &quot;/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/client/client.py&quot;, line 204, in set_global_md_flag<br>
&gt;     all_stats = broker.get_stats_from_storage(service)<br>
&gt;   File &quot;/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/lib/brokerlink.py&quot;, line 232, in get_stats_from_storage<br>
&gt;     result = self._checked_communicate(request)<br>
&gt;   File &quot;/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/lib/brokerlink.py&quot;, line 260, in _checked_communicate<br>
&gt;     .format(message or response))<br>
&gt; ovirt_hosted_engine_ha.lib.exceptions.RequestError: Request failed: failed to read metadata: [Errno 1] Operation not permitted<br>
&gt;<br>
&gt; If I only upgrade one host, then things will continue to work but my nodes are constantly healing shards.  My logs are also flooded with:<br>
&gt;<br>
&gt; [2016-07-21 13:15:14.137734] W [fuse-bridge.c:2227:fuse_readv_cbk] 0-glusterfs-fuse: 274714: READ =&gt; -1 gfid=4<br>
&gt; 41f2789-f6b1-4918-a280-1b9905a11429 fd=0x7f19bc0041d0 (Operation not permitted)<br>
&gt; The message &quot;W [MSGID: 114031] [client-rpc-fops.c:3050:client3_3_readv_cbk] 0-data-client-0: remote operation failed [Operation not permitted]&quot; repeated 6 times between [2016-07-21 13:13:24.134985] and [2016-07-21 13:15:04.132226]<br>
&gt; The message &quot;W [MSGID: 114031] [client-rpc-fops.c:3050:client3_3_readv_cbk] 0-data-client-1: remote operation failed [Operation not permitted]&quot; repeated 8 times between [2016-07-21 13:13:34.133116] and [2016-07-21 13:15:14.137178]<br>
&gt; The message &quot;W [MSGID: 114031] [client-rpc-fops.c:3050:client3_3_readv_cbk] 0-data-client-2: remote operation failed [Operation not permitted]&quot; repeated 7 times between [2016-07-21 13:13:24.135071] and [2016-07-21 13:15:14.137666]<br>
&gt; [2016-07-21 13:15:24.134647] W [MSGID: 114031] [client-rpc-fops.c:3050:client3_3_readv_cbk] 0-data-client-0: remote operation failed [Operation not permitted]<br>
&gt; [2016-07-21 13:15:24.134764] W [MSGID: 114031] [client-rpc-fops.c:3050:client3_3_readv_cbk] 0-data-client-2: remote operation failed [Operation not permitted]<br>
&gt; [2016-07-21 13:15:24.134793] W [fuse-bridge.c:2227:fuse_readv_cbk] 0-glusterfs-fuse: 274741: READ =&gt; -1 gfid=441f2789-f6b1-4918-a280-1b9905a11429 fd=0x7f19bc0038f4 (Operation not permitted)<br>
&gt; [2016-07-21 13:15:34.135413] W [fuse-bridge.c:2227:fuse_readv_cbk] 0-glusterfs-fuse: 274756: READ =&gt; -1 gfid=441f2789-f6b1-4918-a280-1b9905a11429 fd=0x7f19bc0041d0 (Operation not permitted)<br>
&gt; [2016-07-21 13:15:44.141062] W [fuse-bridge.c:2227:fuse_readv_cbk] 0-glusterfs-fuse: 274818: READ =&gt; -1 gfid=441f2789-f6b1-4918-a280-1b9905a11429 fd=0x7f19bc0038f4 (Operation not permitted)<br>
&gt; [2016-07-21 13:15:54.133582] W [MSGID: 114031] [client-rpc-fops.c:3050:client3_3_readv_cbk] 0-data-client-1: remote operation failed [Operation not permitted]<br>
&gt; [2016-07-21 13:15:54.133629] W [fuse-bridge.c:2227:fuse_readv_cbk] 0-glusterfs-fuse: 274853: READ =&gt; -1 gfid=441f2789-f6b1-4918-a280-1b9905a11429 fd=0x7f19bc0036d8 (Operation not permitted)<br>
&gt; [2016-07-21 13:16:04.133666] W [fuse-bridge.c:2227:fuse_readv_cbk] 0-glusterfs-fuse: 274879: READ =&gt; -1 gfid=441f2789-f6b1-4918-a280-1b9905a11429 fd=0x7f19bc0041d0 (Operation not permitted)<br>
&gt; [2016-07-21 13:16:14.134954] W [fuse-bridge.c:2227:fuse_readv_cbk] 0-glusterfs-fuse: 274894: READ =&gt; -1 gfid=441f2789-f6b1-4918-a280-1b9905a11429 fd=0x7f19bc0036d8 (Operation not permitted)<br>
&gt;<br>
&gt; Scott<br>
&gt;<br>
&gt;<br>
&gt; On Thu, Jul 21, 2016 at 6:57 AM Frank Rothenstein &lt;<a href="mailto:f.rothenstein@bodden-kliniken.de" target="_blank">f.rothenstein@bodden-kliniken.de</a>&gt; wrote:<br>
&gt; Hey Devid,<br>
&gt;<br>
&gt; I have the very same problem on my test-cluster, despite on running ovirt 4.0.<br>
&gt; If you access your volumes via NFS all is fine, problem is FUSE. I stayed on 3.7.13, but have no solution yet, now I use NFS.<br>
&gt;<br>
&gt; Frank<br>
&gt;<br>
&gt; Am Donnerstag, den 21.07.2016, 04:28 -0500 schrieb David Gossage:<br>
&gt;&gt; Anyone running one of recent 3.6.x lines and gluster using 3.7.13?  I am looking to upgrade gluster from 3.7.11-&gt;3.7.13 for some bug fixes, but have been told by users on gluster mail list due to some gluster changes I&#39;d need to change the disk parameters to use writeback cache.  Something to do with aio support being removed.<br>
&gt;&gt;<br>
&gt;&gt; I believe this could be done with custom parameters?  But I believe strage tests are done using dd and would they fail with current settings then? Last upgrade to 3.7.13 I had to rollback to 3.7.11 due to stability isues where gluster storage would go into down state and always show N/A as space available/used.  Even if hosts saw storage still and VM&#39;s were running on it on all 3 hosts.<br>
&gt;&gt;<br>
&gt;&gt; Saw a lot of messages like these that went away once gluster rollback finished<br>
&gt;&gt;<br>
&gt;&gt; [2016-07-09 15:27:46.935694] I [fuse-bridge.c:4083:fuse_init] 0-glusterfs-fuse: FUSE inited with protocol versions: glusterfs 7.22 kernel 7.22<br>
&gt;&gt; [2016-07-09 15:27:49.555466] W [MSGID: 114031] [client-rpc-fops.c:3050:client3_3_readv_cbk] 0-GLUSTER1-client-1: remote operation failed [Operation not permitted]<br>
&gt;&gt; [2016-07-09 15:27:49.556574] W [MSGID: 114031] [client-rpc-fops.c:3050:client3_3_readv_cbk] 0-GLUSTER1-client-0: remote operation failed [Operation not permitted]<br>
&gt;&gt; [2016-07-09 15:27:49.556659] W [fuse-bridge.c:2227:fuse_readv_cbk] 0-glusterfs-fuse: 80: READ =&gt; -1 gfid=deb61291-5176-4b81-8315-3f1cf8e3534d fd=0x7f5224002f68 (Operation not permitted)<br>
&gt;&gt; [2016-07-09 15:27:59.612477] W [MSGID: 114031] [client-rpc-fops.c:3050:client3_3_readv_cbk] 0-GLUSTER1-client-1: remote operation failed [Operation not permitted]<br>
&gt;&gt; [2016-07-09 15:27:59.613700] W [MSGID: 114031] [client-rpc-fops.c:3050:client3_3_readv_cbk] 0-GLUSTER1-client-0: remote operation failed [Operation not permitted]<br>
&gt;&gt; [2016-07-09 15:27:59.613781] W [fuse-bridge.c:2227:fuse_readv_cbk] 0-glusterfs-fuse: 168: READ =&gt; -1 gfid=deb61291-5176-4b81-8315-3f1cf8e3534d fd=0x7f5224002f68 (Operation not permitted)<br>
&gt;&gt;<br>
&gt;&gt; David Gossage<br>
&gt;&gt; Carousel Checks Inc. | System Administrator<br>
&gt;&gt; Office <a href="tel:708.613.2284" value="+17086132284" target="_blank">708.613.2284</a><br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; Users mailing list<br>
&gt;&gt;<br>
&gt;&gt; <a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a><br>
&gt;&gt; <a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
</div></div><span>&gt; ______________________________________________________________________________<br>
&gt; BODDEN-KLINIKEN Ribnitz-Damgarten GmbH<br>
&gt; Sandhufe 2<br>
&gt; 18311 Ribnitz-Damgarten<br>
&gt;<br>
&gt; Telefon: 03821-700-0<br>
&gt; Fax:       03821-700-240<br>
&gt;<br>
&gt; E-Mail: <a href="mailto:info@bodden-kliniken.de" target="_blank">info@bodden-kliniken.de</a>   Internet: <a href="http://www.bodden-kliniken.de" rel="noreferrer" target="_blank">http://www.bodden-kliniken.de</a><br>
&gt;<br>
&gt; Sitz: Ribnitz-Damgarten, Amtsgericht: Stralsund, HRB 2919, Steuer-Nr.: 079/133/40188<br>
&gt; Aufsichtsratsvorsitzende: Carmen Schröter, Geschäftsführer: Dr. Falko Milski<br>
&gt;<br>
&gt; Der Inhalt dieser E-Mail ist ausschließlich für den bezeichneten Adressaten bestimmt. Wenn Sie nicht der vorge-<br>
&gt; sehene Adressat dieser E-Mail oder dessen Vertreter sein sollten, beachten Sie bitte, dass jede Form der Veröf-<br>
&gt; fentlichung, Vervielfältigung oder Weitergabe des Inhalts dieser E-Mail unzulässig ist. Wir bitten Sie, sofort den<br>
&gt; Absender zu informieren und die E-Mail zu löschen.<br>
&gt;<br>
&gt;<br>
&gt;              Bodden-Kliniken Ribnitz-Damgarten GmbH 2016<br>
&gt; *** Virenfrei durch Kerio Mail Server und Sophos Antivirus ***<br>
&gt; _______________________________________________<br>
&gt; Users mailing list<br>
&gt; <a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a><br>
&gt; <a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Users mailing list<br>
&gt; <a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a><br>
&gt; <a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
</span><div><div>&gt; _______________________________________________<br>
&gt; Users mailing list<br>
&gt; <a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a><br>
&gt; <a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br>
<br>
</div></div></blockquote></div><br></div>
</blockquote></div><br></div></div>
</blockquote></div><br></div></div>