question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

This is autogenerated. Please review and update as needed.

Describe the bug

Command Name az aks get-credentials

Errors:

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 get-credentials -g {} -n {} --admin

Expected Behavior

Environment Summary

macOS-10.14.5-x86_64-i386-64bit
Python 3.8.1
Shell: bash

azure-cli 2.0.80 *

Additional Context

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
yzhang0727commented, Oct 21, 2020

sorry, I did not take snapshot, and I already upgrade my azure cli to 2.13.0, so the issue is not exist.

But I just checked github, the error message was the same as below issue ( https://github.com/Azure/AKS/issues/1264)

2019-10-10T14:33:26.1661711Z ERROR: The command failed with an unexpected error. Here is the traceback: 2019-10-10T14:33:26.1661972Z 2019-10-10T14:33:26.1682228Z ERROR: ‘users’ 2019-10-10T14:33:26.1682400Z Traceback (most recent call last): 2019-10-10T14:33:26.1682791Z File “/opt/az/lib/python3.6/site-packages/knack/cli.py”, line 206, in invoke 2019-10-10T14:33:26.1682838Z cmd_result = self.invocation.execute(args) 2019-10-10T14:33:26.1683102Z File “/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/init.py”, line 603, in execute 2019-10-10T14:33:26.1683204Z raise ex 2019-10-10T14:33:26.1683641Z File “/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/init.py”, line 661, in _run_jobs_serially 2019-10-10T14:33:26.1683999Z results.append(self._run_job(expanded_arg, cmd_copy)) 2019-10-10T14:33:26.1684278Z File “/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/init.py”, line 654, in _run_job 2019-10-10T14:33:26.1684429Z six.reraise(*sys.exc_info()) 2019-10-10T14:33:26.1684659Z File “/opt/az/lib/python3.6/site-packages/six.py”, line 693, in reraise 2019-10-10T14:33:26.1684700Z raise value 2019-10-10T14:33:26.1684993Z File “/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/init.py”, line 631, in _run_job 2019-10-10T14:33:26.1685038Z result = cmd_copy(params) 2019-10-10T14:33:26.1685469Z File “/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/init.py”, line 306, in call 2019-10-10T14:33:26.1685511Z return self.handler(*args, **kwargs) 2019-10-10T14:33:26.1686193Z File “/opt/az/lib/python3.6/site-packages/azure/cli/core/init.py”, line 485, in default_command_handler 2019-10-10T14:33:26.1686240Z return op(**command_args) 2019-10-10T14:33:26.1686543Z File “/opt/az/lib/python3.6/site-packages/azure/cli/command_modules/acs/custom.py”, line 1887, in aks_get_credentials 2019-10-10T14:33:26.1686638Z _print_or_merge_credentials(path, kubeconfig, overwrite_existing, context_name) 2019-10-10T14:33:26.1686925Z File “/opt/az/lib/python3.6/site-packages/azure/cli/command_modules/acs/custom.py”, line 2775, in _print_or_merge_credentials 2019-10-10T14:33:26.1686973Z merge_kubernetes_configurations(path, temp_path, overwrite_existing, context_name) 2019-10-10T14:33:26.1687256Z File “/opt/az/lib/python3.6/site-packages/azure/cli/command_modules/acs/custom.py”, line 1178, in merge_kubernetes_configurations 2019-10-10T14:33:26.1687531Z _handle_merge(existing, addition, ‘users’, replace) 2019-10-10T14:33:26.1687804Z File “/opt/az/lib/python3.6/site-packages/azure/cli/command_modules/acs/custom.py”, line 1112, in _handle_merge 2019-10-10T14:33:26.1687895Z if existing[key] is None: 2019-10-10T14:33:26.1688097Z KeyError: ‘users’ 2019-10-10T14:33:26.1688147Z WARNING: 2019-10-10T14:33:26.1688349Z To open an issue, please run: ‘az feedback’ 2019-10-10T14:33:26.3028463Z ##[error]Bash exited with code ‘1’.

Best regards

Yilu

On Wed, Oct 21, 2020 at 11:15 AM Yunge Zhu notifications@github.com wrote:

hi @yzhang0727 https://github.com/yzhang0727 could you pls share the error you met to help trouble shooting? thanks

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Azure/azure-cli/issues/15581#issuecomment-713268098, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKQ5OQUUA7CGOEEAND6KEKTSLZG3TANCNFSM4SXL2FDA .

– *Yilu Zhang * IAAS | IS-Engineer

0reactions
yzhang0727commented, Oct 21, 2020

yep, you can close it

On Wed, Oct 21, 2020 at 11:34 AM Yunge Zhu notifications@github.com wrote:

is it ok to close the issue then @yzhang0727 https://github.com/yzhang0727 ?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Azure/azure-cli/issues/15581#issuecomment-713275349, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKQ5OQS2SQPB5A5T3I4Z7TLSLZJCTANCNFSM4SXL2FDA .

– *Yilu Zhang * IAAS | IS-Engineer

Read more comments on GitHub >

github_iconTop Results From Across the Web

Issuu: Digital Publishing Platform & Content Publishing ...
From single issues to recurring subscriptions, Issuu enables you to sell your publications online – without ever taking a commission.
Read more >
Issue Definition & Meaning - Merriam-Webster
1 · the action of going, coming, or flowing out ; 2 · a means or place of going out : exit, outlet...
Read more >
Issue Definition & Meaning | Dictionary.com
Issue definition, the act of sending out or putting forth; promulgation; distribution: the issue of food and blankets to flood victims. See more....
Read more >
ISSUE | definition in the Cambridge English Dictionary
at issue · most important in what is being discussed: ; make an issue of something · to make something seem more important...
Read more >
145 Synonyms & Antonyms for ISSUE - Thesaurus.com
issue is often used of a number of persons, a mass of matter, or a volume of smoke, sound, or the like, coming...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found