ValueError
for az aks check-acr
with AKS 1.27.100 LTS
.
#30667
Labels
AKS
az aks/acs/openshift
Auto-Assign
Auto assign by bot
bug
This issue requires a change to an existing behavior in the product in order to be resolved.
Service Attention
This issue is responsible by Azure service team.
Describe the bug
I have an ACR attached to a version
1.27.100 LTS
AKS cluster. When runningaz aks check-acr
, getting the errorValueError: invalid literal for int() with base 10: '100-akslts'
.Related command
az aks check-acr --resource-group <MyResourceGroup> --name <MyManagedCluster> --acr <myacr>.azurecr.io
Errors
Issue script & Debug output
Expected behavior
A sample output of a working scenario:
Environment Summary
Additional context
The line returning error: azure-cli/src/azure-cli/azure/cli/command_modules/acs/custom.py#L1637 · Azure/azure-cli
When retrieving serverVersion.gitVersion from
kubectl version -o json --kubeconfig ~/.kube/config
, gettingv1.27.100-akslts
.The issue is not seen with a version
1.30.0 LTS
AKS cluster. For1.30.0 LTS
AKS cluster, gettingv1.30.0
.The text was updated successfully, but these errors were encountered: