<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Mar 6, 2017 at 9:46 AM, Dan Kenigsberg <span dir="ltr">&lt;<a href="mailto:danken@redhat.com" target="_blank">danken@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="HOEnZb"><div class="h5">On Mon, Mar 6, 2017 at 10:11 AM, Piotr Kliczewski &lt;<a href="mailto:pkliczew@redhat.com">pkliczew@redhat.com</a>&gt; wrote:<br>
&gt;<br>
&gt;<br>
&gt; On Mon, Mar 6, 2017 at 8:23 AM, Dan Kenigsberg &lt;<a href="mailto:danken@redhat.com">danken@redhat.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; On Sun, Mar 5, 2017 at 9:50 PM, Piotr Kliczewski &lt;<a href="mailto:pkliczew@redhat.com">pkliczew@redhat.com</a>&gt;<br>
&gt;&gt; wrote:<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; On Sun, Mar 5, 2017 at 8:29 AM, Dan Kenigsberg &lt;<a href="mailto:danken@redhat.com">danken@redhat.com</a>&gt;<br>
&gt;&gt; &gt; wrote:<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; Piotr, could you provide more information?<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; Which setupNetworks action triggers this problem? Any idea which lock<br>
&gt;&gt; &gt;&gt; did we use to take and when did we drop it?<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; I though that this [1] would make sure that setupNetworks is exclusive<br>
&gt;&gt; &gt; operation on a host which seems not to be the case.<br>
&gt;&gt; &gt; In the logs I saw following message sent:<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; {&quot;jsonrpc&quot;:&quot;2.0&quot;,&quot;method&quot;:&quot;<wbr>Host.setupNetworks&quot;,&quot;params&quot;:{<wbr>&quot;networks&quot;:{&quot;VLAN200_Network&quot;:<wbr>{&quot;vlan&quot;:&quot;200&quot;,&quot;netmask&quot;:&quot;255.<wbr>255.255.0&quot;,&quot;ipv6autoconf&quot;:<wbr>false,&quot;nic&quot;:&quot;eth0&quot;,&quot;bridged&quot;:&quot;<wbr>false&quot;,&quot;ipaddr&quot;:&quot;192.0.3.1&quot;,&quot;<wbr>dhcpv6&quot;:false,&quot;mtu&quot;:1500,&quot;<wbr>switch&quot;:&quot;legacy&quot;}},&quot;bondings&quot;:<wbr>{},&quot;options&quot;:{&quot;<wbr>connectivityTimeout&quot;:120,&quot;<wbr>connectivityCheck&quot;:&quot;true&quot;}},&quot;<wbr>id&quot;:&quot;3f7f74ea-fc39-4815-831b-<wbr>5e3b1c22131d&quot;}<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Few seconds later there was:<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; {&quot;jsonrpc&quot;:&quot;2.0&quot;,&quot;method&quot;:&quot;<wbr>Host.getAllVmStats&quot;,&quot;params&quot;:{<wbr>},&quot;id&quot;:&quot;67d510eb-6dfc-4f67-<wbr>97b6-a4e63c670ff2&quot;}<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; and still while we were calling pings there was:<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; {&quot;jsonrpc&quot;:&quot;2.0&quot;,&quot;method&quot;:&quot;<wbr>StoragePool.getSpmStatus&quot;,&quot;<wbr>params&quot;:{&quot;storagepoolID&quot;:&quot;<wbr>8cc227da-70e7-4557-aa01-<wbr>6d8ddee6f847&quot;},&quot;id&quot;:&quot;d4d04c7c-<wbr>47b8-44db-867b-770e1e19361c&quot;}<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; My assumption was that those calls should not happen and calls them<br>
&gt;&gt; &gt; selves<br>
&gt;&gt; &gt; could be corrupted or their responses.<br>
&gt;&gt; &gt; What do you think?<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; [1]<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; <a href="https://github.com/oVirt/ovirt-engine/blob/master/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/network/host/HostSetupNetworksCommand.java#L285" rel="noreferrer" target="_blank">https://github.com/oVirt/<wbr>ovirt-engine/blob/master/<wbr>backend/manager/modules/bll/<wbr>src/main/java/org/ovirt/<wbr>engine/core/bll/network/host/<wbr>HostSetupNetworksCommand.java#<wbr>L285</a><br>
&gt;&gt;<br>
&gt;&gt; I suspect that getVmStats and getSpmStatus simply do not take the<br>
&gt;&gt; hostmonitoring lock, and I don&#39;t see anything wrong in that.<br>
&gt;&gt;<br>
&gt;&gt; Note that during 006_migration, we set only a mere migration network,<br>
&gt;&gt; not the management network. This operation should not interfere with<br>
&gt;&gt; Engine-Vdsm communication in any way; I don&#39;t yet understand why you<br>
&gt;&gt; suspect that it does.<br>
&gt;<br>
&gt;<br>
&gt; My assumption here is that I saw this failure 2 times and both were during<br>
&gt; setupNetworks.<br>
&gt; The pattern is that always a call fails which &quot;should not&quot; occur during such<br>
&gt; operation.<br>
&gt;<br>
<br>
</div></div>It is fair to suspect an interaction with setupNetworks, but let us<br>
put some substance into it.<br>
What is the mode of failure of the other command?<br>
</blockquote></div><br></div><div class="gmail_extra">I am not sure what do you mean. Can you please explain?<br></div><div class="gmail_extra"><br></div></div>