Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

az aks pod-identity command is not recognized by the system #30275

Open
iamnowfal opened this issue Nov 7, 2024 · 1 comment
Open

az aks pod-identity command is not recognized by the system #30275

iamnowfal opened this issue Nov 7, 2024 · 1 comment
Labels
AKS az aks/acs/openshift Auto-Assign Auto assign by bot bug This issue requires a change to an existing behavior in the product in order to be resolved. customer-reported Issues that are reported by GitHub users external to the Azure organization. Service Attention This issue is responsible by Azure service team.

Comments

@iamnowfal
Copy link

Describe the bug

Since this is related to a deprecated feature, I suspect that the command module is no longer in use and documentation is yet to be updated.

Related command

az aks pod-identity list -g --cluster-name

Errors

'pod-identity' is misspelled or not recognized by the system.

Examples from AI knowledge base:
https://aka.ms/cli_ref
Read more about the command in reference docs

Issue script & Debug output

PS C:\Users\S2Q4KS> az aks pod-identity list -g microsvc-qa-eus2-rg --cluster-name MICROSVC-QA-EUS2-AKS-1 --debug
cli.knack.cli: Command arguments: ['aks', 'pod-identity', 'list', '-g', 'microsvc-qa-eus2-rg', '--cluster-name', 'MICROSVC-QA-EUS2-AKS-1', '--debug']
cli.knack.cli: init debug log:
Enable color in terminal.
Enable VT mode.
cli.knack.cli: Event: Cli.PreExecute []
cli.knack.cli: Event: CommandParser.OnGlobalArgumentsCreate [<function CLILogging.on_global_arguments at 0x0000019344F6FD80>, <function OutputProducer.on_global_arguments at 0x00000193451140E0>, <function CLIQuery.on_global_arguments at 0x000001934513DC60>]
cli.knack.cli: Event: CommandInvoker.OnPreCommandTableCreate []
cli.azure.cli.core: Modules found from index for 'aks': ['azure.cli.command_modules.acs', 'azure.cli.command_modules.serviceconnector']
cli.azure.cli.core: Loading command modules:
cli.azure.cli.core: Name Load Time Groups Commands
cli.azure.cli.core: acs 0.210 14 77
cli.azure.cli.core: serviceconnector 0.026 20 309
cli.azure.cli.core: Total (2) 0.236 34 386
cli.azure.cli.core: Loaded 33 groups, 386 commands.
cli.azure.cli.core: Could not find a match in the command or command group table for 'aks pod-identity list'. The index may be outdated.
cli.azure.cli.core: Loading all modules and extensions
cli.azure.cli.core: Discovered command modules: ['acr', 'acs', 'advisor', 'ams', 'apim', 'appconfig', 'appservice', 'aro', 'backup', 'batch', 'batchai', 'billing', 'botservice', 'cdn', 'cloud', 'cognitiveservices', 'compute_recommender', 'config', 'configure', 'consumption', 'container', 'containerapp', 'cosmosdb', 'databoxedge', 'dla', 'dls', 'dms', 'eventgrid', 'eventhubs', 'extension', 'feedback', 'find', 'hdinsight', 'identity', 'interactive', 'iot', 'keyvault', 'kusto', 'lab', 'managedservices', 'maps', 'marketplaceordering', 'monitor', 'mysql', 'netappfiles', 'network', 'policyinsights', 'privatedns', 'profile', 'rdbms', 'redis', 'relay', 'resource', 'role', 'search', 'security', 'servicebus', 'serviceconnector', 'servicefabric', 'signalr', 'sql', 'sqlvm', 'storage', 'synapse', 'util', 'vm']
cli.azure.cli.core: Loading command modules:
cli.azure.cli.core: Name Load Time Groups Commands
cli.azure.cli.core: acr 0.596 36 149
cli.azure.cli.core: acs 0.003 14 77
cli.azure.cli.core: advisor 0.004 3 6
cli.azure.cli.core: ams 0.006 22 100
cli.azure.cli.core: apim 0.010 14 69
cli.azure.cli.core: appconfig 0.006 9 47
cli.azure.cli.core: appservice 0.121 79 270
cli.azure.cli.core: aro 0.022 1 10
cli.azure.cli.core: backup 0.006 16 60
cli.azure.cli.core: batch 0.041 34 102
cli.azure.cli.core: batchai 0.005 10 30
cli.azure.cli.core: billing 0.027 19 53
cli.azure.cli.core: botservice 0.006 12 42
cli.azure.cli.core: cdn 0.184 8 50
cli.azure.cli.core: cloud 0.003 1 7
cli.azure.cli.core: cognitiveservices 0.004 10 33
cli.azure.cli.core: compute_recommender 0.007 1 1
cli.azure.cli.core: config 0.003 2 7
cli.azure.cli.core: configure 0.002 2 5
cli.azure.cli.core: consumption 0.035 8 9
cli.azure.cli.core: container 0.018 1 11
cli.azure.cli.core: containerapp 0.163 37 123
cli.azure.cli.core: cosmosdb 0.021 58 199
cli.azure.cli.core: databoxedge 0.016 5 28
cli.azure.cli.core: dla 0.005 23 62
cli.azure.cli.core: dls 0.005 7 41
cli.azure.cli.core: dms 0.004 3 22
cli.azure.cli.core: eventgrid 0.006 25 96
cli.azure.cli.core: eventhubs 0.025 13 19
cli.azure.cli.core: extension 0.002 1 7
cli.azure.cli.core: feedback 0.002 1 2
cli.azure.cli.core: find 0.003 1 1
cli.azure.cli.core: hdinsight 0.013 9 42
cli.azure.cli.core: identity 0.008 2 11
cli.azure.cli.core: interactive 0.001 1 1
cli.azure.cli.core: iot 0.149 19 82
cli.azure.cli.core: keyvault 0.011 20 113
cli.azure.cli.core: kusto 0.005 3 14
cli.azure.cli.core: lab 0.054 9 29
cli.azure.cli.core: managedservices 0.021 3 8
cli.azure.cli.core: maps 0.003 5 13
cli.azure.cli.core: marketplaceordering 0.007 1 2
cli.azure.cli.core: monitor 0.443 18 61
cli.azure.cli.core: mysql 0.162 16 56
cli.azure.cli.core: netappfiles 0.073 8 17
cli.azure.cli.core: network 0.098 103 339
cli.azure.cli.core: policyinsights 0.024 9 17
cli.azure.cli.core: privatedns 0.036 14 60
cli.azure.cli.core: profile 0.006 2 8
cli.azure.cli.core: rdbms 0.033 49 202
cli.azure.cli.core: redis 0.006 7 38
cli.azure.cli.core: relay 0.046 7 8
cli.azure.cli.core: resource 0.020 51 231
cli.azure.cli.core: role 0.003 17 61
cli.azure.cli.core: search 0.016 7 19
cli.azure.cli.core: security 0.019 48 98
cli.azure.cli.core: servicebus 0.017 12 15
cli.azure.cli.core: serviceconnector 0.012 20 309
cli.azure.cli.core: servicefabric 0.025 27 80
cli.azure.cli.core: signalr 0.005 9 34
cli.azure.cli.core: sql 0.019 56 215
cli.azure.cli.core: sqlvm 0.038 4 20
cli.azure.cli.core: storage 0.112 59 273
cli.azure.cli.core: synapse 0.015 54 246
cli.azure.cli.core: util 0.003 3 7
cli.azure.cli.core: vm 0.059 58 269
cli.azure.cli.core: Total (66) 2.923 1206 4736
cli.azure.cli.core: Loaded 1192 groups, 4736 commands.
cli.azure.cli.core: Updated command index in 0.004 seconds.
cli.knack.cli: Event: CommandInvoker.OnPreCommandTableTruncate [<function AzCliLogging.init_command_file_logging at 0x0000019345C3C0E0>]
cli.azure.cli.core.azlogging: metadata file logging enabled - writing logs to 'C:\Users\S2Q4KS.azure\commands\2024-11-07.10-09-43.aks.23868.log'.
az_command_data_logger: command args: aks {} {} -g {} --cluster-name {} --debug
cli.knack.cli: Event: CommandInvoker.OnPreArgumentLoad [<function register_global_subscription_argument..add_subscription_parameter at 0x0000019345C66A20>]
cli.knack.cli: Event: CommandInvoker.OnPostArgumentLoad []
cli.knack.cli: Event: CommandInvoker.OnPostCommandTableCreate [<function register_ids_argument..add_ids_arguments at 0x0000019345CB4AE0>, <function register_cache_arguments..add_cache_arguments at 0x0000019345CB4C20>, <function register_upcoming_breaking_change_info..update_breaking_change_info at 0x0000019345CB4CC0>]
cli.knack.cli: Event: CommandInvoker.OnCommandTableLoaded []
cli.knack.cli: Event: CommandInvoker.OnPreParseArgs [<function _documentdb_deprecate at 0x0000019349094F40>]
urllib3.connectionpool: Starting new HTTPS connection (1): aka.ms:443
cli.azure.cli.core.extension.dynamic_install: Request failed for extension command tree: HTTPSConnectionPool(host='aka.ms', port=443): Max retries exceeded with url: /azExtCmdTree (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1006)')))
cli.azure.cli.core.command_recommender: "-g" is an invalid parameter for command "aks pod-identity".
cli.azure.cli.core.command_recommender: "--cluster-name" is an invalid parameter for command "aks pod-identity".
urllib3.connectionpool: Starting new HTTPS connection (1): app.aladdin.microsoft.com:443
cli.azure.cli.core.command_recommender: Recommendation requests.get() exception: HTTPSConnectionPool(host='app.aladdin.microsoft.com', port=443): Max retries exceeded with url: /api/v1.0/suggestions?query=%7B%22command%22%3A+%22aks+pod-identity%22%2C+%22parameters%22%3A+%22%22%7D&clientType=AzureCli&context=%7B%22versionNumber%22%3A+%222.65.0%22%2C+%22errorType%22%3A+%22UnknownSubcommand%22%2C+%22correlationId%22%3A+%22d7b498ca-cd96-460e-bd6c-26a38c375d3c%22%2C+%22subscriptionId%22%3A+%226309c7c7-3863-4943-842f-0de9db26e097%22%2C+%22eventId%22%3A+%2269a2e62b-aeed-4c32-a699-c11e3bd91993%22%7D (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1006)')))
cli.azure.cli.core.command_recommender: "-g" is an invalid parameter for command "aks pod-identity".
cli.azure.cli.core.command_recommender: "--cluster-name" is an invalid parameter for command "aks pod-identity".
cli.azure.cli.core.azclierror: NoneType: None

