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.

`az aks check-acr`

See original GitHub issue

This is autogenerated. Please review and update as needed.

Describe the bug

Command Name az aks check-acr

Errors:

The command failed with an unexpected error. Here is the traceback:
'serverVersion'
Traceback (most recent call last):
  File "/opt/az/lib/python3.6/site-packages/knack/cli.py", line 231, in invoke
    cmd_result = self.invocation.execute(args)
  File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/__init__.py", line 658, in execute
    raise ex
  File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/__init__.py", line 721, in _run_jobs_serially
    results.append(self._run_job(expanded_arg, cmd_copy))
  File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/__init__.py", line 692, in _run_job
    result = cmd_copy(params)
  File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/__init__.py", line 328, in __call__
    return self.handler(*args, **kwargs)
  File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/command_operation.py", line 121, in handler
    return op(**command_args)
  File "/opt/az/lib/python3.6/site-packages/azure/cli/command_modules/acs/custom.py", line 1649, in aks_check_acr
    kubectl_version["serverVersion"]["minor"])
KeyError: 'serverVersion'

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 check-acr --name {} --resource-group {} --acr {}

Expected Behavior

Environment Summary

Linux-5.4.0-1070-azure-x86_64-with-debian-10.2 (Cloud Shell), Common Base Linux Delridge (quinault)
Python 3.6.10
Installer: DEB

azure-cli 2.33.1

Extensions:
azure-devops 0.20.0
ai-examples 0.2.5
ssh 1.0.0

Dependencies:
msal 1.16.0
azure-mgmt-resource 20.0.0

Additional Context

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
heyitsmekishorecommented, May 23, 2022

Yes, everything is fine.

On Mon, May 23, 2022, 19:31 msftbot[bot] @.***> wrote:

Hi, we’re sending this friendly reminder because we haven’t heard back from you in a while. We need more information about this issue to help address it. Please be sure to give us your input within the next 7 days. If we don’t hear back from you within 14 days of this comment the issue will be automatically closed. Thank you!

— Reply to this email directly, view it on GitHub https://github.com/Azure/azure-cli/issues/21461#issuecomment-1134717618, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANQAFS7L6MZVTODXA24SRTTVLOFSNANCNFSM5PRJZJSA . You are receiving this because you were mentioned.Message ID: @.***>

0reactions
RakeshMohanMSFTcommented, May 24, 2022

Thank you for the confirmation @heyitsmekishore

Read more comments on GitHub >

github_iconTop Results From Across the Web

az aks check-acr error, AKS cannot pull image from container ...
Our managed AKS cluster is unable to pull a new image from our container registry. I have tried everything listed in ...
Read more >
az aks | Microsoft Learn
Show the dashboard for a Kubernetes cluster in a web browser. az aks check-acr. Validate an ACR is accessible from an AKS cluster....
Read more >
how to view attached ACR in AKS clusters in Azure
The az aks check-acr command checks if a certain ACR is available from a specific AKS. You have to provide both the ACR...
Read more >
Azure AKS Pull ACR using Service Principal - STACKSIMPLIFY
Pull Docker Images from Azure Container Registry using Service Principal to Azure AKS Node pools.
Read more >
Lab 09: Configuring and Securing ACR and AKS - GitHub Pages
Verify with your instructor this is the region to use for class. ... az acr create --resource-group AZ500LAB09 --name az500$RANDOM$RANDOM --sku Basic.
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