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" 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="" href="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">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
Body: <!doctype html>
<html>
<head>
<meta http-equiv="refresh" content="0;url="" href="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">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 rather than http://IP:5985/wsman?
Waiting for a swift reply.
Regards
Nishit