<div dir="ltr">Hello Martin, <div><br></div><div>Thank you for your reply. <br><br>Sorry for not saying that, but using root password was not working for me, so I used SSH public key as an alternative way.<br><br></div><div>I have created bug ID '1529851', but please let me know if you need me tho check any other steps from my side.</div><div><a href="https://bugzilla.redhat.com/show_bug.cgi?id=1529851">https://bugzilla.redhat.com/show_bug.cgi?id=1529851</a><br></div><div><br></div><div>Best regards,</div><div>Ab</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Dec 30, 2017 at 10:45 AM, Martin Perina <span dir="ltr"><<a href="mailto:mperina@redhat.com" target="_blank">mperina@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><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"><span class="">On Fri, Dec 29, 2017 at 3:05 PM, Abdurrahman A. Ibrahim <span dir="ltr"><<a href="mailto:a.rahman.attia@gmail.com" target="_blank">a.rahman.attia@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi all, <div><br></div><div>- Here is a simple architecture for my demo deployment using KVM VMs:</div><div>1) rhevm1.ab.lab -> oVirt Engine (CentOS 7.4 x86_64)</div><div>2) rhevh1.ab.lab -> oVirt Enterprise Linux Host (CentOS 7.4 x86_64)</div><div>3) rhevh2.ab.lab -> oVirt Enterprise Linux Host (CentOS 7.4 x86_64)</div><div><br></div><div>- How to reproduce issue:</div><div>1) I installed 'ovirt-engine' successfully. </div><div><br></div><div>2) I tried to add 'rhevh1.ab.lab' from 'rhevm1.ab.lab' using SSH public key.</div></div></blockquote><div><br></div></span><div style="font-family:arial,helvetica,sans-serif" class="gmail_default">Hi,</div><div style="font-family:arial,helvetica,sans-serif" class="gmail_default"><br></div><div style="font-family:arial,helvetica,sans-serif" class="gmail_default">could you please try to connect using root password instead of SSH public key? If root password option works, could you please create a bug for this issue?</div><div style="font-family:arial,helvetica,sans-serif" class="gmail_default"><br></div><div style="font-family:arial,helvetica,sans-serif" class="gmail_default">Thanks</div><div style="font-family:arial,helvetica,sans-serif" class="gmail_default"><br></div><div style="font-family:arial,helvetica,sans-serif" class="gmail_default">Martin</div><div style="font-family:arial,helvetica,sans-serif" class="gmail_default"></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr"><div> </div><div> Everything was OK until I had the following error message:</div><div> "Host rhevh1 installation failed. Failed to execute Ansible host-deploy role. Please check logs for more details: /var/log/ovirt-engine/host-dep<wbr>loy/ovirt-host-deploy-ansible-<wbr>20171229144439-rhevh1.ab.lab-<wbr>13b2b5c4.log."</div><div><br></div><div> Checking log file showed the following:</div><div> [root@rhevm1 tmp]# cat /var/log/ovirt-engine/host-dep<wbr>loy/ovirt-host-deploy-ansible-<wbr>20171229144439-rhevh1.ab.lab-<wbr>13b2b5c4.log</div><div> 2017-12-29 14:44:40,320 p=9666 u=ovirt | [DEPRECATION WARNING]: The use of 'include' for tasks has been deprecated. Use</div><div><div> ' import_tasks' for static inclusions or 'include_tasks' for dynamic inclusions.</div><div> This feature will be removed in a future release. Deprecation warnings can be</div><div> disabled by setting deprecation_warnings=False in ansible.cfg.</div><div> 2017-12-29 14:44:40,321 p=9666 u=ovirt | [DEPRECATION WARNING]: include is kept for backwards compatibility but usage is</div><div> discouraged. The module documentation details page may explain more about this</div><div> rationale.. This feature will be removed in a future release. Deprecation </div><div> warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.</div><div> 2017-12-29 14:44:40,458 p=9666 u=ovirt | PLAY [all] ******************************<wbr>******************************<wbr>*********</div><div> 2017-12-29 14:44:40,469 p=9666 u=ovirt | TASK [Gathering Facts] ******************************<wbr>***************************</div><div> 2017-12-29 14:44:40,801 p=9666 u=ovirt | fatal: [rhevh1.ab.lab]: UNREACHABLE! => {"changed": false, "msg": "Failed to connect to the host via ssh: ssh_exchange_identification: Connection closed by remote host\r\n", "unreachable": true} </div><div> 2017-12-29 14:44:40,802 p=9666 u=ovirt | PLAY RECAP ******************************<wbr>******************************<wbr>*********</div><div> 2017-12-29 14:44:40,802 p=9666 u=ovirt | rhevh1.ab.lab : ok=0 changed=0 unreachable=1 failed=0</div><div><br></div><div>3) I tried to simulate Ansilbe role work by using simple ansible module using 'root' user:</div><div> [root@rhevm1 tmp]# ansible -m ping rhevhs -i /tmp/tmphosts </div><div> The authenticity of host '192.168.150.21 (<no hostip for proxy command>)' can't be established. </div><div> ECDSA key fingerprint is SHA256:fPem/Gn67v6tEbQpX/NJix/<wbr>Ff7gPJsQ9Hz9SSBBc5ts.</div><div> ECDSA key fingerprint is MD5:12:ca:c7:84:93:50:3f:33:b5<wbr>:39:e2:20:2d:13:17:43. </div><div> Are you sure you want to continue connecting (yes/no)? yes</div><div> 192.168.150.21 | SUCCESS => {</div><div> "changed": false, </div><div> "ping": "pong"</div><div> }</div><div><br></div><div><br></div><div>4) It seems that above ansible role is not able to deal with SSH fingerprint for the first time even if I was able to collect 'rhevh1.ab.lab' fingerprint during adding host procedures.</div><div><br></div><div>5) I have tried to disable this feature in ansible.cfg file:</div><div><div>[root@rhevm1 tmp]# grep host_key_checking /etc/ansible/ansible.cfg </div><div>host_key_checking = False</div></div><div><br></div><div>6) Again the same results:</div><div><div>[root@rhevm1 tmp]# cat /var/log/ovirt-engine/host-dep<wbr>loy/ovirt-host-deploy-ansible-<wbr>20171229145907-rhevh1.ab.lab-<wbr>3e8bace0.log</div><div>2017-12-29 14:59:08,005 p=10135 u=ovirt | [DEPRECATION WARNING]: The use of 'include' for tasks has been deprecated. Use </div><div>'import_tasks' for static inclusions or 'include_tasks' for dynamic inclusions.</div><div> This feature will be removed in a future release. Deprecation warnings can be </div><div>disabled by setting deprecation_warnings=False in ansible.cfg.</div><div>2017-12-29 14:59:08,006 p=10135 u=ovirt | [DEPRECATION WARNING]: include is kept for backwards compatibility but usage is</div><div> discouraged. The module documentation details page may explain more about this</div><div> rationale.. This feature will be removed in a future release. Deprecation </div><div>warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.</div><div>2017-12-29 14:59:08,139 p=10135 u=ovirt | PLAY [all] ******************************<wbr>******************************<wbr>*********</div><div>2017-12-29 14:59:08,151 p=10135 u=ovirt | TASK [Gathering Facts] ******************************<wbr>***************************</div><div>2017-12-29 14:59:08,477 p=10135 u=ovirt | fatal: [rhevh1.ab.lab]: UNREACHABLE! => {"changed": false, "msg": "Failed to connect to the host via ssh: ssh_exchange_identification: Connection closed by remote host\r\n", "unreachable": true}</div><div>2017-12-29 14:59:08,478 p=10135 u=ovirt | PLAY RECAP ******************************<wbr>******************************<wbr>*********</div><div>2017-12-29 14:59:08,478 p=10135 u=ovirt | rhevh1.ab.lab : ok=0 changed=0 unreachable=1 failed=0 </div></div><div><br></div><div><br></div><div>- Questions:</div><div>1) How could I resolve this issue? </div><div>2) Is this behaviors considered as a bug to be reported?</div><div><br></div><div>Thanks,</div><div>Ab</div><span class="m_8700536001879827626HOEnZb"><font color="#888888">--
</font></span></div></div>
<br></div></div>______________________________<wbr>_________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/mailman<wbr>/listinfo/users</a><br>
<br></blockquote></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><br>-- <br><div class="m_8700536001879827626gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><font size="1">Martin Perina<br>Associate Manager, Software Engineering<br>Red Hat Czech s.r.o.<br></font></div></div>
</font></span></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><span><div><div dir="ltr"><div><div>Abdurrahman A. Mohamed<br>+420-773-232-165<br></div></div></div></div></span></div></div>
</div>