-
Notifications
You must be signed in to change notification settings - Fork 3.4k
az aks check-network command cannot locate resource group. #28797
Copy link
Copy link
Open
Labels
AKSaz aks/acs/openshiftaz aks/acs/openshiftAuto-AssignAuto assign by botAuto assign by botService AttentionThis issue is responsible by Azure service team.This issue is responsible by Azure service team.act-observability-squadbugThis issue requires a change to an existing behavior in the product in order to be resolved.This issue requires a change to an existing behavior in the product in order to be resolved.customer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.
Metadata
Metadata
Assignees
Labels
AKSaz aks/acs/openshiftaz aks/acs/openshiftAuto-AssignAuto assign by botAuto assign by botService AttentionThis issue is responsible by Azure service team.This issue is responsible by Azure service team.act-observability-squadbugThis issue requires a change to an existing behavior in the product in order to be resolved.This issue requires a change to an existing behavior in the product in order to be resolved.customer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.
Describe the bug
When executing the command
az aks check-network outbound, it accepts the resource group as an input but subsequently reports that it cannot locate it. Interestingly, when the debug flag is utilized, the very same resource group that the error message claims cannot be found is present in the debug output.example:
Related command
az aks check-network outbound --name --resource-group [--custom-endpoints ] [--node-name ]
Errors
cli.azure.cli.core.azclierror: (ResourceGroupNotFound) Resource group 'MC_AKSLearn_testingNodePoolCount_eastus' could not be found. Code: ResourceGroupNotFound Message: Resource group 'MC_AKSLearn_testingNodePoolCount_eastus' could not be found. az_command_data_logger: (ResourceGroupNotFound) Resource group 'MC_AKSLearn_testingNodePoolCount_eastus' could not be found. Code: ResourceGroupNotFound Message: Resource group 'MC_AKSLearn_testingNodePoolCount_eastus' could not be found.Issue script & Debug output
unable to share output of debug
Expected behavior
Perform outbound network connectivity check for a node in a managed Kubernetes cluster.
Environment Summary
azure-cli 2.59.0
core 2.59.0
telemetry 1.1.0
Extensions:
aks-preview 3.0.0b5
Dependencies:
msal 1.27.0
azure-mgmt-resource 23.1.0b2
Python location '/opt/az/bin/python3'
Extensions directory '/home/username/.azure/cliextensions'
Python (Linux) 3.11.8 (main, Mar 27 2024, 04:03:13) [GCC 10.2.1 20210110]
Legal docs and information: aka.ms/AzureCliLegal
Your CLI is up-to-date.
Additional context
No response