You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 x000D__x000A<S S="Error">LIKE 'Ethernet')) AND ((AddressFamily = 2)). Verify query parameters and retry.x000D__x000A<S S="Error">At line:1 char:42_x000D__x000A_<S S="Error">+ ... Continue'; (Get-NetIPAddress -AddressFamily IPv4 -InterfaceAlias 'Eth ...x000D__x000A<S S="Error">+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~x000D__x000A<S S="Error"> + CategoryInfo : ObjectNotFound: (MSFT_NetIPAddress:String) [Get-NetIPAddress], CimJobException_x000D__x000A_<S S="Error"> + FullyQualifiedErrorId : CmdletizationQuery_NotFound,Get-NetIPAddress_x000D__x000A_<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 x000D__x000A<S S="Error">LIKE 'vEthernet (Ethernet)')) AND ((AddressFamily = 2)). Verify query parameters and retry.x000D__x000A<S S="Error">At line:1 char:42_x000D__x000A_<S S="Error">+ ... Continue'; (Get-NetIPAddress -AddressFamily IPv4 -InterfaceAlias 'vEt ...x000D__x000A<S S="Error">+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~x000D__x000A<S S="Error"> + CategoryInfo : ObjectNotFound: (MSFT_NetIPAddress:String) [Get-NetIPAddress], CimJobException_x000D__x000A_<S S="Error"> + FullyQualifiedErrorId : CmdletizationQuery_NotFound,Get-NetIPAddress_x000D__x000A_<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.
The text was updated successfully, but these errors were encountered:
jas-atwal
changed the title
Error\">Get-NetIPAddress : No matching MSFT_NetIPAddress objects found by CIM query
Error\">Get-NetIPAddress : No matching MSFT_NetIPAddress objects found by CIM query - deploying onto Windows Workers
Jul 16, 2021
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 x000D__x000A<S S="Error">LIKE 'Ethernet')) AND ((AddressFamily = 2)). Verify query parameters and retry.x000D__x000A<S S="Error">At line:1 char:42_x000D__x000A_<S S="Error">+ ... Continue'; (Get-NetIPAddress -AddressFamily IPv4 -InterfaceAlias 'Eth ...x000D__x000A<S S="Error">+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~x000D__x000A<S S="Error"> + CategoryInfo : ObjectNotFound: (MSFT_NetIPAddress:String) [Get-NetIPAddress], CimJobException_x000D__x000A_<S S="Error"> + FullyQualifiedErrorId : CmdletizationQuery_NotFound,Get-NetIPAddress_x000D__x000A_<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 x000D__x000A<S S="Error">LIKE 'vEthernet (Ethernet)')) AND ((AddressFamily = 2)). Verify query parameters and retry.x000D__x000A<S S="Error">At line:1 char:42_x000D__x000A_<S S="Error">+ ... Continue'; (Get-NetIPAddress -AddressFamily IPv4 -InterfaceAlias 'vEt ...x000D__x000A<S S="Error">+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~x000D__x000A<S S="Error"> + CategoryInfo : ObjectNotFound: (MSFT_NetIPAddress:String) [Get-NetIPAddress], CimJobException_x000D__x000A_<S S="Error"> + FullyQualifiedErrorId : CmdletizationQuery_NotFound,Get-NetIPAddress_x000D__x000A_<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?
The text was updated successfully, but these errors were encountered: