azure-cli icon indicating copy to clipboard operation
azure-cli copied to clipboard

Failed to create Azure Kubernetes Service

Open djebos opened this issue 6 years ago • 3 comments

This is autogenerated. Please review and update as needed.

Describe the bug

Command Name az aks create

Errors:

'registrationState'
Traceback (most recent call last):
pip-install-9101vebg\knack\knack\cli.py, ln 206, in invoke
cli\core\commands\__init__.py, ln 608, in execute
cli\core\commands\__init__.py, ln 666, in _run_jobs_serially
cli\core\commands\__init__.py, ln 659, in _run_job
Temp\pip-install-9101vebg\six\six.py, ln 703, in reraise
cli\core\commands\__init__.py, ln 636, in _run_job
cli\core\commands\__init__.py, ln 306, in __call__
azure\cli\core\__init__.py, ln 493, in default_command_handler
cli\command_modules\acs\custom.py, ln 1857, in aks_create
...
pip-install-9101vebg\requests\requests\sessions.py, ln 650, in send
pip-install-9101vebg\requests\requests\hooks.py, ln 31, in dispatch_hook
msrest\msrest\universal_http\requests.py, ln 275, in user_hook_cb
pip-install-9101vebg\msrestazure\msrestazure\tools.py, ln 57, in register_rp_hook
pip-install-9101vebg\msrestazure\msrestazure\tools.py, ln 102, in _register_rp
KeyError: 'registrationState'

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 create --resource-group {} --name {} --node-count {} --enable-addons {} --generate-ssh-keys

Expected Behavior

Environment Summary

Windows-10-10.0.14393-SP0
Python 3.6.6

azure-cli 2.2.0

Additional Context

djebos avatar Mar 12 '20 21:03 djebos

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

ghost avatar Mar 12 '20 23:03 ghost

thanks for reporting it, we'll look at it

yungezz avatar Mar 12 '20 23:03 yungezz

Hello! Please try again with the latest Azure CLI version. Feel free to reopen an issue if it still doesn't work. https://docs.microsoft.com/en-us/cli/azure/install-azure-cli?view=azure-cli-latest

Jen7714 avatar May 29 '20 16:05 Jen7714