az aks nodepool list does not work well
See original GitHub issueThis is autogenerated. Please review and update as needed.
Describe the bug
az aks nodepool list does not work well when the number of nodepool is 10 or more. (this number is the button to read more appears in azure portal) It worked when the version was 2.40.0, but not 2.41.0.
Command Name
az aks nodepool list
Errors:
The command failed with an unexpected error. Here is the traceback:
'ContainerServiceClientConfiguration' object has no attribute 'api_version'
Traceback (most recent call last):
File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\knack/cli.py", line 233, in invoke
File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 663, in execute
File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 726, in _run_jobs_serially
File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 710, in _run_job
File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/core/paging.py", line 129, in __next__
File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/core/paging.py", line 76, in __next__
File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/mgmt/containerservice/v2022_07_01/operations/_agent_pools_operations.py", line 406, in get_next
File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/mgmt/containerservice/v2022_07_01/operations/_agent_pools_operations.py", line 391, in prepare_request
AttributeError: 'ContainerServiceClientConfiguration' object has no attribute 'api_version'
To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.
- Put any pre-requisite steps here… create 10 nodepools
Expected Behavior
Environment Summary
Windows-10-10.0.22621-SP0
Python 3.10.5
Installer: MSI
azure-cli 2.41.0
Extensions:
application-insights 0.1.16
quota 0.1.0
Dependencies:
msal 1.20.0b1
azure-mgmt-resource 21.1.0b1
Additional Context
Kubernetes version 1.24.6
Issue Analytics
- State:
- Created a year ago
- Comments:8 (5 by maintainers)
Top Results From Across the Web
az aks nodepool
List node pools in the managed Kubernetes cluster. To get list of nodes in the cluster run kubectl get nodes command. az aks...
Read more >AKS nodepool in a failed state, PODS all pending
Then one of my nodepools started working again which is of type user but the one of type system is still in a...
Read more >Building an AKS baseline architecture - Part 1 - Cluster ...
Everything around AKS is pretty well documented in the official ... fail to do so, you risk running a non-supported cluster not covered...
Read more >aks patching and node pool upgrade azure kubernetes ...
Remember If you don't run the nodeimage switch remember the whole cluster including the kubernetes version of the control plane is also upgraded ......
Read more >AKS Checklist
The AKS Checklist is a (tentatively) exhaustive list of all elements you need to think of when preparing a cluster for production.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
for those seeking immediate workaround, look at downgrading az
aks-preview
extension i did not spend time tracing at which exact release it got broken, but i found it works at below versionand you don’t have to downgrade
azure-cli
Thanks for the quick response and solution. Can we get a new azure-cli debian package with the fix? Maybe I’m mistaken but I can’t yet find it. Looking for it here: https://packages.microsoft.com/repos/azure-cli/pool/main/a/azure-cli/