<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:"\@SimSun";
        panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal>Hi Matthias,<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Thanks for your response. I am using below versions.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Openwsman : 2.3.6-13.el7<o:p></o:p></p><p class=MsoNormal>Libcurl              : 7.29.0-19.el7<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Thanks & Regards,<o:p></o:p></p><p class=MsoNormal>Dhaval Shah<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><p>-----Original Message-----<br>From: Matthias Bolte [mailto:matthias.bolte@googlemail.com]<br>Sent: Tuesday, April 07, 2015 2:47 PM<br>To: Shah1, Dhaval<br>Cc: libvirt mail-list<br>Subject: Re: [libvirt-users] [Libvirt] [virsh] Transport Error during enumeration while connecting libvirt to Hyper-V Server<br><br>2015-04-02 12:04 GMT+02:00 :<br>> Hi all,<br>><br>><br>><br>> I am using libvirt 1.1.1. I can successfully able to connect with Qemu <br>> driver but when I am trying to connect to the windows Hyper-V using <br>> virsh, I am getting failure.<br>><br>><br>><br>> [root@localhost hyperv]# virsh version<br>><br>> Compiled against library: libvirt 1.1.1<br>><br>> Using library: libvirt 1.1.1<br>><br>> Using API: QEMU 1.1.1<br>><br>> Running hypervisor: QEMU 1.5.3<br>><br>><br>><br>> When I am doing virsh to connect to hype-V I am getting failure that<br>><br>><br>><br>><br>><br>> [root@localhost hyperv]# virsh -c hyperv://172.16.67.192<br>><br>> Enter username for 11.16.67.92 [administrator]: administrator<br>><br>> Enter administrator's password for 11.16.67.92:<br>><br>> error: failed to connect to the hypervisor<br>><br>> error: internal error: Transport error during enumeration: Transport <br>> initialization failed (2)<br><br>libvirt uses openwsman to talk to Hyper-V. openwsman internally uses libcurl.<br><br>This error means that openwsman reported WS_LASTERR_FAILED_INIT. This error code means that the libcurl call curl_easy_init() failed.<br><br>This seems to me like a openwsman/libcurl issue, not related at all to the actual Hyper-V server you try to connect to.<br><br>Unfortunately, I'm not sure how to debug this problem.<br><br>What openwsman and libcurl version are installed?<br><br>--<br>Matthias Bolte<br>http://photron.blogspot.com<o:p></o:p></p></div></body></html>