<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Mar 6, 2017 at 8:23 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"><span class="">On Sun, Mar 5, 2017 at 9:50 PM, Piotr Kliczewski &lt;<a href="mailto:pkliczew@redhat.com">pkliczew@redhat.com</a>&gt; wrote:<br>
&gt;<br>
&gt;<br>
&gt; On Sun, Mar 5, 2017 at 8:29 AM, Dan Kenigsberg &lt;<a href="mailto:danken@redhat.com">danken@redhat.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; Piotr, could you provide more information?<br>
&gt;&gt;<br>
&gt;&gt; Which setupNetworks action triggers this problem? Any idea which lock<br>
&gt;&gt; did we use to take and when did we drop it?<br>
&gt;<br>
&gt;<br>
&gt; I though that this [1] would make sure that setupNetworks is exclusive<br>
&gt; operation on a host which seems not to be the case.<br>
&gt; In the logs I saw following message sent:<br>
&gt;<br>
&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;<br>
&gt; Few seconds later there was:<br>
&gt;<br>
&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;<br>
&gt; and still while we were calling pings there was:<br>
&gt;<br>
&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;<br>
&gt; My assumption was that those calls should not happen and calls them selves<br>
&gt; could be corrupted or their responses.<br>
&gt; What do you think?<br>
&gt;<br>
&gt; [1]<br>
&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>
<br>
</span>I suspect that getVmStats and getSpmStatus simply do not take the<br>
hostmonitoring lock, and I don&#39;t see anything wrong in that.<br>
<br>
Note that during 006_migration, we set only a mere migration network,<br>
not the management network. This operation should not interfere with<br>
Engine-Vdsm communication in any way; I don&#39;t yet understand why you<br>
suspect that it does.<br>
</blockquote></div><br></div><div class="gmail_extra">My assumption here is that I saw this failure 2 times and both were during setupNetworks.<br></div><div class="gmail_extra">The pattern is that always a call fails which &quot;should not&quot; occur during such operation.<br></div><div class="gmail_extra"><br></div></div>