azure-cli
azure-cli copied to clipboard
Error when following learn module aks setup
This is autogenerated. Please review and update as needed.
Describe the bug
Command Name
az aks create
Errors:
'registrationState'
Traceback (most recent call last):
python3.6/site-packages/knack/cli.py, ln 215, in invoke
cmd_result = self.invocation.execute(args)
cli/core/commands/__init__.py, ln 631, in execute
raise ex
cli/core/commands/__init__.py, ln 695, in _run_jobs_serially
results.append(self._run_job(expanded_arg, cmd_copy))
cli/core/commands/__init__.py, ln 688, in _run_job
six.reraise(*sys.exc_info())
...
python3.6/site-packages/msrestazure/tools.py, ln 57, in register_rp_hook
if not _register_rp(session, url_prefix, rp_name):
python3.6/site-packages/msrestazure/tools.py, ln 102, in _register_rp
if rp_info['registrationState'] == 'Registered':
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 --name {} --resource-group {} --enable-addons {} --kubernetes-version {} --generate-ssh-keys
Expected Behavior
Environment Summary
Linux-4.15.0-1082-azure-x86_64-with-debian-stretch-sid
Python 3.6.5
Installer: DEB
azure-cli 2.5.1 *
Additional Context
Following this module: https://docs.microsoft.com/en-gb/learn/modules/deploy-kubernetes/3-set-up-environment
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @Azure/aks-pm.
routing to appropriate team
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