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

Error when trying to update load-balancer-outbound-ips #3211

Open saifsre opened 3 years ago

saifsre commented 3 years ago

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-mtleih48\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-qqxn1krb\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-a_t_wugh\azure\cli\core\__init__.py, ln 782, 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:

Expected Behavior

Environment Summary

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

azure-cli 2.11.1

AKS 1.20.2

Extensions:
aks-preview 0.5.5

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
## 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-mtleih48\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-qqxn1krb\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-a_t_wugh\azure\cli\core\__init__.py, ln 782, 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: - `az aks update --name {} --resource-group {} --load-balancer-outbound-ips {}` ## Expected Behavior ## Environment Summary ``` Windows-10-10.0.19041-SP0 Python 3.6.8 Installer: MSI azure-cli 2.11.1 AKS 1.20.2 Extensions: aks-preview 0.5.5 ``` ## Additional Context
Author: saifsre
Assignees: -
Labels: `AKS`, `Service Attention`, `needs-triage`, `question`
Milestone: -
yungezz commented 3 years ago

route to appropriate team