<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Apr 20, 2017 at 11:55 AM, Piotr Kliczewski <span dir="ltr">&lt;<a href="mailto:piotr.kliczewski@gmail.com" target="_blank">piotr.kliczewski@gmail.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 Thu, Apr 20, 2017 at 10:32 AM, Yaniv Kaul &lt;<a href="mailto:ykaul@redhat.com">ykaul@redhat.com</a>&gt; wrote:<br>
&gt; No, that&#39;s not the issue.<br>
&gt; I&#39;ve seen it happening few times.<br>
&gt;<br>
&gt; 1. It always with the ISO domain (which we don&#39;t use anyway in o-s-t)<br>
&gt; 2. Apparently, only one host is asking for a mount:<br>
&gt;  authenticated mount request from <a href="http://192.168.201.4:713" rel="noreferrer" target="_blank">192.168.201.4:713</a> for /exports/nfs/iso<br>
&gt; (/exports/nfs/iso)<br>
&gt;<br>
&gt; (/var/log/messages of the NFS server)<br>
&gt;<br>
&gt; And indeed, you can see in[1] that host1 made the request and all is well on<br>
&gt; it.<br>
&gt;<br>
&gt; However, there are connection issues with host0 which cause a timeout to<br>
&gt; connectStorageServer():<br>
&gt; From[2]:<br>
&gt;<br>
&gt; 2017-04-19 18:58:58,465-04 DEBUG<br>
&gt; [org.ovirt.vdsm.jsonrpc.<wbr>client.internal.<wbr>ResponseWorker] (ResponseWorker) []<br>
&gt; Message received:<br>
&gt; {&quot;jsonrpc&quot;:&quot;2.0&quot;,&quot;error&quot;:{&quot;<wbr>code&quot;:&quot;lago-basic-suite-<wbr>master-host0:192912448&quot;,&quot;<wbr>message&quot;:&quot;Vds<br>
&gt; timeout occured&quot;},&quot;id&quot;:null}<br>
&gt;<br>
&gt; 2017-04-19 18:58:58,475-04 ERROR<br>
&gt; [org.ovirt.engine.core.dal.<wbr>dbbroker.auditloghandling.<wbr>AuditLogDirector]<br>
&gt; (org.ovirt.thread.pool-7-<wbr>thread-37) [755b908a] EVENT_ID:<br>
&gt; VDS_BROKER_COMMAND_FAILURE(10,<wbr>802), Correlation ID: null, Call Stack: null,<br>
&gt; Custom Event ID: -1, Message: VDSM lago-basic-suite-master-host0 command<br>
&gt; ConnectStorageServerVDS failed: Message timeout which can be caused by<br>
&gt; communication issues<br>
&gt; 2017-04-19 18:58:58,475-04 INFO<br>
&gt; [org.ovirt.engine.core.<wbr>vdsbroker.vdsbroker.<wbr>ConnectStorageServerVDSCommand<wbr>]<br>
&gt; (org.ovirt.thread.pool-7-<wbr>thread-37) [755b908a] Command<br>
&gt; &#39;org.ovirt.engine.core.<wbr>vdsbroker.vdsbroker.<wbr>ConnectStorageServerVDSCommand<wbr>&#39;<br>
&gt; return value &#39;<br>
&gt; ServerConnectionStatusReturn:{<wbr>status=&#39;Status [code=5022, message=Message<br>
&gt; timeout which can be caused by communication issues]&#39;}<br>
&gt;<br>
&gt;<br>
&gt; I wonder why, but on /var/log/messages[3], I&#39;m seeing:<br>
&gt; Apr 19 18:56:58 lago-basic-suite-master-host0 journal: vdsm Executor WARN<br>
&gt; Worker blocked: &lt;Worker name=jsonrpc/3 running &lt;Task &lt;JsonRpcTask {&#39;params&#39;:<br>
&gt; {u&#39;connectionParams&#39;: [{u&#39;id&#39;: u&#39;4ca8fc84-d872-4a7f-907f-<wbr>9445bda7b6d1&#39;,<br>
&gt; u&#39;connection&#39;: u&#39;192.168.201.3:/exports/nfs/<wbr>share1&#39;, u&#39;iqn&#39;: u&#39;&#39;, u&#39;user&#39;:<br>
&gt; u&#39;&#39;, u&#39;tpgt&#39;: u&#39;1&#39;, u&#39;protocol_version&#39;: u&#39;4.2&#39;, u&#39;password&#39;: &#39;********&#39;,<br>
&gt; u&#39;port&#39;: u&#39;&#39;}], u&#39;storagepoolID&#39;: u&#39;00000000-0000-0000-0000-<wbr>000000000000&#39;,<br>
&gt; u&#39;domainType&#39;: 1}, &#39;jsonrpc&#39;: &#39;2.0&#39;, &#39;method&#39;:<br>
&gt; u&#39;StoragePool.<wbr>connectStorageServer&#39;, &#39;id&#39;:<br>
&gt; u&#39;057da9c2-1e67-4c2f-9511-<wbr>7d9de250386b&#39;} at 0x2f44110&gt; timeout=60,<br>
&gt; duration=60 at 0x2f44310&gt; task#=9 at 0x2ac11d0&gt;<br>
&gt; ...<br>
&gt;<br>
<br>
</div></div>I see following sequence:<br>
<br>
The message is sent:<br>
<br>
2017-04-19 18:55:58,020-04 DEBUG<br>
[org.ovirt.vdsm.jsonrpc.<wbr>client.reactors.stomp.<wbr>StompCommonClient]<br>
(org.ovirt.thread.pool-7-<wbr>thread-37) [755b908a] Message sent: SEND<br>
destination:jms.topic.vdsm_<wbr>requests<br>
content-length:381<br>
ovirtCorrelationId:755b908a<br>
reply-to:jms.topic.vdsm_<wbr>responses<br>
<br>
&lt;JsonRpcRequest id: &quot;057da9c2-1e67-4c2f-9511-<wbr>7d9de250386b&quot;, method:<br>
StoragePool.<wbr>connectStorageServer, params:<br>
{storagepoolID=00000000-0000-<wbr>0000-0000-000000000000, domainType=1,<br>
connectionParams=[{password=, protocol_version=4.2, port=, iqn=,<br>
connection=192.168.201.3:/<wbr>exports/nfs/share1,<br>
id=4ca8fc84-d872-4a7f-907f-<wbr>9445bda7b6d1, user=, tpgt=1}]}&gt;<br>
<br>
There is no response for specified amount of time and we timeout:<br>
<span class=""><br>
2017-04-19 18:58:58,465-04 DEBUG<br>
[org.ovirt.vdsm.jsonrpc.<wbr>client.internal.<wbr>ResponseWorker]<br>
(ResponseWorker) [] Message received:<br>
{&quot;jsonrpc&quot;:&quot;2.0&quot;,&quot;error&quot;:{&quot;<wbr>code&quot;:&quot;lago-basic-suite-<wbr>master-host0:192912448&quot;,&quot;<wbr>message&quot;:&quot;Vds<br>
timeout occured&quot;},&quot;id&quot;:null}<br>
<br>
</span>As Yaniv pointed here is why we never get the response:<br>
<br>
Apr 19 18:58:58 lago-basic-suite-master-host0 journal: vdsm Executor<br>
<span class="">WARN Worker blocked: &lt;Worker name=jsonrpc/3 running &lt;Task &lt;JsonRpcTask<br>
{&#39;params&#39;: {u&#39;connectionParams&#39;: [{u&#39;id&#39;:<br>
u&#39;4ca8fc84-d872-4a7f-907f-<wbr>9445bda7b6d1&#39;, u&#39;connection&#39;:<br>
u&#39;192.168.201.3:/exports/nfs/<wbr>share1&#39;, u&#39;iqn&#39;: u&#39;&#39;, u&#39;user&#39;: u&#39;&#39;,<br>
u&#39;tpgt&#39;: u&#39;1&#39;, u&#39;protocol_version&#39;: u&#39;4.2&#39;, u&#39;password&#39;: &#39;********&#39;,<br>
u&#39;port&#39;: u&#39;&#39;}], u&#39;storagepoolID&#39;:<br>
u&#39;00000000-0000-0000-0000-<wbr>000000000000&#39;, u&#39;domainType&#39;: 1}, &#39;jsonrpc&#39;:<br>
&#39;2.0&#39;, &#39;method&#39;: u&#39;StoragePool.<wbr>connectStorageServer&#39;, &#39;id&#39;:<br>
u&#39;057da9c2-1e67-4c2f-9511-<wbr>7d9de250386b&#39;} at 0x2f44110&gt; timeout=60,<br>
</span>duration=180 at 0x2f44310&gt; task#=9 at 0x2ac11d0&gt;<br>
<span class=""><br>
&gt;<br>
&gt; 3. Also, there is still the infamous unable to update response issues.<br>
&gt;<br>
<br>
</span>When we see timeout on a call our default behavior is to reconnect<br>
when we clean pending messages.<br>
As a result when we reconnect and receive a response from the message<br>
sent before disconnect<br>
we say it is unknown to us.<br></blockquote><div><br></div><div>But the example I&#39;ve given was earlier than the storage issue?</div><div>Y.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="HOEnZb"><div class="h5"><br>
&gt; {&quot;jsonrpc&quot;:&quot;2.0&quot;,&quot;method&quot;:&quot;<wbr>Host.ping&quot;,&quot;params&quot;:{},&quot;id&quot;:&quot;<wbr>7cb6052f-c732-4f7c-bd2d-<wbr>e48c2ae1f5e0&quot;}�<br>
&gt; 2017-04-19 18:54:27,843-04 DEBUG<br>
&gt; [org.ovirt.vdsm.jsonrpc.<wbr>client.reactors.stomp.<wbr>StompCommonClient]<br>
&gt; (org.ovirt.thread.pool-7-<wbr>thread-15) [62d198cc] Message sent: SEND<br>
&gt; destination:jms.topic.vdsm_<wbr>requests<br>
&gt; content-length:94<br>
&gt; ovirtCorrelationId:62d198cc<br>
&gt; reply-to:jms.topic.vdsm_<wbr>responses<br>
&gt;<br>
&gt; &lt;JsonRpcRequest id: &quot;7cb6052f-c732-4f7c-bd2d-<wbr>e48c2ae1f5e0&quot;, method:<br>
&gt; Host.ping, params: {}&gt;<br>
&gt; 2017-04-19 18:54:27,885-04 DEBUG<br>
&gt; [org.ovirt.vdsm.jsonrpc.<wbr>client.reactors.stomp.impl.<wbr>Message]<br>
&gt; (org.ovirt.thread.pool-7-<wbr>thread-16) [1f9aac13] SEND<br>
&gt; ovirtCorrelationId:1f9aac13<br>
&gt; destination:jms.topic.vdsm_<wbr>requests<br>
&gt; reply-to:jms.topic.vdsm_<wbr>responses<br>
&gt; content-length:94<br>
&gt;<br>
&gt; ...<br>
&gt;<br>
&gt; {&quot;jsonrpc&quot;: &quot;2.0&quot;, &quot;id&quot;: &quot;7cb6052f-c732-4f7c-bd2d-<wbr>e48c2ae1f5e0&quot;, &quot;result&quot;:<br>
&gt; true}�<br>
&gt; 2017-04-19 18:54:32,132-04 DEBUG<br>
&gt; [org.ovirt.vdsm.jsonrpc.<wbr>client.internal.<wbr>ResponseWorker] (ResponseWorker) []<br>
&gt; Message received: {&quot;jsonrpc&quot;: &quot;2.0&quot;, &quot;id&quot;:<br>
&gt; &quot;7cb6052f-c732-4f7c-bd2d-<wbr>e48c2ae1f5e0&quot;, &quot;result&quot;: true}<br>
&gt; 2017-04-19 18:54:32,133-04 ERROR<br>
&gt; [org.ovirt.vdsm.jsonrpc.<wbr>client.JsonRpcClient] (ResponseWorker) [] Not able<br>
&gt; to update response for &quot;7cb6052f-c732-4f7c-bd2d-<wbr>e48c2ae1f5e0&quot;<br>
&gt;<br>
&gt;<br>
&gt; Would be nice to understand why.<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; 4. Lastly, MOM is not running. Why?<br>
&gt;<br>
&gt;<br>
&gt; Please open a bug with the details from item #2 above.<br>
&gt; Y.<br>
&gt;<br>
&gt;<br>
&gt; [1]<br>
&gt; <a href="http://jenkins.ovirt.org/job/test-repo_ovirt_experimental_master/6403/artifact/exported-artifacts/basic-suit-master-el7/test_logs/basic-suite-master/post-002_bootstrap.py/lago-basic-suite-master-host1/_var_log/vdsm/supervdsm.log" rel="noreferrer" target="_blank">http://jenkins.ovirt.org/job/<wbr>test-repo_ovirt_experimental_<wbr>master/6403/artifact/exported-<wbr>artifacts/basic-suit-master-<wbr>el7/test_logs/basic-suite-<wbr>master/post-002_bootstrap.py/<wbr>lago-basic-suite-master-host1/<wbr>_var_log/vdsm/supervdsm.log</a><br>
&gt; [2]<br>
&gt; <a href="http://jenkins.ovirt.org/job/test-repo_ovirt_experimental_master/6403/artifact/exported-artifacts/basic-suit-master-el7/test_logs/basic-suite-master/post-002_bootstrap.py/lago-basic-suite-master-engine/_var_log/ovirt-engine/engine.log" rel="noreferrer" target="_blank">http://jenkins.ovirt.org/job/<wbr>test-repo_ovirt_experimental_<wbr>master/6403/artifact/exported-<wbr>artifacts/basic-suit-master-<wbr>el7/test_logs/basic-suite-<wbr>master/post-002_bootstrap.py/<wbr>lago-basic-suite-master-<wbr>engine/_var_log/ovirt-engine/<wbr>engine.log</a><br>
&gt; [3]<br>
&gt; <a href="http://jenkins.ovirt.org/job/test-repo_ovirt_experimental_master/6403/artifact/exported-artifacts/basic-suit-master-el7/test_logs/basic-suite-master/post-002_bootstrap.py/lago-basic-suite-master-host0/_var_log/messages" rel="noreferrer" target="_blank">http://jenkins.ovirt.org/job/<wbr>test-repo_ovirt_experimental_<wbr>master/6403/artifact/exported-<wbr>artifacts/basic-suit-master-<wbr>el7/test_logs/basic-suite-<wbr>master/post-002_bootstrap.py/<wbr>lago-basic-suite-master-host0/<wbr>_var_log/messages</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; On Thu, Apr 20, 2017 at 9:27 AM, Gil Shinar &lt;<a href="mailto:gshinar@redhat.com">gshinar@redhat.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; Test failed: add_secondary_storage_domains<br>
&gt;&gt; Link to suspected patches:<br>
&gt;&gt; Link to Job:<br>
&gt;&gt; <a href="http://jenkins.ovirt.org/job/test-repo_ovirt_experimental_master/6403" rel="noreferrer" target="_blank">http://jenkins.ovirt.org/job/<wbr>test-repo_ovirt_experimental_<wbr>master/6403</a><br>
&gt;&gt; Link to all logs:<br>
&gt;&gt; <a href="http://jenkins.ovirt.org/job/test-repo_ovirt_experimental_master/6403/artifact/exported-artifacts/basic-suit-master-el7/test_logs/basic-suite-master/post-002_bootstrap.py" rel="noreferrer" target="_blank">http://jenkins.ovirt.org/job/<wbr>test-repo_ovirt_experimental_<wbr>master/6403/artifact/exported-<wbr>artifacts/basic-suit-master-<wbr>el7/test_logs/basic-suite-<wbr>master/post-002_bootstrap.py</a><br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Error seems to be:<br>
&gt;&gt; 2017-04-19 18:58:58,774-0400 ERROR (jsonrpc/2) [storage.TaskManager.Task]<br>
&gt;&gt; (Task=&#39;8f9699ed-cc2f-434b-<wbr>aa1e-b3c8ff30324a&#39;) Unexpected error (task:871)<br>
&gt;&gt; Traceback (most recent call last):<br>
&gt;&gt;   File &quot;/usr/lib/python2.7/site-<wbr>packages/vdsm/storage/task.py&quot;<wbr>, line 878,<br>
&gt;&gt; in _run<br>
&gt;&gt;     return fn(*args, **kargs)<br>
&gt;&gt;   File &quot;/usr/lib/python2.7/site-<wbr>packages/vdsm/logUtils.py&quot;, line 52, in<br>
&gt;&gt; wrapper<br>
&gt;&gt;     res = f(*args, **kwargs)<br>
&gt;&gt;   File &quot;/usr/share/vdsm/storage/hsm.<wbr>py&quot;, line 2709, in<br>
&gt;&gt; getStorageDomainInfo<br>
&gt;&gt;     dom = self.validateSdUUID(sdUUID)<br>
&gt;&gt;   File &quot;/usr/share/vdsm/storage/hsm.<wbr>py&quot;, line 298, in validateSdUUID<br>
&gt;&gt;     sdDom = sdCache.produce(sdUUID=sdUUID)<br>
&gt;&gt;   File &quot;/usr/share/vdsm/storage/sdc.<wbr>py&quot;, line 112, in produce<br>
&gt;&gt;     domain.getRealDomain()<br>
&gt;&gt;   File &quot;/usr/share/vdsm/storage/sdc.<wbr>py&quot;, line 53, in getRealDomain<br>
&gt;&gt;     return self._cache._realProduce(self.<wbr>_sdUUID)<br>
&gt;&gt;   File &quot;/usr/share/vdsm/storage/sdc.<wbr>py&quot;, line 136, in _realProduce<br>
&gt;&gt;     domain = self._findDomain(sdUUID)<br>
&gt;&gt;   File &quot;/usr/share/vdsm/storage/sdc.<wbr>py&quot;, line 153, in _findDomain<br>
&gt;&gt;     return findMethod(sdUUID)<br>
&gt;&gt;   File &quot;/usr/share/vdsm/storage/sdc.<wbr>py&quot;, line 178, in _findUnfetchedDomain<br>
&gt;&gt;     raise se.StorageDomainDoesNotExist(<wbr>sdUUID)<br>
&gt;&gt; StorageDomainDoesNotExist: Storage domain does not exist:<br>
&gt;&gt; (u&#39;ac3bbc93-26ba-4ea8-8e76-<wbr>c5b761f01931&#39;,)<br>
&gt;&gt; 2017-04-19 18:58:58,777-0400 INFO  (jsonrpc/2) [storage.TaskManager.Task]<br>
&gt;&gt; (Task=&#39;8f9699ed-cc2f-434b-<wbr>aa1e-b3c8ff30324a&#39;) aborting: Task is aborted:<br>
&gt;&gt; &#39;Storage domain does not exist&#39; - code 358 (task:1176)<br>
&gt;&gt; 2017-04-19 18:58:58,777-0400 ERROR (jsonrpc/2) [storage.Dispatcher]<br>
&gt;&gt; {&#39;status&#39;: {&#39;message&#39;: &quot;Storage domain does not exist:<br>
&gt;&gt; (u&#39;ac3bbc93-26ba-4ea8-8e76-<wbr>c5b761f01931&#39;,)&quot;, &#39;code&#39;: 358}} (dispatcher:78)<br>
&gt;&gt;<br>
&gt;&gt; ______________________________<wbr>_________________<br>
&gt;&gt; Devel mailing list<br>
&gt;&gt; <a href="mailto:Devel@ovirt.org">Devel@ovirt.org</a><br>
&gt;&gt; <a href="http://lists.ovirt.org/mailman/listinfo/devel" rel="noreferrer" target="_blank">http://lists.ovirt.org/<wbr>mailman/listinfo/devel</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; ______________________________<wbr>_________________<br>
&gt; Devel mailing list<br>
&gt; <a href="mailto:Devel@ovirt.org">Devel@ovirt.org</a><br>
&gt; <a href="http://lists.ovirt.org/mailman/listinfo/devel" rel="noreferrer" target="_blank">http://lists.ovirt.org/<wbr>mailman/listinfo/devel</a><br>
</div></div></blockquote></div><br></div></div>