Issue in WinRM on Linux

Nishit Sharma sharmafrequent at gmail.com
Wed Apr 6 14:02:30 UTC 2022


Hi All,

I am trying to create and launch a *windows10 guest VM* using
libvirt-vagrant over Linux/KVM.
The Windows box I am using is "*peru/windows-10-enterprise-x64-eval*". The
Windows guest is created and allocated IP in 192.168.xxx.xxx range. Did
WinRM configurations on Windows Guest OS. On Linux messages "*DEBUG
winrmshell: [WinRM] opening remote shell on http://IP:5985/wsman
<http://IP:5985/wsman>*" were seen around 20 times ( default winrm tries
20) and after that VM was disconnected with message

Error: An error of type WinRM::WinRMHTTPTransportError happened, message is
Unable to parse authorization header. Headers: {"Mime-Version"=>"1.0",
"Date"=>"Wed, 06 Apr 2022 13:40:44 GMT",
"Content-Type"=>"text/html;charset=utf-8", "Content-Length"=>"277",
"X-iboss-Error"=>"ERR_CONNECT_FAIL 110", "X-Cache"=>"MISS from
bgproxy06-int.prxy.ice.xxx.com", "Connection"=>"keep-alive"}
Body: <!doctype html>
<html>
<head>
<meta http-equiv="refresh" content="0;url=
http://7rx80271.ibosscloud.com/ibreports/ibp/bp.html?bu=http://10.xxx.xxx.xxx:5985/wsman&bc=Failed%20to%20retrieve%20requested%20URL.&ip=10.xxx.xxx.xx&er=ERR_CONNECT_FAIL
"/>
</head>
<body>
</body>
</html>
 (503).

Error: Exiting with code 1

I tried accessing WinRM service on Windows guest using
http://localhost:5985/wsman but got an error *HTTP 405 page is not working
currently* but when I tried http://localhost:5985/WS-Man result was *HTTP
Error 404. The requested resource is not found.*

*Question is:*
*1. Do libvirt support winrm to connect with Windows guest?*
*2. The request to open a remote shell should be http://IP:5985/WS-Man
<http://IP:5985/WS-Man> rather than http://IP:5985/wsman
<http://IP:5985/wsman>?*

*Waiting for a swift reply.*

*Regards*
*Nishit*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20220406/f16927a0/attachment.htm>


More information about the libvir-list mailing list