After deploying azure infrastructure successfully though the terraform example (Linux master and Windows Worker) as per the recent PR by Steven Richard, the Launchpad yaml info is successfully created. However when you run launchpad apply to deploy MCR and MKE the deployment fails with the following error:
INFO [winrm] 20.108.20.83:5986: mirantis container runtime not installed
ERRO [winrm] 20.108.20.83:5986: failed to resolve internal address: command failed (received output to stderr on windows)
INFO See /Users/jas.atwal/.mirantis-launchpad/cluster/jas-mke-cluster/apply.log for more logs
FATA failed on 1 hosts:
[winrm] 20.108.20.83:5986: [winrm] 20.108.20.83:5986: failed to resolve internal address: command failed (received output to stderr on windows)
The apply.log states this:
time="16 Jul 21 08:10 BST" level=debug msg="[winrm] 20.108.20.83:5986: executing powershell.exe -NonInteractive -ExecutionPolicy Bypass -NoProfile -EncodedCommand JABQAHIAbwBnAHIAZQBzAHMAUAByAGUAZgBlAHIAZQBuAGMAZQA9ACcAUwBpAGwAZQBuAHQAbAB5AEMAbwBuAHQAaQBuAHUAZQAnADsAIAAoAEcAZQB0AC0ATgBlAHQASQBQAEEAZABkAHIAZQBzAHMAIAAtAEEAZABkAHIAZQBzAHMARgBhAG0AaQBsAHkAIABJAFAAdgA0ACAALQBJAG4AdABlAHIAZgBhAGMAZQBBAGwAaQBhAHMAIAAnAEUAdABoAGUAcgBuAGUAdAAnACkALgBJAFAAQQBkAGQAcgBlAHMAcwA="
time="16 Jul 21 08:10 BST" level=debug msg="[winrm] 20.108.20.83:5986: (stderr) #< CLIXML"
time="16 Jul 21 08:10 BST" level=debug msg="[winrm] 20.108.20.83:5986: (stderr) <Objs Version=\"1.1.0.1\" xmlns=\"http://schemas.microsoft.com/powershell/2004/04\"><S S=\"Error\">Get-NetIPAddress : No matching MSFT_NetIPAddress objects found by CIM query for instances of the _x000D_x000A<S S=\"Error\">ROOT/StandardCimv2/MSFT_NetIPAddress class on the CIM server: SELECT FROM MSFT_NetIPAddress WHERE ((InterfaceAlias _x000Dx000A_<S S=\"Error\">LIKE 'Ethernet')) AND ((AddressFamily = 2)). Verify query parameters and retry._x000Dx000A_<S S=\"Error\">At line:1 char:42_x000Dx000A_<S S=\"Error\">+ ... Continue'; (Get-NetIPAddress -AddressFamily IPv4 -InterfaceAlias 'Eth ..._x000Dx000A_<S S=\"Error\">+ ~~~~~~~~~~~~~_x000Dx000A_<S S=\"Error\"> + CategoryInfo : ObjectNotFound: (MSFT_NetIPAddress:String) [Get-NetIPAddress], CimJobException_x000D_x000A<S S=\"Error\"> + FullyQualifiedErrorId : CmdletizationQuery_NotFound,Get-NetIPAddress_x000Dx000A_<S S=\"Error\"> _x000D_x000A"
time="16 Jul 21 08:10 BST" level=trace msg="[winrm] 20.108.20.83:5986: trying vEthernet (Ethernet) as a private interface alias"
time="16 Jul 21 08:10 BST" level=debug msg="[winrm] 20.108.20.83:5986: executing powershell.exe -NonInteractive -ExecutionPolicy Bypass -NoProfile -EncodedCommand JABQAHIAbwBnAHIAZQBzAHMAUAByAGUAZgBlAHIAZQBuAGMAZQA9ACcAUwBpAGwAZQBuAHQAbAB5AEMAbwBuAHQAaQBuAHUAZQAnADsAIAAoAEcAZQB0AC0ATgBlAHQASQBQAEEAZABkAHIAZQBzAHMAIAAtAEEAZABkAHIAZQBzAHMARgBhAG0AaQBsAHkAIABJAFAAdgA0ACAALQBJAG4AdABlAHIAZgBhAGMAZQBBAGwAaQBhAHMAIAAnAHYARQB0AGgAZQByAG4AZQB0ACAAKABFAHQAaABlAHIAbgBlAHQAKQAnACkALgBJAFAAQQBkAGQAcgBlAHMAcwA="
time="16 Jul 21 08:11 BST" level=debug msg="[winrm] 20.108.20.83:5986: (stderr) #< CLIXML"
time="16 Jul 21 08:11 BST" level=debug msg="[winrm] 20.108.20.83:5986: (stderr) <Objs Version=\"1.1.0.1\" xmlns=\"http://schemas.microsoft.com/powershell/2004/04\"><S S=\"Error\">Get-NetIPAddress : No matching MSFT_NetIPAddress objects found by CIM query for instances of the _x000D_x000A<S S=\"Error\">ROOT/StandardCimv2/MSFT_NetIPAddress class on the CIM server: SELECT FROM MSFT_NetIPAddress WHERE ((InterfaceAlias _x000Dx000A_<S S=\"Error\">LIKE 'vEthernet (Ethernet)')) AND ((AddressFamily = 2)). Verify query parameters and retry._x000Dx000A_<S S=\"Error\">At line:1 char:42_x000Dx000A_<S S=\"Error\">+ ... Continue'; (Get-NetIPAddress -AddressFamily IPv4 -InterfaceAlias 'vEt ..._x000Dx000A_<S S=\"Error\">+ ~~~~~~~~~~~~~_x000Dx000A_<S S=\"Error\"> + CategoryInfo : ObjectNotFound: (MSFT_NetIPAddress:String) [Get-NetIPAddress], CimJobException_x000D_x000A<S S=\"Error\"> + FullyQualifiedErrorId : CmdletizationQuery_NotFound,Get-NetIPAddress_x000Dx000A_<S S=\"Error\"> _x000D_x000A"
time="16 Jul 21 08:11 BST" level=error msg="[winrm] 20.108.20.83:5986: failed to resolve internal address: command failed (received output to stderr on windows)"
time="16 Jul 21 08:11 BST" level=debug msg="phase 'Gather Facts' took 0s"
time="16 Jul 21 08:11 BST" level=debug msg="tracking analytics event 'Gather Facts'"
time="16 Jul 21 08:11 BST" level=debug msg="tracking analytics event 'Detect host operating systems'"
time="16 Jul 21 08:11 BST" level=debug msg="tracking analytics event 'Check For Upgrades'"
time="16 Jul 21 08:11 BST" level=debug msg="tracking analytics event 'Cluster Apply Failed'"
time="16 Jul 21 08:11 BST" level=info msg="See /Users/jas.atwal/.mirantis-launchpad/cluster/jas-mke-cluster/apply.log for more logs "
time="16 Jul 21 08:11 BST" level=fatal msg="failed on 1 hosts:\n - [winrm] 20.108.20.83:5986: [winrm] 20.108.20.83:5986: failed to resolve internal address: command failed (received output to stderr on windows)"
Steps to reproduce:
Successfully deploy a master node and a windows worker node using the azure terraform example based on the PR request by Steven Richards
Create the corresponding launchpad.yml file and run launchpad apply
Notice the above error, which is a blocker and stopping the successful deployment of MKE on Azure.
After deploying azure infrastructure successfully though the terraform example (Linux master and Windows Worker) as per the recent PR by Steven Richard, the Launchpad yaml info is successfully created. However when you run launchpad apply to deploy MCR and MKE the deployment fails with the following error:
INFO [winrm] 20.108.20.83:5986: mirantis container runtime not installed ERRO [winrm] 20.108.20.83:5986: failed to resolve internal address: command failed (received output to stderr on windows) INFO See /Users/jas.atwal/.mirantis-launchpad/cluster/jas-mke-cluster/apply.log for more logs
FATA failed on 1 hosts:
The apply.log states this:
time="16 Jul 21 08:10 BST" level=debug msg="[winrm] 20.108.20.83:5986: executing
powershell.exe -NonInteractive -ExecutionPolicy Bypass -NoProfile -EncodedCommand JABQAHIAbwBnAHIAZQBzAHMAUAByAGUAZgBlAHIAZQBuAGMAZQA9ACcAUwBpAGwAZQBuAHQAbAB5AEMAbwBuAHQAaQBuAHUAZQAnADsAIAAoAEcAZQB0AC0ATgBlAHQASQBQAEEAZABkAHIAZQBzAHMAIAAtAEEAZABkAHIAZQBzAHMARgBhAG0AaQBsAHkAIABJAFAAdgA0ACAALQBJAG4AdABlAHIAZgBhAGMAZQBBAGwAaQBhAHMAIAAnAEUAdABoAGUAcgBuAGUAdAAnACkALgBJAFAAQQBkAGQAcgBlAHMAcwA=
" time="16 Jul 21 08:10 BST" level=debug msg="[winrm] 20.108.20.83:5986: (stderr) #< CLIXML" time="16 Jul 21 08:10 BST" level=debug msg="[winrm] 20.108.20.83:5986: (stderr) <Objs Version=\"1.1.0.1\" xmlns=\"http://schemas.microsoft.com/powershell/2004/04\"><S S=\"Error\">Get-NetIPAddress : No matching MSFT_NetIPAddress objects found by CIM query for instances of the _x000D_x000A<S S=\"Error\">ROOT/StandardCimv2/MSFT_NetIPAddress class on the CIM server: SELECT FROM MSFT_NetIPAddress WHERE ((InterfaceAlias _x000Dx000A_<S S=\"Error\">LIKE 'Ethernet')) AND ((AddressFamily = 2)). Verify query parameters and retry._x000Dx000A_<S S=\"Error\">At line:1 char:42_x000Dx000A_<S S=\"Error\">+ ... Continue'; (Get-NetIPAddress -AddressFamily IPv4 -InterfaceAlias 'Eth ..._x000Dx000A_<S S=\"Error\">+~~~~~~~~~~~~~_x000Dx000A_<S S=\"Error\"> + CategoryInfo : ObjectNotFound: (MSFT_NetIPAddress:String) [Get-NetIPAddress], CimJobException_x000D_x000A<S S=\"Error\"> + FullyQualifiedErrorId : CmdletizationQuery_NotFound,Get-NetIPAddress_x000Dx000A_<S S=\"Error\"> _x000D_x000A" time="16 Jul 21 08:10 BST" level=trace msg="[winrm] 20.108.20.83:5986: trying vEthernet (Ethernet) as a private interface alias" time="16 Jul 21 08:10 BST" level=debug msg="[winrm] 20.108.20.83:5986: executingpowershell.exe -NonInteractive -ExecutionPolicy Bypass -NoProfile -EncodedCommand JABQAHIAbwBnAHIAZQBzAHMAUAByAGUAZgBlAHIAZQBuAGMAZQA9ACcAUwBpAGwAZQBuAHQAbAB5AEMAbwBuAHQAaQBuAHUAZQAnADsAIAAoAEcAZQB0AC0ATgBlAHQASQBQAEEAZABkAHIAZQBzAHMAIAAtAEEAZABkAHIAZQBzAHMARgBhAG0AaQBsAHkAIABJAFAAdgA0ACAALQBJAG4AdABlAHIAZgBhAGMAZQBBAGwAaQBhAHMAIAAnAHYARQB0AGgAZQByAG4AZQB0ACAAKABFAHQAaABlAHIAbgBlAHQAKQAnACkALgBJAFAAQQBkAGQAcgBlAHMAcwA=
" time="16 Jul 21 08:11 BST" level=debug msg="[winrm] 20.108.20.83:5986: (stderr) #< CLIXML" time="16 Jul 21 08:11 BST" level=debug msg="[winrm] 20.108.20.83:5986: (stderr) <Objs Version=\"1.1.0.1\" xmlns=\"http://schemas.microsoft.com/powershell/2004/04\"><S S=\"Error\">Get-NetIPAddress : No matching MSFT_NetIPAddress objects found by CIM query for instances of the _x000D_x000A<S S=\"Error\">ROOT/StandardCimv2/MSFT_NetIPAddress class on the CIM server: SELECT FROM MSFT_NetIPAddress WHERE ((InterfaceAlias _x000Dx000A_<S S=\"Error\">LIKE 'vEthernet (Ethernet)')) AND ((AddressFamily = 2)). Verify query parameters and retry._x000Dx000A_<S S=\"Error\">At line:1 char:42_x000Dx000A_<S S=\"Error\">+ ... Continue'; (Get-NetIPAddress -AddressFamily IPv4 -InterfaceAlias 'vEt ..._x000Dx000A_<S S=\"Error\">+~~~~~~~~~~~~~_x000Dx000A_<S S=\"Error\"> + CategoryInfo : ObjectNotFound: (MSFT_NetIPAddress:String) [Get-NetIPAddress], CimJobException_x000D_x000A<S S=\"Error\"> + FullyQualifiedErrorId : CmdletizationQuery_NotFound,Get-NetIPAddress_x000Dx000A_<S S=\"Error\"> _x000D_x000A" time="16 Jul 21 08:11 BST" level=error msg="[winrm] 20.108.20.83:5986: failed to resolve internal address: command failed (received output to stderr on windows)" time="16 Jul 21 08:11 BST" level=debug msg="phase 'Gather Facts' took 0s" time="16 Jul 21 08:11 BST" level=debug msg="tracking analytics event 'Gather Facts'" time="16 Jul 21 08:11 BST" level=debug msg="tracking analytics event 'Detect host operating systems'" time="16 Jul 21 08:11 BST" level=debug msg="tracking analytics event 'Check For Upgrades'" time="16 Jul 21 08:11 BST" level=debug msg="tracking analytics event 'Cluster Apply Failed'" time="16 Jul 21 08:11 BST" level=info msg="See /Users/jas.atwal/.mirantis-launchpad/cluster/jas-mke-cluster/apply.log for more logs " time="16 Jul 21 08:11 BST" level=fatal msg="failed on 1 hosts:\n - [winrm] 20.108.20.83:5986: [winrm] 20.108.20.83:5986: failed to resolve internal address: command failed (received output to stderr on windows)"Steps to reproduce:
Versions: Terraform v1.0.2
terraform providers
Providers required by configuration:
Launchpad
MCR
MKE
Could this be related to this kubernetes issue?