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/service
Service
ROOTSDDL = <long string>
MaxConnectionOperations = 4294967295
MaxConnectionOperationsPerUser = 1500
MaxConnectionTimeoutms = 240000
MaxConnections = 300
MaxPacketRetrievalTimeSeconds = 120
AllowUnencrypted = true
Auth
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