Page 1 of 1

HyperV to Proxmox 8.2.2

Posted: Tue Nov 12, 2024 9:49 am
by jp.gruffat
Hello guys, just a quick issue i guess.

Both nodes on the same network, no firewall.

I can ssh from hyperv to proxmox or browse the web interface but when i use the converter to connect to proxmox i get this :

The host name or credentials are wrong! (obviously they are not...)

In the logs :

The log file name: 'logs\V2V_Log-20241112-102836.log' (PID 14812)
11/12 10:28:36.173 3f00 Facility ???INFO: CV2V_ConverterApp::InitInstance: SetDllDirectory: C:\Program Files\StarWind Software\StarWind V2V Converter\lib
11/12 10:28:36.173 3f00 Facility ???INFO: CV2V_ConverterApp::InitInstance: File Version: 9.0.1.554
11/12 10:28:36.173 3f00 Facility ???INFO: CV2V_ConverterApp::InitInstance: Load language IDR_XML_ENGLISH
11/12 10:28:36.173 3f00 Facility ???INFO: CV2V_ConverterApp::InitInstance: Set current language English
11/12 10:28:36.173 3f00 Facility ???INFO: CPS_V2V_Converter::CPS_V2V_Converter: Version MajorVersion 10, MinorVersion 0, BuildNumber 20348
11/12 10:28:36.173 3f00 Facility ???INFO: WrapperHyperV::WrapperHyperV: LoadLibrary C:\Windows\system32\wbem\wmiutils.dll - 11810000
11/12 10:28:36.173 3f00 Facility ???INFO: WrapperHyperV::WrapperHyperV: LoadLibrary C:\Windows\system32\wbem\wmiutils.dll - 11810000
11/12 10:28:41.061 3f00 Facility ???INFO: ICPPage::OnWizardNext: SetActivePage - eHYPERVConnection
11/12 10:28:43.115 3f00 Facility ???INFO: WrapperHyperV::connect: Host - \\localhost\root\virtualization\v2
11/12 10:28:43.146 3f00 Facility ???INFO: WrapperHyperV::init_version: HyperV version: 10.0.20348
11/12 10:28:43.146 3f00 Facility ???INFO: ICPPage::OnWizardNext: SetActivePage - eInputVM
11/12 10:28:46.932 3f00 Facility ???INFO: ICPPage::OnWizardBack: SetActivePage - eHYPERVConnection
11/12 10:28:47.376 3f00 Facility ???INFO: ICPPage::OnWizardBack: SetActivePage - eLocation
11/12 10:28:49.765 3f00 Facility ???INFO: ICPPage::OnWizardNext: SetActivePage - (null)
11/12 10:29:03.545 3f00 Facility ???INFO: Proxmox::WrapperProxmox::WrapperProxmoxImpl::Connect: Connect to Proxmox host
11/12 10:29:03.560 3f00 Facility ???ERROR: Proxmox::WrapperProxmox::WrapperProxmoxImpl::Connect: HTTP response status code: 403
11/12 10:32:48.420 3f00 Facility ???INFO: Proxmox::WrapperProxmox::WrapperProxmoxImpl::Connect: Connect to Proxmox host
11/12 10:32:48.420 3f00 Facility ???ERROR: Proxmox::WrapperProxmox::WrapperProxmoxImpl::Connect: HTTP response status code: 403
11/12 10:35:47.764 3f00 Facility ???INFO: Proxmox::WrapperProxmox::WrapperProxmoxImpl::Connect: Connect to Proxmox host
11/12 10:35:47.764 3f00 Facility ???ERROR: Proxmox::WrapperProxmox::WrapperProxmoxImpl::Connect: HTTP response status code: 403

Any hint on this ?
Thanks in advance
JPG

Re: HyperV to Proxmox 8.2.2

Posted: Tue Nov 12, 2024 9:52 am
by yaroslav (staff)
Can you please run and share output?
Test-NetConnection <proxmox-ip> -Port 403-InformationLevel "Detailed"

Re: HyperV to Proxmox 8.2.2

Posted: Tue Nov 12, 2024 10:01 am
by jp.gruffat
Connection failed but previously 403 is the response code not the port to use, right ?

PS C:\Users\Administrator> Test-NetConnection 10.181.5.67 -Port 403 -InformationLevel "Detailed"
WARNING: TCP connect to (10.181.5.67 : 403) failed


ComputerName : 10.181.5.67
RemoteAddress : 10.181.5.67
RemotePort : 403
NameResolutionResults : 10.181.5.67
CS4HYP1B.workplace.local
MatchingIPsecRules :
NetworkIsolationContext : Private Network
InterfaceAlias : vEthernet (TEAM)
SourceAddress : 10.181.5.66
NetRoute (NextHop) : 0.0.0.0
PingSucceeded : True
PingReplyDetails (RTT) : 0 ms
TcpTestSucceeded : False

Re: HyperV to Proxmox 8.2.2

Posted: Tue Nov 12, 2024 11:39 am
by yaroslav (staff)
Oops, sorry. Yes, you are right. Try 8006 and 22.

Re: HyperV to Proxmox 8.2.2

Posted: Tue Nov 12, 2024 12:17 pm
by jp.gruffat
PS C:\Users\Administrator> Test-NetConnection 10.181.5.67 -Port 8006 -InformationLevel "Detailed"


ComputerName : 10.181.5.67
RemoteAddress : 10.181.5.67
RemotePort : 8006
NameResolutionResults : 10.181.5.67
CS4HYP1B.workplace.local
MatchingIPsecRules :
NetworkIsolationContext : Private Network
InterfaceAlias : vEthernet (TEAM)
SourceAddress : 10.181.5.66
NetRoute (NextHop) : 0.0.0.0
TcpTestSucceeded : True


PS C:\Users\Administrator> Test-NetConnection 10.181.5.67 -Port 22 -InformationLevel "Detailed"


ComputerName : 10.181.5.67
RemoteAddress : 10.181.5.67
RemotePort : 22
NameResolutionResults : 10.181.5.67
CS4HYP1B.workplace.local
MatchingIPsecRules :
NetworkIsolationContext : Private Network
InterfaceAlias : vEthernet (TEAM)
SourceAddress : 10.181.5.66
NetRoute (NextHop) : 0.0.0.0
TcpTestSucceeded : True

Re: HyperV to Proxmox 8.2.2

Posted: Tue Nov 12, 2024 4:25 pm
by yaroslav (staff)
Please tell me more about the conversion scenario:
-Is it P2V or is it V2V conversion?
-Do you convert an individual VM or its disk?
-What is the host OS?