Why cannot connect to KVM Libvirtd using oVirt ??

The error log is : VDSM olvms3 command GetVmsNamesFromExternalProviderVDS failed: Cannot recv data: Host key verification failed.: Connection reset by peer But if I use the virsh, it can connect. [root@olvms1 ~]# virsh -c qemu+ssh://root@192.168.10.175/system root@192.168.10.175's <mailto:root@192.168.10.175's> password: Welcome to virsh, the virtualization interactive terminal. Type: 'help' for help with commands 'quit' to quit virsh # virsh # virsh # list Id Name State -------------------- virsh # virsh # virsh # list --all Id Name State ------------------------ - 1.vm1 shut off virsh # Why ??

Hi, Tommy Thats security policy from Redhat Use options PASSWD from installation file to connect qemu with br, Ilya F пн, 21 июн. 2021 г. в 20:21, tommy <sz_cuitao@163.com>:
The error log is :
VDSM olvms3 command GetVmsNamesFromExternalProviderVDS failed: Cannot recv data: Host key verification failed.: Connection reset by peer
But if I use the virsh, it can connect.
[root@olvms1 ~]# virsh -c qemu+ssh://root@192.168.10.175/system
root@192.168.10.175's password:
Welcome to virsh, the virtualization interactive terminal.
Type: 'help' for help with commands
'quit' to quit
virsh #
virsh #
virsh # list
Id Name State
--------------------
virsh #
virsh #
virsh # list --all
Id Name State
------------------------
- 1.vm1 shut off
virsh #
Why ??
_______________________________________________ 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/SLSQVFOWWGX44P...

oVirt never uses passowrd for ssh communication to the root user of remote hosts.Check if passwordless ssh is configured. You can set a host in maintenance and re add the host. Best Regards,Strahil Nikolov On Mon, Jun 21, 2021 at 20:21, tommy<sz_cuitao@163.com> wrote: <!--#yiv8551256578 _filtered {} _filtered {} _filtered {}#yiv8551256578 #yiv8551256578 p.yiv8551256578MsoNormal, #yiv8551256578 li.yiv8551256578MsoNormal, #yiv8551256578 div.yiv8551256578MsoNormal {margin:0cm;text-align:justify;text-justify:inter-ideograph;font-size:10.5pt;}#yiv8551256578 a:link, #yiv8551256578 span.yiv8551256578MsoHyperlink {color:#0563C1;text-decoration:underline;}#yiv8551256578 span.yiv8551256578EmailStyle17 {color:windowtext;}#yiv8551256578 .yiv8551256578MsoChpDefault {}#yiv8551256578 _filtered {}#yiv8551256578 div.yiv8551256578WordSection1 {}--> The error log is : VDSM olvms3 command GetVmsNamesFromExternalProviderVDS failed: Cannot recv data: Host key verification failed.: Connection reset by peer But if I use the virsh, it can connect. [root@olvms1 ~]# virsh -c qemu+ssh://root@192.168.10.175/system root@192.168.10.175's password: Welcome to virsh, the virtualization interactive terminal. Type: 'help' for help with commands 'quit' to quit virsh # virsh # virsh # list Id Name State -------------------- virsh # virsh # virsh # list --all Id Name State ------------------------ - 1.vm1 shut off virsh # Why ?? _______________________________________________ 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/SLSQVFOWWGX44P...

oVirt runs as user vdsm@ovirt so security settings prevent other users including root from seeing it by default. root should be able to see it as in readonly virsh -r list You can either run the command on hypervisor like this alias alias virsh='virsh -c qemu:///system?authfile=/etc/ovirt-hosted-engine/virsh_auth.conf' or you can lookup the default vdsm@ovirt password online and then login with those credentials and see it. #root account on 'oVirt node' hosts can't connect to ovirt's details #login as vdsm@ovirt instead # # virsh -c qemu:///system # user: vdsm@ovirt # pass: shibboleth On Mon, Jun 21, 2021 at 1:20 PM tommy <sz_cuitao@163.com> wrote:
The error log is :
VDSM olvms3 command GetVmsNamesFromExternalProviderVDS failed: Cannot recv data: Host key verification failed.: Connection reset by peer
But if I use the virsh, it can connect.
[root@olvms1 ~]# virsh -c qemu+ssh://root@192.168.10.175/system
root@192.168.10.175's password:
Welcome to virsh, the virtualization interactive terminal.
Type: 'help' for help with commands
'quit' to quit
virsh #
virsh #
virsh # list
Id Name State
--------------------
virsh #
virsh #
virsh # list --all
Id Name State
------------------------
- 1.vm1 shut off
virsh #
Why ??
_______________________________________________ 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/SLSQVFOWWGX44P...
participants (4)
-
Edward Berger
-
Ilya Fedotov
-
Strahil Nikolov
-
tommy