[libvirt] [hyperv]: Connection failure

Ata Bohra ata.husain at hotmail.com
Thu Feb 14 00:15:53 UTC 2013


Hi Everyone,  I installed a HyperV server and trying to connect to it using libvirt. As suggested by libvirt driver wiki (http://libvirt.org/drvhyperv.html), I've enabled Basic authentication on the server (and also enabled HTTP connection request for debugging purpose). Even after all this configuration, on connection I get error as:   ---------------Enter Administrator's password for 10.y.y.y: xxxxxx
2013-02-14 00:02:25.122+0000: 6825: info : libvirt version: 1.0.2
2013-02-14 00:02:25.122+0000: 6825: error : hypervDebugHandler:1444 : openwsman error: NULL response
libvir: Hyper-V Driver error : internal error Transport error during enumeration: Could not connect (7)
Failed to open connection
libvir:  error : invalid connection pointer in virConnectGetHostname
Host name: (null)
libvir:  error : invalid connection pointer in virConnectClose ------------------------------ Hyper-V server configuration looks like:xxx> winrm get winrm/config/serviceServiceROOTSDDL = <long string>MaxConnectionOperations = 4294967295MaxConnectionOperationsPerUser = 1500MaxConnectionTimeoutms = 240000MaxConnections = 300MaxPacketRetrievalTimeSeconds = 120AllowUnencrypted = trueAuth   Basic = true  ........AllowRemoteAccess = true ------------------------------ I'm have libvirt on ubuntu (3.2.0-37-generic) and openwsman is 2.2.3-oubuntu4 version.  Also, I'm using "Administrator" credentials to connect to HyperV server. Please suggest what is missing from my setup. Thanks!Ata 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20130213/c7ae5832/attachment-0001.htm>


More information about the libvir-list mailing list