Azure / azure-cli-extensions

Public Repository for Extensions of Azure CLI.
https://docs.microsoft.com/en-us/cli/azure
MIT License
384 stars 1.25k forks source link

CLI Internal Error when Configuring ACR Integration with Existing AKS Cluster #3562

Open mstae opened 3 years ago

mstae commented 3 years ago

This is autogenerated. Please review and update as needed.

Describe the bug

Command Name az aks update Extension Name: aks-preview. Version: 0.5.5.

Errors:

'NoneType' object has no attribute 'get'
Traceback (most recent call last):
Local\Temp\pip-unpacked-wheel-lhx4371t\knack\cli.py, ln 215, in invoke
azure\cli\core\commands\__init__.py, ln 654, in execute
azure\cli\core\commands\__init__.py, ln 718, in _run_jobs_serially
azure\cli\core\commands\__init__.py, ln 711, in _run_job
AppData\Local\Temp\pip-unpacked-wheel-7avbl0u7\six.py, ln 703, in reraise
azure\cli\core\commands\__init__.py, ln 688, in _run_job
azure\cli\core\commands\__init__.py, ln 325, in __call__
pip-unpacked-wheel-c8n8j8wo\azure\cli\core\__init__.py, ln 784, in default_command_handler
.azure\cliextensions\aks-preview\azext_aks_preview\custom.py, ln 1657, in aks_update
    azure_keyvault_secrets_provider_addon_profile = instance.addon_profiles.get(CONST_AZURE_KEYVAULT_SECRETS_PROVIDER_ADDON_NAME, None)
AttributeError: 'NoneType' object has no attribute 'get'

To Reproduce:

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

Expected Behavior

Successful integration of container registry to AKS cluster

Environment Summary

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

azure-cli 2.13.0 *

Extensions:
aks-preview 0.5.5
log-analytics Unknown

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 update Extension Name: aks-preview. Version: 0.5.5.` **Errors:** ``` 'NoneType' object has no attribute 'get' Traceback (most recent call last): Local\Temp\pip-unpacked-wheel-lhx4371t\knack\cli.py, ln 215, in invoke azure\cli\core\commands\__init__.py, ln 654, in execute azure\cli\core\commands\__init__.py, ln 718, in _run_jobs_serially azure\cli\core\commands\__init__.py, ln 711, in _run_job AppData\Local\Temp\pip-unpacked-wheel-7avbl0u7\six.py, ln 703, in reraise azure\cli\core\commands\__init__.py, ln 688, in _run_job azure\cli\core\commands\__init__.py, ln 325, in __call__ pip-unpacked-wheel-c8n8j8wo\azure\cli\core\__init__.py, ln 784, in default_command_handler .azure\cliextensions\aks-preview\azext_aks_preview\custom.py, ln 1657, in aks_update azure_keyvault_secrets_provider_addon_profile = instance.addon_profiles.get(CONST_AZURE_KEYVAULT_SECRETS_PROVIDER_ADDON_NAME, None) AttributeError: 'NoneType' object has no attribute 'get' ``` ## To Reproduce: Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information. - `az aks update -n {} -g {} --attach-acr {}` ## Expected Behavior Successful integration of container registry to AKS cluster ## Environment Summary ``` Windows-10-10.0.19041-SP0 Python 3.6.8 Installer: MSI azure-cli 2.13.0 * Extensions: aks-preview 0.5.5 log-analytics Unknown ``` ## Additional Context
Author: mstae
Assignees: -
Labels: `AKS`, `Service Attention`, `extension/aks-preview`
Milestone: -
yonzhan commented 3 years ago

route to service team

miwithro commented 3 years ago

This is a known problem. Please upgrade your aks-preview to the latest version and this issue will be mitigated.