Skip to content

az aks nodepool wait always throws "cli.azure.cli.core.azclierror: 'Namespace' object has no attribute 'nodepool_name'" #23468

Closed

Description

Related command

az aks nodepool wait --updated --name myakscluster --nodepool-name myaksnodepool1 --resource-group myaksrg

Describe the bug

cli.azure.cli.core.azclierror: 'Namespace' object has no attribute 'nodepool_name' is thrown everytime az aks nodepool wait is ran

cli.knack.cli: Command arguments: ['aks', 'nodepool', 'wait', '--updated', '--name', 'myakscluster', '--nodepool-name', 'myaksnodepool1', '--resource-group', 'myaksrg', '--debug']
cli.knack.cli: __init__ debug log:
Enable color in terminal.
cli.knack.cli: Event: Cli.PreExecute []
cli.knack.cli: Event: CommandParser.OnGlobalArgumentsCreate [<function CLILogging.on_global_arguments at 0x7fee9051b1c0>, <function OutputProducer.on_global_arguments at 0x7fee90270820>, <function CLIQuery.on_global_arguments at 0x7fee902a5b40>]
cli.knack.cli: Event: CommandInvoker.OnPreCommandTableCreate []
cli.azure.cli.core: Modules found from index for 'aks': ['azure.cli.command_modules.acs']
cli.azure.cli.core: Loading command modules:
cli.azure.cli.core: Name                  Load Time    Groups  Commands
cli.azure.cli.core: acs                       0.064         8        58
cli.azure.cli.core: Total (1)                 0.064         8        58
cli.azure.cli.core: Loaded 8 groups, 58 commands.
cli.azure.cli.core: Found a match in the command table.
cli.azure.cli.core: Raw command  : aks nodepool wait
cli.azure.cli.core: Command table: aks nodepool wait
cli.knack.cli: Event: CommandInvoker.OnPreCommandTableTruncate [<function AzCliLogging.init_command_file_logging at 0x7fee8f94d2d0>]
cli.azure.cli.core.azlogging: metadata file logging enabled - writing logs to '/root/.azure/commands/2022-08-08.22-41-11.aks_nodepool_wait.587.log'.
az_command_data_logger: command args: aks nodepool wait --updated --name {} --nodepool-name {} --resource-group {} --debug
cli.knack.cli: Event: CommandInvoker.OnPreArgumentLoad [<function register_global_subscription_argument.<locals>.add_subscription_parameter at 0x7fee8f50ac20>]
cli.knack.cli: Event: CommandInvoker.OnPostArgumentLoad []
cli.knack.cli: Event: CommandInvoker.OnPostCommandTableCreate [<function register_ids_argument.<locals>.add_ids_arguments at 0x7fee8f50acb0>, <function register_cache_arguments.<locals>.add_cache_arguments at 0x7fee8f50add0>]
cli.knack.cli: Event: CommandInvoker.OnCommandTableLoaded []
cli.knack.cli: Event: CommandInvoker.OnPreParseArgs []
cli.knack.cli: Event: CommandInvoker.OnPostParseArgs [<function OutputProducer.handle_output_argument at 0x7fee902708b0>, <function CLIQuery.handle_query_parameter at 0x7fee902a5bd0>, <function register_ids_argument.<locals>.parse_ids_arguments at 0x7fee8f50ad40>]
cli.azure.cli.core.azclierror: 'Namespace' object has no attribute 'nodepool_name'
az_command_data_logger: 'Namespace' object has no attribute 'nodepool_name'
cli.knack.cli: Event: Cli.PostExecute [<function AzCliLogging.deinit_cmd_metadata_logging at 0x7fee8f94d510>]
az_command_data_logger: exit code: 2
cli.__main__: Command ran in 1.247 seconds (init: 1.113, invoke: 0.134)
telemetry.save: Save telemetry record of length 3078 in cache
telemetry.check: Negative: The /root/.azure/telemetry.txt was modified at 2022-08-08 22:36:06.288045, which in less than 600.000000 s

To Reproduce

Run aks nodepool wait --updated --name {} --nodepool-name {} --resource-group {} --debug

Expected behavior

Should wait for a nodepool to reach a steady state

Environment summary

root@7ca42fef3ee3:/usr/local/bin# ./az --version
azure-cli                         2.39.0

core                              2.39.0
telemetry                          1.0.6 *

Dependencies:
msal                            1.18.0b1
azure-mgmt-resource             21.1.0b1

Python location '/usr/local/bin/python'
Extensions directory '/root/.azure/cliextensions'

Python (Linux) 3.10.5 (main, Aug  2 2022, 10:42:29) [GCC 10.2.1 20210110]
root@7ca42fef3ee3:/usr/local/bin# cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 11 (bullseye)"
NAME="Debian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)"
VERSION_CODENAME=bullseye
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"

Additional context

NA

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

AKSaz aks/acs/openshiftAuto-AssignAuto assign by botCXP AttentionThis issue is handled by CXP team.bugThis 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

Relationships

None yet

Development

No branches or pull requests

Issue actions