azure-cli
azure-cli copied to clipboard
Error updating container registry with az aks update
This is autogenerated. Please review and update as needed.
Describe the bug
Command Name
az aks update
Errors:
No module named 'azure.mgmt.containerservice.v2019_08_01'
Traceback (most recent call last):
pip-install-68v0_w99\knack\knack\cli.py, ln 206, in invoke
cli\core\commands\__init__.py, ln 445, in execute
azure\cli\core\__init__.py, ln 267, in load_arguments
cli\core\commands\__init__.py, ln 274, in load_arguments
pip-install-68v0_w99\knack\knack\commands.py, ln 89, in load_arguments
...
cliextensions\aks-preview\azext_aks_preview\_helpers.py, ln 8, in <module>
from azure.mgmt.containerservice.v2019_08_01.models import ManagedClusterAPIServerAccessProfile
ModuleNotFoundError: No module named 'azure.mgmt.containerservice.v2019_08_01'
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...
az aks update -n {} -g {} --attach-acr {}
Expected Behavior
Environment Summary
Windows-10-10.0.17763-SP0
Python 3.6.6
Shell: powershell.exe
azure-cli 2.0.63 *
Extensions:
aks-preview 0.4.23
Additional Context
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @Azure/aks-pm
This parameter is not support in such an old CLI
Please use latest.
Sorry for late response. Everything works fine after updating azure-cli. Thanks