azure-cli icon indicating copy to clipboard operation
azure-cli copied to clipboard

Error updating container registry with az aks update

Open vertigo7x opened this issue 6 years ago • 3 comments

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

vertigo7x avatar Dec 09 '19 14:12 vertigo7x

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @Azure/aks-pm

ghost avatar Dec 10 '19 02:12 ghost

This parameter is not support in such an old CLI

Please use latest.

palma21 avatar Dec 17 '19 00:12 palma21

Sorry for late response. Everything works fine after updating azure-cli. Thanks

vertigo7x avatar Feb 27 '20 09:02 vertigo7x