[libvirt] error: authentication failed: TRANSPORT_FAULT

Hello Getting below error while connecting with XenServer using virsh. I have builded libvirt version 0.9.3 (--with-xenapi) from tar file and installed on Xen 5.6 FP1. # virsh -c xenapi://xxx.xxx.xxx.xxx/ list Enter username for xxx.xxx.xxx.xxx: root Enter root's password for xxx.xxx.xxx.xxx: error: authentication failed: TRANSPORT_FAULT error: failed to connect to the hypervisor Any idea about the cause of this issue? Last threads which i can see as below and i can see these patch already present in 0.9.3. https://www.redhat.com/archives/libvirt-users/2011-July/msg00064.html http://permalink.gmane.org/gmane.comp.emulators.libvirt/39900 Thanks Arun

On 08/08/2012 11:25 AM, Arun Sharma wrote:
Hello
Getting below error while connecting with XenServer using virsh. I have builded libvirt version 0.9.3 (--with-xenapi) from tar file and installed on Xen 5.6 FP1.
If you're going to build your own libvirt anyway, can you try again with 0.9.13 or even libvirt.git instead of 0.9.3? It would be nice to know if the problem has been fixed in the meantime. -- Eric Blake eblake@redhat.com +1-919-301-3266 Libvirt virtualization library http://libvirt.org

Trying to build 0.9.13 on XenServer6.0. Stucked with below things 1. I could not manage to solve below dependency problem. So edited libvirt.spec to by pass this. # rpmbuild -bb libvirt.spec error: Failed build dependencies: device-mapper-devel is needed by libvirt-0.9.13-1.i386 libwsman-devel >= 2.2.3 is needed by libvirt-0.9.13-1.i386 libblkid-devel >= 2.17 is needed by libvirt-0.9.13-1.i386 2. "make check" is bypassed since below checks where failing. TEST: viruritest ...........!....!. 18 FAIL FAIL: viruritest TEST: interfaceschematest ..!.!!!!.......... 18 FAILED FAIL: interfaceschematest TEST: nwfilterschematest ......!..........................!...... 40 . 41 FAILED FAIL: nwfilterschematest 3. rpmbuild -bb libvirt.spec RPM build errors: File not found: /var/tmp/libvirt-0.9.13-1-root/etc/rc.d/init.d/libvirtd File must begin with "/": rm File must begin with "/": -f File must begin with "/": $RPM_BUILD_ROOT/etc/sysctl.d/libvirtd File not found: /var/tmp/libvirt-0.9.13-1-root/var/log/libvirt/libxl File not found: /var/tmp/libvirt-0.9.13-1-root/etc/libvirt/lxc.conf File not found: /var/tmp/libvirt-0.9.13-1-root/var/run/libvirt/lxc File not found: /var/tmp/libvirt-0.9.13-1-root/var/lib/libvirt/lxc File not found: /var/tmp/libvirt-0.9.13-1-root/var/run/libvirt/libxl File not found: /var/tmp/libvirt-0.9.13-1-root/var/lib/libvirt/libxl File not found: /var/tmp/libvirt-0.9.13-1-root/usr/share/augeas/lenses/libvirtd_lxc.aug File not found: /var/tmp/libvirt-0.9.13-1-root/usr/share/augeas/lenses/tests/test_libvirtd_lxc.aug File not found: /var/tmp/libvirt-0.9.13-1-root/usr/libexec/libvirt_lxc File not found: /var/tmp/libvirt-0.9.13-1-root/usr/libexec/libvirt_parthelper File not found: /var/tmp/libvirt-0.9.13-1-root/usr/lib/libvirt/connection-driver/libvirt_driver_lxc.so File not found: /var/tmp/libvirt-0.9.13-1-root/usr/lib/libvirt/connection-driver/libvirt_driver_libxl.so [root@localhost SPECS]# cat /proc/version Linux version 2.6.32.12-0.7.1.xs5.6.100.307.170586xen (geeko@buildhost) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-48)) #1 SMP Tue Nov 30 09:55:20 EST 2010 Any idea ? Arun On Thu, Aug 9, 2012 at 12:28 AM, Eric Blake <eblake@redhat.com> wrote:
On 08/08/2012 11:25 AM, Arun Sharma wrote:
Hello
Getting below error while connecting with XenServer using virsh. I have builded libvirt version 0.9.3 (--with-xenapi) from tar file and installed on Xen 5.6 FP1.
If you're going to build your own libvirt anyway, can you try again with 0.9.13 or even libvirt.git instead of 0.9.3? It would be nice to know if the problem has been fixed in the meantime.
-- Eric Blake eblake@redhat.com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
-- Regards Arun Sharma 09987668884
participants (2)
-
Arun Sharma
-
Eric Blake