Hi Tomáš,
virsh list --all works locally and results in list of all VMs.
virsh -c xen+ssh://root@192.168.1.40 results in two errors:
error: failed to connect to hypervisor
error: End of file while reading data: : Input/output error
--
Thanks & Regards,
Anantha Raghava
On Thursday 11 August 2016 04:11 PM, Tomáš Golembiovský wrote:
Hi,
On Thu, 11 Aug 2016 14:14:24 +0530
Anantha Raghava <rag...@exzatechconsulting.com> wrote:
Hi,
Tested this with different combinations:
a. from VDSM host, both "ssh root@192.168.1.40" and "sudo -u vdsm ssh
root@192.168.1.40" 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://root@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' : 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://root@192.168.1.40'
Best regards,
Tomas
_______________________________________________
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users