Azure / azure-cli

Azure Command-Line Interface
MIT License
3.99k stars 2.97k forks source link

ResourceNotFoundError: The Resource 'Microsoft.Compute/virtualMachines/aks_node_name' under resource group 'MC_cluster-name_region' was not found. #16708

Open doronmak opened 3 years ago

doronmak commented 3 years ago

Describe the bug trying set ssh on aks node under VMSs and resource not found.

got this error on my cli: ResourceNotFoundError: The Resource 'Microsoft.Compute/virtualMachines/aks-app' under resource group 'MC_cluster-name_westus2' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix

tried the docs and not working, I think it happens when a node is under node pool and VM set

Expected behavior

Environment summary azure-cli 2.16.0 *

core 2.16.0 * telemetry 1.0.6

Python location '/usr/local/bin/python3.6' Extensions directory '/home/doronmak/.azure/cliextensions'

Python (Linux) 3.6.12 (default, Nov 19 2020, 23:41:19) [GCC 10.2.0]

Legal docs and information: aka.ms/AzureCliLegal

I'm using ubuntu 20.10

tried also with azure-cli 2.18.0

core 2.18.0 telemetry 1.0.6

Python location '/usr/local/bin/python3.6' Extensions directory '/home/doronmak/.azure/cliextensions'

Python (Linux) 3.6.12 (default, Nov 19 2020, 23:41:19) [GCC 10.2.0]

Legal docs and information: aka.ms/AzureCliLegal

Your CLI is up-to-date.

still not working

ghost commented 3 years ago

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @Azure/aks-pm.

Issue Details
**Describe the bug** trying set ssh on aks node under VMSs and resource not found. got this error on my cli: ResourceNotFoundError: The Resource 'Microsoft.Compute/virtualMachines/aks-app' under resource group 'MC_cluster-name_westus2' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix tried the docs and not working, I think it happens when a node is under node pool and VM set **Expected behavior** **Environment summary** azure-cli 2.16.0 * core 2.16.0 * telemetry 1.0.6 Python location '/usr/local/bin/python3.6' Extensions directory '/home/doronmak/.azure/cliextensions' Python (Linux) 3.6.12 (default, Nov 19 2020, 23:41:19) [GCC 10.2.0] Legal docs and information: aka.ms/AzureCliLegal I'm using ubuntu 20.10 tried also with azure-cli 2.18.0 core 2.18.0 telemetry 1.0.6 Python location '/usr/local/bin/python3.6' Extensions directory '/home/doronmak/.azure/cliextensions' Python (Linux) 3.6.12 (default, Nov 19 2020, 23:41:19) [GCC 10.2.0] Legal docs and information: aka.ms/AzureCliLegal Your CLI is up-to-date. still not working
Author: doronmak
Assignees: -
Labels: `AKS`, `Service Attention`, `needs-triage`, `question`
Milestone: -
yungezz commented 3 years ago

route to appropriate team