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/SLSQVFOWWGX44PZPIFB4VZKSBW76FOQP/