<div dir="ltr">Enabled logging, logs attached.<div><br></div><div>Thanks,</div></div><div class="gmail_extra"><br clear="all"><div><div dir="ltr"><span style="font-family:arial,sans-serif;font-size:16px"><strong>Steve Dainard </strong></span><span style="font-size:12px"></span><br>

<span style="font-family:arial,sans-serif;font-size:12px">IT Infrastructure Manager<br>
<a href="http://miovision.com/" target="_blank">Miovision</a> | <em>Rethink Traffic</em><br><br>
<strong style="font-family:arial,sans-serif;font-size:13px;color:#999999"><a href="http://miovision.com/blog" target="_blank">Blog</a>  |  </strong><font color="#999999" style="font-family:arial,sans-serif;font-size:13px"><strong><a href="https://www.linkedin.com/company/miovision-technologies" target="_blank">LinkedIn</a>  |  <a href="https://twitter.com/miovision" target="_blank">Twitter</a>  |  <a href="https://www.facebook.com/miovision" target="_blank">Facebook</a></strong></font> </span>
<hr style="font-family:arial,sans-serif;font-size:13px;color:#333333;clear:both">
<div style="color:#999999;font-family:arial,sans-serif;font-size:13px;padding-top:5px">
        <span style="font-family:arial,sans-serif;font-size:12px">Miovision Technologies Inc. | 148 Manitou Drive, Suite 101, Kitchener, ON, Canada | N2C 1L3</span><br>
        <span style="font-family:arial,sans-serif;font-size:12px">This e-mail may contain information that is privileged or confidential. If you are not the intended recipient, please delete the e-mail and any attachments and notify us immediately.</span></div>
</div></div>
<br><br><div class="gmail_quote">On Tue, Feb 11, 2014 at 7:39 AM, Nir Soffer <span dir="ltr">&lt;<a href="mailto:nsoffer@redhat.com" target="_blank">nsoffer@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="">----- Original Message -----<br>
&gt; From: &quot;Steve Dainard&quot; &lt;<a href="mailto:sdainard@miovision.com">sdainard@miovision.com</a>&gt;<br>
&gt; To: &quot;Nir Soffer&quot; &lt;<a href="mailto:nsoffer@redhat.com">nsoffer@redhat.com</a>&gt;<br>
&gt; Cc: &quot;users&quot; &lt;<a href="mailto:users@ovirt.org">users@ovirt.org</a>&gt;<br>
</div><div class="">&gt; Sent: Sunday, February 9, 2014 5:39:14 PM<br>
&gt; Subject: Re: [Users] Ovirt 3.3.2 Cannot attach POSIX (gluster) storage domain<br>
&gt;<br>
</div><div class="">&gt; vdsm can write to it:<br>
<br>
</div>Hi Steve,<br>
<br>
There are two issues in your logs:<br>
<br>
sanlock:<br>
<br>
2014-02-05 09:56:24-0500 40 [5093]: sanlock daemon started 2.8 host 5d4fe362-e06e-40a8-b33a-f72dab971226.ovirt001.m<br>
2014-02-05 10:06:39-0500 655 [5098]: s1 lockspace 020f3d8d-55f0-4552-8596-a9452227d4db:250:/rhev/data-center/mnt/10.0.10.2:_rep2/020f3d8d-55f0-4552-8596-a9452227d4db/dom_md/ids:0<br>
2014-02-05 10:06:39-0500 655 [7358]: 020f3d8d aio collect 1 0x7f351c0008c0:0x7f351c0008d0:0x7f351c001000 result -22:0 match res<br>
2014-02-05 10:06:39-0500 655 [7358]: write_sectors delta_leader offset 127488 rv -22 /rhev/data-center/mnt/10.0.10.2:_rep2/020f3d8d-55f0-4552-8596-a9452227d4db/dom_md/ids<br>
2014-02-05 10:06:40-0500 656 [5098]: s1 add_lockspace fail result -22<br>
<br>
To diagnose this error, we would like to have sanlock logs using debug level.<br>
<br>
Please do this:<br>
<br>
1. Edit /etc/sysconfig/sanlock and add:<br>
<br>
  # -L 7: use debug level logging to sanlock log file<br>
  SANLOCKOPTS=&quot;$SANLOCKOPTS -L 7&quot;<br>
<br>
2. Reboot the host<br>
3. Try to add the gluster domain again<br>
4. Send again vdsm.log, engine.log, sanlock.log and gluster log from the host with the issue.<br>
<br>
glusterfs:<br>
<br>
[2014-02-05 15:36:28.230837] I [afr-self-heal-data.c:655:afr_sh_data_fix] 0-rep2-replicate-0: no active sinks for performing self-heal on file /ff0e0521-a8fa-4c10-8372-7b67ac3fca31/dom_md/ids<br>
<div class="">[2014-02-05 15:36:28.246203] W [client-rpc-fops.c:873:client3_3_writev_cbk] 0-rep2-client-0: remote operation failed: Invalid argument<br>
[2014-02-05 15:36:28.246418] W [client-rpc-fops.c:873:client3_3_writev_cbk] 0-rep2-client-1: remote operation failed: Invalid argument<br>
[2014-02-05 15:36:28.246450] W [fuse-bridge.c:2167:fuse_writev_cbk] 0-glusterfs-fuse: 163: WRITE =&gt; -1 (Invalid argument)<br>
<br>
</div>For this error, it would be best to consult with glusterfs folks.<br>
<br>
Thanks,<br>
Nir<br>
</blockquote></div><br></div>