CLIInternalError: The command failed with an unexpected error. Here is the traceback:
cannot import name 'edge_zone_type'
Traceback (most recent call last):
File "C:\Users\VSSADM~1\AppData\Local\Temp\pip-unpacked-wheel-rpp6y7vh\knack\cli.py", line 215, in invoke
File "C:\Users\VSSADM~1\AppData\Local\Temp\pip-unpacked-wheel-34tyr6f2\azure\cli\core\commands\__init__.py", line 558, in execute
File "C:\Users\VSSADM~1\AppData\Local\Temp\pip-unpacked-wheel-34tyr6f2\azure\cli\core\__init__.py", line 479, in load_arguments
File "C:\Users\david\.azure\cliextensions\aks-preview\azext_aks_preview\__init__.py", line 47, in load_arguments
from ._params import load_arguments
File "C:\Users\david\.azure\cliextensions\aks-preview\azext_aks_preview\_params.py", line 12, in <module>
from azure.cli.core.commands.parameters import (
ImportError: cannot import name 'edge_zone_type'
Describe the bug
Updating ssh keys for an aks scale set fails.
Command Name
az aks update
Errors:
To Reproduce:
az aks update --name {} -g {} --ssh-key-value {}
Expected Behavior
The command works
Environment Summary
Additional Context
The environment summary has been auto-generated. If I run Python, I have 3.9.1 installed and used by default. python --version Python 3.9.1
Copy from
https://github.com/Azure/azure-cli/issues/25287