2015-04-02 12:04 GMT+02:00 <Dhaval_Shah1(a)dell.com>:
Hi all,
I am using libvirt 1.1.1. I can successfully able to connect with Qemu
driver but when I am trying to connect to the windows Hyper-V using virsh, I
am getting failure.
[root@localhost hyperv]# virsh version
Compiled against library: libvirt 1.1.1
Using library: libvirt 1.1.1
Using API: QEMU 1.1.1
Running hypervisor: QEMU 1.5.3
When I am doing virsh to connect to hype-V I am getting failure that
[root@localhost hyperv]# virsh -c hyperv://172.16.67.192
Enter username for 11.16.67.92 [administrator]: administrator
Enter administrator's password for 11.16.67.92:
error: failed to connect to the hypervisor
error: internal error: Transport error during enumeration: Transport
initialization failed (2)
libvirt uses openwsman to talk to Hyper-V. openwsman internally uses libcurl.
This error means that openwsman reported WS_LASTERR_FAILED_INIT. This
error code means that the libcurl call curl_easy_init() failed.
This seems to me like a openwsman/libcurl issue, not related at all to
the actual Hyper-V server you try to connect to.
Unfortunately, I'm not sure how to debug this problem.
What openwsman and libcurl version are installed?
--
Matthias Bolte
http://photron.blogspot.com