<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'><font size="3" face="Times New Roman">I struggled with below issue for a while and playing with multiple tools avaialble on web to check if wsman was working, I found that issue was with libopenwsman version available for ubuntu. I switched the testbed to SL 6.1, installed libvirt on it and providing necessary openwsman libraries. I can perform basic set of operations. </font><BR><font size="3" face="Times New Roman"></font> <BR><font face="Times New Roman">-A</font><BR><p><hr id="stopSpelling"><BR></p><p><hr>From: ata.husain@hotmail.com<br>To: libvir-list@redhat.com<br>Date: Wed, 13 Feb 2013 16:15:53 -0800<br>Subject: [libvirt] [hyperv]: Connection failure<br><br>

<style><BR></p><!--
.ExternalClass .ecxhmmessage P {
padding:0px;
}

.ExternalClass body.ecxhmmessage {
font-size:12pt;
font-family:Calibri;
}

--></style><BR><div>
<div dir="ltr"><font size="3" face="Times New Roman">Hi Everyone, </font><br><font size="3" face="Times New Roman"></font> <br><font size="3" face="Times New Roman">I installed a HyperV server and trying to connect to it using libvirt. As suggested by libvirt driver wiki (<a href="http://libvirt.org/drvhyperv.html" target="_blank">http://libvirt.org/drvhyperv.html</a>), 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:  <br> <br>---------------<br id="ecxFontBreak"><br>Enter Administrator's password for 10.y.y.y: xxxxxx<br>2013-02-14 00:02:25.122+0000: 6825: info : libvirt version: 1.0.2<br>2013-02-14 00:02:25.122+0000: 6825: error : hypervDebugHandler:1444 : openwsman error: NULL response<br>libvir: Hyper-V Driver error : internal error Transport error during enumeration: Could not connect (7)<br>Failed to open connection<br>libvir:  error : invalid connection pointer in virConnectGetHostname<br>Host name: (null)<br>libvir:  error : invalid connection pointer in virConnectClose<br> <br>------------------------------<br> <br>Hyper-V server configuration looks like:<br>xxx> winrm get winrm/config/service<br>Service<br>ROOTSDDL = <long string><br>MaxConnectionOperations = 4294967295<br>MaxConnectionOperationsPerUser = 1500<br>MaxConnectionTimeoutms = 240000<br>MaxConnections = 300<br>MaxPacketRetrievalTimeSeconds = 120<br>AllowUnencrypted = true<br>Auth<br>   Basic = true<br>  .....<br>.<br>.<br>.<br>AllowRemoteAccess = true<br> <br>------------------------------<br> <br>I'm have libvirt on ubuntu (3.2.0-37-generic) and openwsman is 2.2.3-oubuntu4 version. <br> <br>Also, I'm using "Administrator" credentials to connect to HyperV server.<br> <br>Please suggest what is missing from my setup. </font><br>Thanks!<br>Ata<br>                                           </div>
<br>--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list</div>                                           </div></body>
</html>