Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

az aks create : AttributeError: 'NoneType' object has no attribute 'client_id' #13138

Closed
j-coll opened this issue Apr 23, 2020 · 5 comments
Closed
Labels
AKS az aks/acs/openshift customer-reported Issues that are reported by GitHub users external to the Azure organization. Service Attention This issue is responsible by Azure service team.

Comments

@j-coll
Copy link

j-coll commented Apr 23, 2020

Describe the bug

Command Name
az aks create

Errors:

'NoneType' object has no attribute 'client_id'
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())
...
cli/core/commands/__init__.py, ln 324, in __call__
    return self.handler(*args, **kwargs)
azure/cli/core/__init__.py, ln 574, in default_command_handler
    return op(**command_args)
cli/command_modules/acs/custom.py, ln 1754, in aks_create
    service_principal_profile.client_id, scope=scope):
AttributeError: 'NoneType' object has no attribute 'client_id'

To Reproduce:

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

  • az aks create -g {} -n {} --enable-managed-identity --vnet-subnet-id {}

Expected Behavior

Environment Summary

Linux-4.15.0-58-generic-x86_64-with-debian-stretch-sid
Python 3.6.5
Installer: DEB

azure-cli 2.4.0

Additional Context

@ghost ghost added customer-reported Issues that are reported by GitHub users external to the Azure organization. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that labels Apr 23, 2020
@yonzhan yonzhan added AKS az aks/acs/openshift Service Attention This issue is responsible by Azure service team. labels Apr 23, 2020
@ghost
Copy link

ghost commented Apr 23, 2020

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

@yonzhan
Copy link
Collaborator

yonzhan commented Apr 23, 2020

aks

@yungezz yungezz removed the question The issue doesn't require a change to the product in order to be resolved. Most issues start as that label Apr 24, 2020
@yungezz
Copy link
Member

yungezz commented Apr 24, 2020

bug

@mathieu-benoit
Copy link
Contributor

Seems to be the same issue as reported there: #12864

@Jen7714
Copy link

Jen7714 commented May 29, 2020

This bug is fixed (#13543), and should be available in the next Azure CLI release. Closing for now :)

@Jen7714 Jen7714 closed this as completed May 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
AKS az aks/acs/openshift customer-reported Issues that are reported by GitHub users external to the Azure organization. Service Attention This issue is responsible by Azure service team.
Projects
None yet
Development

No branches or pull requests

5 participants