Azure / azure-cli

Azure Command-Line Interface
MIT License
3.98k stars 2.95k forks source link

az aks stop - command to stop cluster not working. #16117

Open sa10000 opened 3 years ago

sa10000 commented 3 years ago

This is autogenerated. Please review and update as needed.

Describe the bug

Command Name az aks stop

Errors:

No module named 'azure.cli.core.azclierror'
Traceback (most recent call last):
Temp\pip-install-363drsgw\knack\knack\cli.py, ln 215, in invoke
azure\cli\core\commands\__init__.py, ln 553, in execute
site-packages\azure\cli\core\__init__.py, ln 345, in load_arguments
.azure\cliextensions\aks-preview\azext_aks_preview\__init__.py, ln 39, in load_arguments
    from ._params import load_arguments
.azure\cliextensions\aks-preview\azext_aks_preview\_params.py, ln 18, in <module>
    from ._validators import (
.azure\cliextensions\aks-preview\azext_aks_preview\_validators.py, ln 17, in <module>
    from azure.cli.core.azclierror import InvalidArgumentValueError
ModuleNotFoundError: No module named 'azure.cli.core.azclierror'

To Reproduce:

Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

Expected Behavior

Environment Summary

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

azure-cli 2.8.0 *

Extensions:
aks-preview 0.4.69

Additional Context

ghost commented 3 years ago

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

Issue Details
### **This is autogenerated. Please review and update as needed.** ## Describe the bug **Command Name** `az aks stop` **Errors:** ``` No module named 'azure.cli.core.azclierror' Traceback (most recent call last): Temp\pip-install-363drsgw\knack\knack\cli.py, ln 215, in invoke azure\cli\core\commands\__init__.py, ln 553, in execute site-packages\azure\cli\core\__init__.py, ln 345, in load_arguments .azure\cliextensions\aks-preview\azext_aks_preview\__init__.py, ln 39, in load_arguments from ._params import load_arguments .azure\cliextensions\aks-preview\azext_aks_preview\_params.py, ln 18, in from ._validators import ( .azure\cliextensions\aks-preview\azext_aks_preview\_validators.py, ln 17, in from azure.cli.core.azclierror import InvalidArgumentValueError ModuleNotFoundError: No module named 'azure.cli.core.azclierror' ``` ## 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 stop --name {} --resource-group {}` ## Expected Behavior ## Environment Summary ``` Windows-10-10.0.19041-SP0 Python 3.6.6 Installer: MSI azure-cli 2.8.0 * Extensions: aks-preview 0.4.69 ``` ## Additional Context
Author: sa10000
Assignees: -
Labels: `AKS`, `Service Attention`
Milestone: -
yonzhan commented 3 years ago

aks