
This is a multi-part message in MIME format. --------------9C356F46DD406AA38DE4963B Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Final information about this. I have re-installed the node with the ISO Release version (2017020112) and it now worked, both with SSH port 22 or changed. Therefore Node-NG ISO versions 2017030911 and 2017031104 don't work well with my Engine. Despite it was still not able to fetch the fingerprint using running with a different port on SSH (and firewalld allowing the port) it was able to add the host normally and configure it correctly. Should I report it in bugzilla ? Let me know if you need anything further about this. Regards Fernando On 16/03/2017 11:53, FERNANDO FREDIANI wrote:
Hello Yedidyah and all
I bring you a slightly new information about this issue.
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)
Before adding the host I have also cleaned both /root/.ssh/known_host and /var/lib/ovirt-engine/.ssh/known_hosts
Regards Fernando
On 16/03/2017 10:17, FERNANDO FREDIANI wrote:
Well, that's pretty much what I found on most sites about this subject but still can't find anything that points to the error (find the related logs attached).
Please note that before adding the server the Engine is not able to fetch the fingerprint and thorws the following error in the log:
2017-03-16 09:57:14,998-03 ERROR [org.ovirt.engine.core.bll.GetServerSSHKeyFingerprintQuery] (default task-54) [223c2f69-6e84-4d5c-a29d-2f828fd9466e] Could not fetch fingerprint of host 'xxxxxxxxxxxxxxxx': Failed to get the session.
The most relevant parts of the attached logs I could find were some things related to 'sharedLocks' and 'ACTION_TYPE_FAILED_OBJECT_LOCKED'. And the error itself:
SSH error running command root@host1.fqdn.abc.net:55000 <mailto:root@host1.fqdn.abc.net:55000>:'umask 0077; MYTMP="$(TMPDIR="${OVIRT_TMPDIR}" mktemp -d -t ovirt-XXXXXXXXXX)"; trap "chmod -R u+rwX \"${MYTMP}\" > /dev/null 2>&1; rm -fr \"${MYTMP}\" > /dev/null 2>&1" 0; tar --warning=no-timestamp -C "${MYTMP}" -x && "${MYTMP}"/ovirt-host-deploy DIALOG/dialect=str:machine DIALOG/customization=bool:True': Command returned failure code 1 during SSH session 'root@host1.fqdn.abc.net:55000 <mailto:root@host1.fqdn.abc.net:55000>' 2017-03-16 09:58:25,505-03 ERROR [org.ovirt.engine.core.uutils.ssh.SSHDialog] (org.ovirt.thread.pool-6-thread-14) [3a4fb0da] Exception: java.io.IOException: Command returned failure code 1 during SSH session 'root@host1.fqdn.abc.net:55000 <mailto:root@host1.fqdn.abc.net:55000>'
Fernando
On 16/03/2017 04:15, Yedidyah Bar David wrote:
On Thu, Mar 16, 2017 at 5:24 AM, FERNANDO FREDIANI <fernando.frediani@upx.com> <mailto:fernando.frediani@upx.com> wrote:
Hi folks.
I think I have been hit by the most annoying error you can get on oVirt. I have removed a Host from Engine, re-installed it with the latest ovirt-node-ng ISO, tried to add the freshly installed Host back to Engine and got the following error:
"Command returned failure code 1 during SSH session"
The host has the same FQDN as before and I have cleaned the SSH from the known_hosts file in the Engine before trying to add it on the web interface.
I have also tried this process with 2 different ISO files: - ovirt-node-ng-installer-ovirt-4.1-pre-2017030911 <tel:%28201%29%20703-0911>.iso - ovirt-node-ng-installer-ovirt-4.1-pre-2017031104 <tel:%28201%29%20703-1104>.iso
And the Engine is version 4.1.1.4-1
Have searched for this error and there are a lot of people affected but not a single solution solves it.
Please give some light. Please check/share /var/log/ovirt-engine/engine.log on the engine machine.
Best,
Thanks Fernando
_______________________________________________ Users mailing list Users@ovirt.org <mailto:Users@ovirt.org> http://lists.ovirt.org/mailman/listinfo/users <http://lists.ovirt.org/mailman/listinfo/users>
--------------9C356F46DD406AA38DE4963B Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit <html> <head> <meta content="text/html; charset=utf-8" http-equiv="Content-Type"> </head> <body bgcolor="#FFFFFF" text="#000000"> <p>Final information about this.</p> <p>I have re-installed the node with the ISO Release version (2017020112) and it now worked, both with SSH port 22 or changed. Therefore Node-NG ISO versions 2017030911 and 2017031104 don't work well with my Engine.<br> </p> <p>Despite it was still not able to fetch the fingerprint using running with a different port on SSH (and firewalld allowing the port) it was able to add the host normally and configure it correctly. Should I report it in bugzilla ?<br> </p> <p>Let me know if you need anything further about this.</p> <p>Regards<br> Fernando<br> </p> <br> <div class="moz-cite-prefix">On 16/03/2017 11:53, FERNANDO FREDIANI wrote:<br> </div> <blockquote cite="mid:CAD7b65+wjAYeRpkFssM6FCgu3GGCKqtDkc=U4VEd_nKHqU11cg@mail.gmail.com" type="cite"> <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's pretty much what I found on most sites about this subject but still can'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 'xxxxxxxxxxxxxxxx': Failed to get the session. <br> <br> The most relevant parts of the attached logs I could find were some things related to 'sharedLocks' and 'ACTION_TYPE_FAILED_OBJECT_<wbr>LOCKED'. <br> And the error itself: <br> <br> SSH error running command <a moz-do-not-send="true" class="m_-2083871020007496690moz-txt-link-abbreviated" href="mailto:root@host1.fqdn.abc.net:55000" target="_blank">root@host1.fqdn.abc.net:55000</a>:<wbr>'umask 0077; MYTMP="$(TMPDIR="${OVIRT_<wbr>TMPDIR}" mktemp -d -t ovirt-XXXXXXXXXX)"; trap "chmod -R u+rwX \"${MYTMP}\" > /dev/null 2>&1; rm -fr \"${MYTMP}\" > /dev/null 2>&1" 0; tar --warning=no-timestamp -C "${MYTMP}" -x && "${MYTMP}"/ovirt-host-deploy DIALOG/dialect=str:machine DIALOG/customization=bool:<wbr>True': Command returned failure code 1 during SSH session '<a moz-do-not-send="true" class="m_-2083871020007496690moz-txt-link-abbreviated" href="mailto:root@host1.fqdn.abc.net:55000" target="_blank">root@host1.fqdn.abc.net:55000</a><wbr>' <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 '<a moz-do-not-send="true" class="m_-2083871020007496690moz-txt-link-abbreviated" href="mailto:root@host1.fqdn.abc.net:55000" target="_blank">root@host1.fqdn.abc.net:55000</a><wbr>' <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 moz-do-not-send="true" class="m_-2083871020007496690moz-txt-link-rfc2396E" href="mailto:fernando.frediani@upx.com" target="_blank"><fernando.frediani@upx.com></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> "Command returned failure code 1 during SSH session" <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 moz-do-not-send="true" href="tel:%28201%29%20703-0911" value="+12017030911" target="_blank">2017030911</a>.iso <br> - ovirt-node-ng-installer-ovirt-<wbr>4.1-pre-<a moz-do-not-send="true" href="tel:%28201%29%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 moz-do-not-send="true" class="m_-2083871020007496690moz-txt-link-abbreviated" href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a> <br> <a moz-do-not-send="true" 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> </blockquote> <br> </body> </html> --------------9C356F46DD406AA38DE4963B--