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

Run az aks check-acr error #17769

Closed
purefun opened this issue Apr 20, 2021 · 3 comments · Fixed by #18727
Closed

Run az aks check-acr error #17769

purefun opened this issue Apr 20, 2021 · 3 comments · Fixed by #18727
Labels
AKS az aks/acs/openshift Service Attention This issue is responsible by Azure service team.

Comments

@purefun
Copy link

purefun commented Apr 20, 2021

This is autogenerated. Please review and update as needed.

Describe the bug

Command Name
az aks check-acr

Errors:

invalid literal for int() with base 10: '20+'
Traceback (most recent call last):
lib/python3.8/site-packages/knack/cli.py, ln 231, in invoke
    cmd_result = self.invocation.execute(args)
azure/cli/core/commands/__init__.py, ln 657, in execute
    raise ex
azure/cli/core/commands/__init__.py, ln 720, in _run_jobs_serially
    results.append(self._run_job(expanded_arg, cmd_copy))
azure/cli/core/commands/__init__.py, ln 691, in _run_job
    result = cmd_copy(params)
azure/cli/core/commands/__init__.py, ln 328, in __call__
    return self.handler(*args, **kwargs)
site-packages/azure/cli/core/__init__.py, ln 807, in default_command_handler
    return op(**command_args)
azure/cli/command_modules/acs/custom.py, ln 1507, in aks_check_acr
    kubectl_minor_version = int(kubectl_version["clientVersion"]["minor"])
ValueError: invalid literal for int() with base 10: '20+'

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 -n {} -g {} --acr {}

Expected Behavior

Environment Summary

macOS-10.15.7-x86_64-i386-64bit
Python 3.8.9
Installer: HOMEBREW

azure-cli 2.22.0 *

Additional Context

@ghost ghost added needs-triage This is a new issue that needs to be triaged to the appropriate team. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that labels Apr 20, 2021
@purefun
Copy link
Author

purefun commented Apr 20, 2021

kubectl version:

Client Version: version.Info{Major:"1", Minor:"20+", GitVersion:"v1.20.4-dirty", GitCommit:"e87da0bd6e03ec3fea7933c4b5263d151aafd07c", GitTreeState:"dirty", BuildDate:"2021-03-15T10:03:32Z", GoVersion:"go1.16.2", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"19", GitVersion:"v1.19.9", GitCommit:"6c90dbd9d6bb1ae8a4c0b0778752be06873e7c55", GitTreeState:"clean", BuildDate:"2021-03-22T23:02:49Z", GoVersion:"go1.15.8", Compiler:"gc", Platform:"linux/amd64"}

@yonzhan yonzhan added the AKS az aks/acs/openshift label Apr 20, 2021
@ghost ghost removed the needs-triage This is a new issue that needs to be triaged to the appropriate team. label Apr 20, 2021
@yonzhan yonzhan added Service Attention This issue is responsible by Azure service team. and removed question The issue doesn't require a change to the product in order to be resolved. Most issues start as that labels Apr 20, 2021
@ghost
Copy link

ghost commented Apr 20, 2021

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

Issue Details

This is autogenerated. Please review and update as needed.

Describe the bug

Command Name
az aks check-acr

Errors:

invalid literal for int() with base 10: '20+'
Traceback (most recent call last):
lib/python3.8/site-packages/knack/cli.py, ln 231, in invoke
    cmd_result = self.invocation.execute(args)
azure/cli/core/commands/__init__.py, ln 657, in execute
    raise ex
azure/cli/core/commands/__init__.py, ln 720, in _run_jobs_serially
    results.append(self._run_job(expanded_arg, cmd_copy))
azure/cli/core/commands/__init__.py, ln 691, in _run_job
    result = cmd_copy(params)
azure/cli/core/commands/__init__.py, ln 328, in __call__
    return self.handler(*args, **kwargs)
site-packages/azure/cli/core/__init__.py, ln 807, in default_command_handler
    return op(**command_args)
azure/cli/command_modules/acs/custom.py, ln 1507, in aks_check_acr
    kubectl_minor_version = int(kubectl_version["clientVersion"]["minor"])
ValueError: invalid literal for int() with base 10: '20+'

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 -n {} -g {} --acr {}

Expected Behavior

Environment Summary

macOS-10.15.7-x86_64-i386-64bit
Python 3.8.9
Installer: HOMEBREW

azure-cli 2.22.0 *

Additional Context

Author: purefun
Assignees: -
Labels:

AKS, Service Attention

Milestone: -

@yonzhan
Copy link
Collaborator

yonzhan commented Apr 20, 2021

route to service team

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
AKS az aks/acs/openshift Service Attention This issue is responsible by Azure service team.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants