[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] hyperv connection



2012/1/5 Andy Li <andy_li usish com>:
> Dear Sir or Madam:
>
>
>
> I am trying to connect hyper-v with libvirt0.9.8 with hyperv driver, but it
> always reply the follow error
>
>
>
> virsh # connect hyperv://192.168.58.231:5985
>
> Enter username for 192.168.58.231 [administrator]:
>
> Enter administrator's password for 192.168.58.231:
>
> 2012-01-05 14:46:39.999+0000: 27155: info : libvirt version: 0.9.8
>
> 2012-01-05 14:46:39.999+0000: 27155: error : hypervDebugHandler:1308 :
> openwsman error: NULL response
>
> error: Failed to connect to the hypervisor
>
> error: internal error Transport error during enumeration: SSL connection
> error (16)

You explicitly specify the port for unencrypted communication but
leave the transport parameter unspecified. The transport defaults to
HTTPS, so you're actually telling libvirt to open a HTTPS connection
to the HTTP port. This is why you get an error about the SSL
connection.

Try this instead

  virsh -c hyperv://192.168.58.231/?transport=http

This sets the transport to HTTP and the port to 5985.

-- 
Matthias Bolte
http://photron.blogspot.com


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]