[ovirt-users] Re: Why cannot connect to KVM Libvirtd using oVirt ??

2021-06-21 Thread Edward Berger
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  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   NameState
>
> 
>
> -1.vm1   shut off
>
>
>
> virsh #
>
>
>
>
>
> Why ??
>
>
>
>
>
>
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@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/
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@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/N2SB4WKO6BNWGG3HUXEJKCRARWRWMAKA/


[ovirt-users] Re: Why cannot connect to KVM Libvirtd using oVirt ??

2021-06-21 Thread Strahil Nikolov via Users
 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 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-le...@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/
  
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@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/UADOIXSKQ4OHBZLLGY5D5HKMLS7JQKL3/


[ovirt-users] Re: Why cannot connect to KVM Libvirtd using oVirt ??

2021-06-21 Thread Ilya Fedotov
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 :

> 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   NameState
>
> 
>
> -1.vm1   shut off
>
>
>
> virsh #
>
>
>
>
>
> Why ??
>
>
>
>
>
>
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@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/
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@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/BIMSKXBOMHW65XIPZ3TT2XHJHHE4TGPV/