<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Oct 23, 2017 at 6:21 PM, Yaniv Kaul <span dir="ltr">&lt;<a href="mailto:ykaul@redhat.com" target="_blank">ykaul@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 dir="ltr">I&#39;m failing to install hosts on o-s-t on Master.<div>What worries me is not that I&#39;m failing (though it is a bit of a surprise, perhaps something I&#39;ve done?), but that there are no logs around it.</div></div></blockquote><div><br><div style="font-family:arial,helvetica,sans-serif;display:inline" class="gmail_default">​Please see my response below, but which logs are you ​</div><div style="font-family:arial,helvetica,sans-serif;display:inline" class="gmail_default">​missing? <br>​</div>​</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><br></div><div>/var/log/ovirt-engine/host-<wbr>deploy is empty and so is /var/log/ovirt-engine/ansible.</div></div></blockquote><div><br><div style="font-family:arial,helvetica,sans-serif;display:inline" class="gmail_default">Logs for both part of host installation (host-deploy and ansible) are​</div> <div style="font-family:arial,helvetica,sans-serif;display:inline" class="gmail_default">​in /var/log/ovirt-engine/host-deploy, but they are created once each part successfully started.<br>​</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><br></div><div><br></div><div>All I&#39;m seeing:</div><div><span class="m_-839070756673954777gmail-drawer-pf-notification-message">Host lago-basic-suite-master-host-0 installation failed. Unexpected connection termination.</span><br></div><div><br></div><div>Server.log:</div><div><div>2017-10-23 12:16:33,041-04 WARN  [org.apache.sshd.client.<wbr>session.ClientSessionImpl] (sshd-SshClient[346b54f3]-<wbr>nio2-thread-2) Exception caught: java.io.IOException: Connection timed out</div><div>        at sun.nio.ch.FileDispatcherImpl.<wbr>write0(Native Method) [rt.jar:1.8.0_151]</div><div>        at sun.nio.ch.SocketDispatcher.<wbr>write(SocketDispatcher.java:<wbr>47) [rt.jar:1.8.0_151]</div><div>        at sun.nio.ch.IOUtil.<wbr>writeFromNativeBuffer(IOUtil.<wbr>java:93) [rt.jar:1.8.0_151]</div><div>        at sun.nio.ch.IOUtil.write(<wbr>IOUtil.java:65) [rt.jar:1.8.0_151]</div><div>        at <a href="http://sun.nio.ch">sun.nio.ch</a>.<wbr>UnixAsynchronousSocketChannelI<wbr>mpl.finishWrite(<wbr>UnixAsynchronousSocketChannelI<wbr>mpl.java:582) [rt.jar:1.8.0_151]</div><div>        at <a href="http://sun.nio.ch">sun.nio.ch</a>.<wbr>UnixAsynchronousSocketChannelI<wbr>mpl.finish(<wbr>UnixAsynchronousSocketChannelI<wbr>mpl.java:190) [rt.jar:1.8.0_151]</div><div>        at <a href="http://sun.nio.ch">sun.nio.ch</a>.<wbr>UnixAsynchronousSocketChannelI<wbr>mpl.onEvent(<wbr>UnixAsynchronousSocketChannelI<wbr>mpl.java:213) [rt.jar:1.8.0_151]</div><div>        at sun.nio.ch.EPollPort$<wbr>EventHandlerTask.run(<wbr>EPollPort.java:293) [rt.jar:1.8.0_151]</div><div>        at java.lang.Thread.run(Thread.<wbr>java:748) [rt.jar:1.8.0_151]</div></div><div><br></div><div><br></div><div>Engine.log:</div><div><br></div><div><div>2017-10-23 12:16:33,046-04 DEBUG [org.ovirt.engine.core.uutils.<wbr>ssh.SSHClient] (EE-ManagedThreadFactory-<wbr>engine-Thread-1) [83a00e1] Executed: &#39;umask 0077; MYTMP=&quot;$(TMPDIR=&quot;${OVIRT_<wbr>TMPDIR}&quot; mktemp -d -t ovirt-XXXXX</div><div>XXXXX)&quot;; trap &quot;chmod -R u+rwX \&quot;${MYTMP}\&quot; &gt; /dev/null 2&gt;&amp;1; rm -fr \&quot;${MYTMP}\&quot; &gt; /dev/null 2&gt;&amp;1&quot; 0; tar --warning=no-timestamp -C &quot;${MYTMP}&quot; -x &amp;&amp;  &quot;${MYTMP}&quot;/ovirt-host-deploy DIALOG/dialect=str:machine DIALO</div><div>G/customization=bool:True&#39;</div><div>2017-10-23 12:16:33,056-04 ERROR [org.ovirt.engine.core.bll.<wbr>hostdeploy.VdsDeployBase] (VdsDeploy) [83a00e1] Error during deploy dialog</div></div></div></blockquote><div><br><div style="font-family:arial,helvetica,sans-serif;display:inline" class="gmail_default">​So this means that SSH connection to the host using which the host deploy should be started failed. The reason is above in server.log, that SSH connection timed out. This error appears even before host-deploy is executed, that&#39;s we don&#39;t have any host-deploy log created.<br>​</div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>2017-10-23 12:16:33,057-04 DEBUG [org.ovirt.engine.core.uutils.<wbr>ssh.SSHDialog] (EE-ManagedThreadFactory-<wbr>engine-Thread-1) [83a00e1] execute leave</div><div>2017-10-23 12:16:33,057-04 ERROR [org.ovirt.engine.core.bll.<wbr>hostdeploy.VdsDeployBase] (EE-ManagedThreadFactory-<wbr>engine-Thread-1) [83a00e1] Error during host lago-basic-suite-master-host-0 install</div><div>2017-10-23 12:16:33,065-04 ERROR [org.ovirt.engine.core.dal.<wbr>dbbroker.auditloghandling.<wbr>AuditLogDirector] (EE-ManagedThreadFactory-<wbr>engine-Thread-1) [83a00e1] EVENT_ID: VDS_INSTALL_IN_PROGRESS_ERROR(<wbr>511), An error has occurred during installation of Host lago-basic-suite-master-host-<wbr>0: Unexpected connection termination.</div></div></div></blockquote><div><br><div style="font-family:arial,helvetica,sans-serif;display:inline" class="gmail_default">​Here is an ERROR event in audit_log for above issue.<br><br>​</div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>2017-10-23 12:16:33,065-04 ERROR [org.ovirt.engine.core.bll.<wbr>hostdeploy.VdsDeployBase] (EE-ManagedThreadFactory-<wbr>engine-Thread-1) [83a00e1] Error during host lago-basic-suite-master-host-0 install, preferring first exception: Unexpected connection termination</div><div>2017-10-23 12:16:33,065-04 ERROR [org.ovirt.engine.core.bll.<wbr>hostdeploy.<wbr>InstallVdsInternalCommand] (EE-ManagedThreadFactory-<wbr>engine-Thread-1) [83a00e1] Host installation failed for host &#39;c4138375-aa53-4c36-8907-<wbr>306803ae4282&#39;, &#39;lago-basic-suite-master-host-<wbr>0&#39;: Unexpected connection termination</div></div><div><br></div></div>
<br>______________________________<wbr>_________________<br>
Devel mailing list<br>
<a href="mailto:Devel@ovirt.org">Devel@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/devel" rel="noreferrer" target="_blank">http://lists.ovirt.org/<wbr>mailman/listinfo/devel</a><br></blockquote></div><br></div></div>