cli.azure.cli.core.azclierror: 'pod-identity' is misspelled or not recognized by the system.
az_command_data_logger: 'pod-identity' is misspelled or not recognized by the system.

Examples from AI knowledge base:
https://aka.ms/cli_ref
Read more about the command in reference docs
cli.knack.cli: Event: Cli.PostExecute [<function AzCliLogging.deinit_cmd_metadata_logging at 0x0000019345C3C360>]
az_command_data_logger: exit code: 2
cli.main: Command ran in 4.436 seconds (init: 0.484, invoke: 3.953)
telemetry.main: Begin splitting cli events and extra events, total events: 1
telemetry.client: Accumulated 0 events. Flush the clients.
telemetry.main: Finish splitting cli events and extra events, cli events: 1
telemetry.save: Save telemetry record of length 3796 in cache file under C:\Users\S2Q4KS.azure\telemetry\20241107100944349
telemetry.main: Begin creating telemetry upload process.
telemetry.process: Creating upload process: "C:\Program Files\Microsoft SDKs\Azure\CLI2\python.exe C:\Program Files\Microsoft SDKs\Azure\CLI2\Lib\site-packages\azure\cli\telemetry_init_.pyc C:\Users\S2Q4KS.azure C:\Users\S2Q4KS.azure\telemetry\20241107100944349"
telemetry.process: Return from creating process 23488
telemetry.main: Finish creating telemetry upload process.
PS C:\Users\S2Q4KS>

