Hi all,- Here is a simple architecture for my demo deployment using KVM VMs:1) rhevm1.ab.lab -> oVirt Engine (CentOS 7.4 x86_64)2) rhevh1.ab.lab -> oVirt Enterprise Linux Host (CentOS 7.4 x86_64)3) rhevh2.ab.lab -> oVirt Enterprise Linux Host (CentOS 7.4 x86_64)- How to reproduce issue:1) I installed 'ovirt-engine' successfully.2) I tried to add 'rhevh1.ab.lab' from 'rhevm1.ab.lab' using SSH public key.
Everything was OK until I had the following error message:"Host rhevh1 installation failed. Failed to execute Ansible host-deploy role. Please check logs for more details: /var/log/ovirt-engine/host-deploy/ovirt-host-deploy- ansible-20171229144439-rhevh1. ab.lab-13b2b5c4.log." Checking log file showed the following:[root@rhevm1 tmp]# cat /var/log/ovirt-engine/host-deploy/ovirt-host-deploy- ansible-20171229144439-rhevh1. ab.lab-13b2b5c4.log 2017-12-29 14:44:40,320 p=9666 u=ovirt | [DEPRECATION WARNING]: The use of 'include' for tasks has been deprecated. Use' import_tasks' for static inclusions or 'include_tasks' for dynamic inclusions.This feature will be removed in a future release. Deprecation warnings can bedisabled by setting deprecation_warnings=False in ansible.cfg.2017-12-29 14:44:40,321 p=9666 u=ovirt | [DEPRECATION WARNING]: include is kept for backwards compatibility but usage isdiscouraged. The module documentation details page may explain more about thisrationale.. This feature will be removed in a future release. Deprecationwarnings can be disabled by setting deprecation_warnings=False in ansible.cfg.2017-12-29 14:44:40,458 p=9666 u=ovirt | PLAY [all] ************************************************************ ********* 2017-12-29 14:44:40,469 p=9666 u=ovirt | TASK [Gathering Facts] ********************************************************* 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}2017-12-29 14:44:40,802 p=9666 u=ovirt | PLAY RECAP ************************************************************ ********* 2017-12-29 14:44:40,802 p=9666 u=ovirt | rhevh1.ab.lab : ok=0 changed=0 unreachable=1 failed=03) I tried to simulate Ansilbe role work by using simple ansible module using 'root' user:[root@rhevm1 tmp]# ansible -m ping rhevhs -i /tmp/tmphostsThe authenticity of host '192.168.150.21 (<no hostip for proxy command>)' can't be established.ECDSA key fingerprint is SHA256:fPem/Gn67v6tEbQpX/NJix/Ff7gPJsQ9Hz9SSBBc5ts. ECDSA key fingerprint is MD5:12:ca:c7:84:93:50:3f:33:b5:39:e2:20:2d:13:17:43. Are you sure you want to continue connecting (yes/no)? yes192.168.150.21 | SUCCESS => {"changed": false,"ping": "pong"}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.5) I have tried to disable this feature in ansible.cfg file:[root@rhevm1 tmp]# grep host_key_checking /etc/ansible/ansible.cfghost_key_checking = False6) Again the same results:[root@rhevm1 tmp]# cat /var/log/ovirt-engine/host-deploy/ovirt-host-deploy- ansible-20171229145907-rhevh1. ab.lab-3e8bace0.log 2017-12-29 14:59:08,005 p=10135 u=ovirt | [DEPRECATION WARNING]: The use of 'include' for tasks has been deprecated. Use'import_tasks' for static inclusions or 'include_tasks' for dynamic inclusions.This feature will be removed in a future release. Deprecation warnings can bedisabled by setting deprecation_warnings=False in ansible.cfg.2017-12-29 14:59:08,006 p=10135 u=ovirt | [DEPRECATION WARNING]: include is kept for backwards compatibility but usage isdiscouraged. The module documentation details page may explain more about thisrationale.. This feature will be removed in a future release. Deprecationwarnings can be disabled by setting deprecation_warnings=False in ansible.cfg.2017-12-29 14:59:08,139 p=10135 u=ovirt | PLAY [all] ************************************************************ ********* 2017-12-29 14:59:08,151 p=10135 u=ovirt | TASK [Gathering Facts] ********************************************************* 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}2017-12-29 14:59:08,478 p=10135 u=ovirt | PLAY RECAP ************************************************************ ********* 2017-12-29 14:59:08,478 p=10135 u=ovirt | rhevh1.ab.lab : ok=0 changed=0 unreachable=1 failed=0- Questions:1) How could I resolve this issue?2) Is this behaviors considered as a bug to be reported?Thanks,Ab--
_______________________________________________
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users