Failed to connect to the host via ssh: root@192.168.4.17: Permission denied (publickey, gssapi-keyex, gssapi-with-mic, password).

An attempt to deploy a new host fails. Deploy I see the following error in the deploy log: 192.168.4.17: Failed to connect to host via ssh: root@192.168.4.17 : Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password). Despite the fact that the root user logs into the host via ssh from the ovirt-engine without any problems. So I understand that ansible scripts cannot get through ssh. Do you have any ideas about this? ovirt-engine version 4.4.10.6-1.el8 Centos Stream 8 host - CentOS Stream 8

Can you provide the Ansible log ? Best Regards,Strahil Nikolov An attempt to deploy a new host fails. Deploy I see the following error in the deploy log: 192.168.4.17: Failed to connect to host via ssh: root@192.168.4.17 : Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password). Despite the fact that the root user logs into the host via ssh from the ovirt-engine without any problems. So I understand that ansible scripts cannot get through ssh. Do you have any ideas about this? ovirt-engine version 4.4.10.6-1.el8 Centos Stream 8 host - CentOS Stream 8 _______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-leave@ovirt.org Privacy Statement: https://www.ovirt.org/privacy-policy.html oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/SYA2L573FAFMV5...

Good afternoon, the issue has already been resolved. I had to make manual adjustments to the inventory file, namely, enter the root password for this host. /usr/share/ovirt-engine/ansible-runner-service-project/inventory/hosts all: children: ovirt: children: null hosts: 192.168.4.17: ansible_host: 192.168.4.17 ansible_port: 22 ansible_password: <root_pass> hosts: null 24.07.2022 0:51, Strahil Nikolov пишет:
Can you provide the Ansible log ?
Best Regards, Strahil Nikolov
An attempt to deploy a new host fails. Deploy I see the following error in the deploy log:
192.168.4.17: Failed to connect to host via ssh: root@192.168.4.17 : Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).
Despite the fact that the root user logs into the host via ssh from the ovirt-engine without any problems.
So I understand that ansible scripts cannot get through ssh.
Do you have any ideas about this?
ovirt-engine version 4.4.10.6-1.el8 Centos Stream 8 host - CentOS Stream 8 _______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-leave@ovirt.org Privacy Statement: https://www.ovirt.org/privacy-policy.html oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/SYA2L573FAFMV5...
participants (3)
-
konstantinluschaev@ya.ru
-
Strahil Nikolov
-
Константин Лущаев