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

[libvirt] 答复: hyperv connection

Dear Matthias Bolte

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

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 googlemail com] 
发送时间: 2012年1月5日 21:30
收件人: Andy Li
抄送: libvir-list redhat com
主题: 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
> always reply the follow error
> virsh # connect hyperv://
> Enter username for [administrator]:
> Enter administrator's password for
> 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

Try this instead

  virsh -c hyperv://

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

Matthias Bolte

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