Expected behavior

Command should return the list of pod identities in use.

Environment Summary

azure-cli 2.65.0

core 2.65.0
telemetry 1.1.0

Dependencies:
msal 1.31.0
azure-mgmt-resource 23.1.1

Python location 'C:\Program Files\Microsoft SDKs\Azure\CLI2\python.exe'
Extensions directory 'C:\Users\S2Q4KS.azure\cliextensions'

Python (Windows) 3.11.8 (tags/v3.11.8:db85d51, Feb 6 2024, 22:03:32) [MSC v.1937 64 bit (AMD64)]

Additional context

No response

@iamnowfal iamnowfal added the bug This issue requires a change to an existing behavior in the product in order to be resolved. label Nov 7, 2024
@microsoft-github-policy-service microsoft-github-policy-service bot added customer-reported Issues that are reported by GitHub users external to the Azure organization. AKS az aks/acs/openshift Service Attention This issue is responsible by Azure service team. Auto-Assign Auto assign by bot labels Nov 7, 2024
@yonzhan
Copy link
Collaborator

yonzhan commented Nov 7, 2024

Thank you for opening this issue, we will look into it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
AKS az aks/acs/openshift Auto-Assign Auto assign by bot bug This issue requires a change to an existing behavior in the product in order to be resolved. customer-reported Issues that are reported by GitHub users external to the Azure organization. Service Attention This issue is responsible by Azure service team.
Projects
None yet
Development

No branches or pull requests

2 participants