Skip to content

az aks check-network command cannot locate resource group. #28797

@HeyNaNd0

Description

@HeyNaNd0

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    AKSaz aks/acs/openshiftAuto-AssignAuto assign by botService AttentionThis 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.customer-reportedIssues that are reported by GitHub users external to the Azure organization.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions