Hi,
On Thu, 11 Aug 2016 14:14:24 +0530
Anantha Raghava <raghav(a)exzatechconsulting.com> wrote:
Hi,
Tested this with different combinations:
a. from VDSM host, both "ssh root(a)192.168.1.40" and "sudo -u vdsm ssh
root(a)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