答复: hyperv connection

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

 



Dear Matthias Bolte

It works, amazing. It hard to descript my road map on libvirt, but thank you
very much.

Thanks,
Andy Li   MFG Software Developer
Department of Storage Products R&D, SCS
Universal Scientific Industrial (Shanghai) Co., Ltd
421 Lishizhen Rd, Pudong New Area, Shanghai,P.R. China, 201203
Tel : +86 -21-5896 6996 ext. 81453
Fax : +86 -21-5080 4268
 
-----邮件原件-----
发件人: Matthias Bolte [mailto:matthias.bolte@xxxxxxxxxxxxxx] 
发送时间: 2012年1月5日 21:30
收件人: Andy Li
抄送: libvir-list@xxxxxxxxxx
主题: Re:  hyperv connection

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]