<Dhaval_Shah1@dell.com>
2015-Apr-02 10:04 UTC
[libvirt-users] [Libvirt] [virsh] Transport Error during enumeration while connecting libvirt to Hyper-V Server
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)
using gdb I came to know that from the function "hypervEnumAndPull()"
it is calling "wsmc_action_enumerate()"
and we are verifying the response using "hyperyVerifyResponse" and
from there it fails and cleanup is being called.
Code :
response = wsmc_action_enumerate(priv->client, root, options, filter);
if (hyperyVerifyResponse(priv->client, response, "enumeration")
< 0) {
goto cleanup;
}
I have correctly done the settings on my hyper-v Server using below commands:
winrm set winrm/config/service/auth @{Basic="true"}
winrm set winrm/config/service @{AllowUnencrypted="true"}
Does anyone knows what could be wrong or I am missing something or can anyone
help to solve this issue.
Thanks & Regards,
Dhaval Shah
<Dhaval_Shah1@dell.com>
2015-Apr-07 07:00 UTC
Re: [libvirt-users] [Libvirt] [virsh] Transport Error during enumeration while connecting libvirt to Hyper-V Server
Dell Customer Communication
Hi All,
Any update or any input on this?
Thanks & Regards,
Dhaval Shah
From: libvirt-users-bounces@redhat.com [mailto:libvirt-users-bounces@redhat.com]
On Behalf Of Shah1, Dhaval
Sent: Thursday, April 02, 2015 3:35 PM
To: libvirt-users@redhat.com
Subject: [libvirt-users] [Libvirt] [virsh] Transport Error during enumeration
while connecting libvirt to Hyper-V Server
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)
using gdb I came to know that from the function "hypervEnumAndPull()"
it is calling "wsmc_action_enumerate()"
and we are verifying the response using "hyperyVerifyResponse" and
from there it fails and cleanup is being called.
Code :
response = wsmc_action_enumerate(priv->client, root, options, filter);
if (hyperyVerifyResponse(priv->client, response, "enumeration")
< 0) {
goto cleanup;
}
I have correctly done the settings on my hyper-v Server using below commands:
winrm set winrm/config/service/auth @{Basic="true"}
winrm set winrm/config/service @{AllowUnencrypted="true"}
Does anyone knows what could be wrong or I am missing something or can anyone
help to solve this issue.
Thanks & Regards,
Dhaval Shah
Matthias Bolte
2015-Apr-07 09:17 UTC
Re: [libvirt-users] [Libvirt] [virsh] Transport Error during enumeration while connecting libvirt to Hyper-V Server
2015-04-02 12:04 GMT+02:00 <Dhaval_Shah1@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
<Dhaval_Shah1@dell.com>
2015-Apr-07 09:27 UTC
Re: [libvirt-users] [Libvirt] [virsh] Transport Error during enumeration while connecting libvirt to Hyper-V Server
Hi Matthias, Thanks for your response. I am using below versions. Openwsman : 2.3.6-13.el7 Libcurl : 7.29.0-19.el7 Thanks & Regards, Dhaval Shah -----Original Message----- From: Matthias Bolte [mailto:matthias.bolte@googlemail.com] Sent: Tuesday, April 07, 2015 2:47 PM To: Shah1, Dhaval Cc: libvirt mail-list Subject: Re: [libvirt-users] [Libvirt] [virsh] Transport Error during enumeration while connecting libvirt to Hyper-V Server 2015-04-02 12:04 GMT+02:00 :> 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
Reasonably Related Threads
- Re: [Libvirt] [virsh] Transport Error during enumeration while connecting libvirt to Hyper-V Server
- Trouble Connecting Windows 8.1 RSAT to Samba Domain
- Trouble Connecting Windows 8.1 RSAT to Samba Domain
- libvirt 1.3.3 and Hyper-V 2012
- Re: [PATCH FOR DISCUSSION ONLY 0/2] v2v: Copy static IP address information over for Windows guests (RHBZ#1626503).