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

Crash in az aks update (preview command) #36

Open
bebound opened this issue Feb 27, 2023 · 1 comment
Open

Crash in az aks update (preview command) #36

bebound opened this issue Feb 27, 2023 · 1 comment

Comments

@bebound
Copy link
Owner

bebound commented Feb 27, 2023

Describe the bug

Updating ssh keys for an aks scale set fails.

Command Name
az aks update

Errors:

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'

To Reproduce:

  • az aks update --name {} -g {} --ssh-key-value {}

Expected Behavior

The command works

Environment Summary

Windows-10-10.0.19041-SP0
Python 3.6.8
Installer: MSI

azure-cli 2.17.1 *

Extensions:
aks-preview 0.5.41
azure-iot 0.12.1

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

@similar-bot-test
Copy link

Find similar issue https://github.com/Azure/azure-cli/issues/20912.

Issue title Az extension
Create time 2022-01-05
Comment number 5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant