<div dir="ltr">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    <p>Hello Yedidyah and all<br>
    </p>
    <p>I bring you a slightly new information about this issue. <br>
    </p>
    <p>If I have the node SSH port changed to something else other than 22 it is unable to fetch the fingerprint. I changed it back to
      22 and it worked to fetch the fingerprint but failed again when adding the host with the same error as before. (Yes I have allowed the port in the node firewall)<br>
    </p>
    <p>Before adding the host I have also cleaned both /root/.ssh/known_host and /var/lib/ovirt-engine/.ssh/known_hosts<br></p>
    <p>Regards<br>
      Fernando<br>
    </p>
    <br>
    <div class="m_-2083871020007496690moz-cite-prefix">On 16/03/2017 10:17, FERNANDO FREDIANI
      wrote:<br>
    </div>
    <blockquote type="cite">Well, that&#39;s pretty much what I found on most sites
      about this subject but still can&#39;t find anything that points to
      the error (find the related logs attached).
      <br>
      <br>
      Please note that before adding the server the Engine is not able
      to fetch the fingerprint and thorws the following error in the
      log:
      <br>
      <br>
      2017-03-16 09:57:14,998-03 ERROR
      [org.ovirt.engine.core.bll.<wbr>GetServerSSHKeyFingerprintQuer<wbr>y]
      (default task-54) [223c2f69-6e84-4d5c-a29d-<wbr>2f828fd9466e] Could not
      fetch fingerprint of host &#39;xxxxxxxxxxxxxxxx&#39;: Failed to get the
      session.
      <br>
      <br>
      The most relevant parts of the attached logs I could find were
      some things related to &#39;sharedLocks&#39; and
      &#39;ACTION_TYPE_FAILED_OBJECT_<wbr>LOCKED&#39;.
      <br>
      And the error itself:
      <br>
      <br>
      SSH error running command <a class="m_-2083871020007496690moz-txt-link-abbreviated" href="mailto:root@host1.fqdn.abc.net:55000" target="_blank">root@host1.fqdn.abc.net:55000</a>:<wbr>&#39;umask
      0077; MYTMP=&quot;$(TMPDIR=&quot;${OVIRT_<wbr>TMPDIR}&quot; mktemp -d -t
      ovirt-XXXXXXXXXX)&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 DIALOG/customization=bool:<wbr>True&#39;:
      Command returned failure code 1 during SSH session
      &#39;<a class="m_-2083871020007496690moz-txt-link-abbreviated" href="mailto:root@host1.fqdn.abc.net:55000" target="_blank">root@host1.fqdn.abc.net:55000</a><wbr>&#39;
      <br>
      2017-03-16 09:58:25,505-03 ERROR
      [org.ovirt.engine.core.uutils.<wbr>ssh.SSHDialog]
      (org.ovirt.thread.pool-6-<wbr>thread-14) [3a4fb0da] Exception:
      java.io.IOException: Command returned failure code 1 during SSH
      session &#39;<a class="m_-2083871020007496690moz-txt-link-abbreviated" href="mailto:root@host1.fqdn.abc.net:55000" target="_blank">root@host1.fqdn.abc.net:55000</a><wbr>&#39;
      <br>
      <br>
      Fernando
      <br>
      <br>
      <br>
      <br>
      On 16/03/2017 04:15, Yedidyah Bar David wrote:
      <br>
      <blockquote type="cite">On Thu, Mar 16, 2017 at 5:24 AM, FERNANDO
        FREDIANI
        <br>
        <a class="m_-2083871020007496690moz-txt-link-rfc2396E" href="mailto:fernando.frediani@upx.com" target="_blank">&lt;fernando.frediani@upx.com&gt;</a> wrote:
        <br>
        <blockquote type="cite">Hi folks.
          <br>
          <br>
          I think I have been hit by the most annoying error you can get
          on oVirt.
          <br>
          I have removed a Host from Engine, re-installed it with the
          latest
          <br>
          ovirt-node-ng ISO, tried to add the freshly installed Host
          back to Engine
          <br>
          and got the following error:
          <br>
          <br>
          &quot;Command returned failure code 1 during SSH session&quot;
          <br>
          <br>
          The host has the same FQDN as before and I have cleaned the
          SSH from the
          <br>
          known_hosts file in the Engine before trying to add it on the
          web interface.
          <br>
          <br>
          I have also tried this process with 2 different ISO files:
          <br>
          - ovirt-node-ng-installer-ovirt-<wbr>4.1-pre-<a href="tel:(201)%20703-0911" value="+12017030911" target="_blank">2017030911</a>.iso
          <br>
          - ovirt-node-ng-installer-ovirt-<wbr>4.1-pre-<a href="tel:(201)%20703-1104" value="+12017031104" target="_blank">2017031104</a>.iso
          <br>
          <br>
          And the Engine is version 4.1.1.4-1
          <br>
          <br>
          Have searched for this error and there are a lot of people
          affected but not
          <br>
          a single solution solves it.
          <br>
          <br>
          Please give some light.
          <br>
        </blockquote>
        Please check/share /var/log/ovirt-engine/engine.<wbr>log on the
        engine
        <br>
        machine.
        <br>
        <br>
        Best,
        <br>
        <br>
        <blockquote type="cite">Thanks
          <br>
          Fernando
          <br>
          <br>
          ______________________________<wbr>_________________
          <br>
          Users mailing list
          <br>
          <a class="m_-2083871020007496690moz-txt-link-abbreviated" href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a>
          <br>
          <a class="m_-2083871020007496690moz-txt-link-freetext" href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/<wbr>mailman/listinfo/users</a>
          <br>
          <br>
        </blockquote>
        <br>
        <br>
      </blockquote>
      <br>
    </blockquote>
    <br>
  </div>

</div>