Hi,

On Thu, 11 Aug 2016 14:14:24 +0530
Anantha Raghava <[email protected]> wrote:

> Hi,
> 
> Tested this with different combinations:
> 
> a. from VDSM host, both "ssh [email protected]" and "sudo -u vdsm ssh 
> [email protected]" commands are logging in without asking for password 
> and I can run all xe commands without any glitch without modifications 
> to default xen server firewall or SELinux rules.

Could you please verify that running 'virsh list --all' localy works too?


> 
> b. With firewall enabled and SELinux set to enforcing or permissive or 
> disabled, I run "virsh -c ssh://[email protected]". And the command is 
> resulting in two errors:
> 
>      error: filed to connect to the hypervisor
>      error: unable to connect to the server at '192.168.1.40:16514' : No 
> route to the host.
> 
> c. With firewall disabled and SELinux set to Enforcing or permissive or 
> disabled, I run "virsh -c ssh://192.168.1.40". And the command is 
> resulting in two errors
> 
> error: filed to connect to the hypervisor
>      error: unable to connect to the server at '192.168.1.40:16514' : 
> Connection refused
> 

That is because your libvirt URI is wrong. It has to be 'xen+ssh://...'
not 'ssh://...'.

Does it work if you try: virsh -c 'xen+ssh://[email protected]' 

Best regards,

    Tomas
_______________________________________________
Users mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/users

Reply via email to