In this email thread im talking about running `hosted-engine --deploy` as root 
directly on the hypervisor.

Checked the known_hosts and it was empty - I think we're going to go back to 
trying to fix the remote-deploy option!

Regards,
Callum

--

Callum Smith
Research Computing Core
Wellcome Trust Centre for Human Genetics
University of Oxford
e. [email protected]<mailto:[email protected]>

On 28 Mar 2019, at 16:27, Simone Tiraboschi 
<[email protected]<mailto:[email protected]>> wrote:


On Thu, Mar 28, 2019 at 4:53 PM Callum Smith 
<[email protected]<mailto:[email protected]>> wrote:
Dear all,

Giving up on running ansible playbook remotely we're hitting earlier issues 
running hosted-engine --deploy

The issue is just running the role as unprivileged user on the ansible 
controller node; I opened a bug here: 
https://bugzilla.redhat.com/show_bug.cgi?id=1693607
For now simply run your palybook as root instead of as a regular user with 
become: true.
I think it will be fixed for the next build.



2019-03-28 15:42:33,975+0000 INFO otopi.ovirt_hosted_engine_setup.ansible_utils 
ansible_utils._process_output:109 TASK [ovirt.hosted_engine_setup : Wait for 
the local VM]
2019-03-28 15:45:40,739+0000 DEBUG 
otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils._process_output:103 
{u'msg': u"timed out waiting for ping module test success: Using
a SSH password instead of a key is not possible because Host Key checking is 
enabled and sshpass does not support this.  Please add this host's fingerprint 
to your known_hosts file
 to manage this host.", u'elapsed': 186, u'changed': False, u'_ansible_no_log': 
False, u'_ansible_delegated_vars': {u'ansible_delegated_host': 
u'he.virt.in.bmrc.ox.ac.uk<http://he.virt.in.bmrc.ox.ac.uk/>', u'ansibl
e_host': u'he.virt.in.bmrc.ox.ac.uk<http://he.virt.in.bmrc.ox.ac.uk/>'}}
2019-03-28 15:45:40,840+0000 ERROR 
otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils._process_output:107 
fatal: [localhost -> 
he.virt.in.bmrc.ox.ac.uk<http://he.virt.in.bmrc.ox.ac.uk/>]: FAILED! => 
{"changed": false, "elapsed": 186, "msg": "timed out waiting for ping module 
test success: Using a SSH password instead of a key is not possible because 
Host Key checking is enabled and sshpass does not support this.  Please add 
this host's fingerprint to your known_hosts file to manage this host."}

At a bit of a loss, especially since the old no-ansible install is not 
available anymore?

Please check ~/.ssh/know_hosts for leftovers from previous attempt.
On each deploy attempt the engine VM will get a fresh ssh keys.


Regards,
Callum

--

Callum Smith
Research Computing Core
Wellcome Trust Centre for Human Genetics
University of Oxford
e. [email protected]<mailto:[email protected]>

_______________________________________________
Users mailing list -- [email protected]<mailto:[email protected]>
To unsubscribe send an email to 
[email protected]<mailto:[email protected]>
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/[email protected]/message/OLOH2VEI64CBDAMVJPZJL5WOGPTU5D2N/

_______________________________________________
Users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/[email protected]/message/GO5CTEMEOGAAQYHLSXVODMJJBBEOXMBM/

Reply via email to