Re: hyperv connection

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

 



2012/1/5 Andy Li <andy_li@xxxxxxxxx>:
> 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

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]