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 scale fails with "The value of parameter imageReference.version is invalid"

See original GitHub issue

Describe the bug

Following command fails to scale the windows node pool. However, scaling operation from the portal succeeds.

AKS Version: 1.16.10 Windows Nodepool Version: 1.16.10

Command az aks scale -g <cluster-rg> -n <clustername> --node-count 2 --nodepool-name <windows node pool> --debug

Errors:

Operation failed with status: 'Bad Request'. Details: Provisioning of resource(s) for container service <clustername> in resource group <clustername-rg> failed. Message: Resource 'aksf3aa10e1-0cb9-4505-9b0b-6cf5e8f049ba' has invalid parameters. Details: The value of parameter imageReference.version is invalid.. Details:

To Reproduce:

Deploy an AKS cluster version 1.16.10 using portal Add a windows nodepool with one node Scale with above command

Expected Behavior

The nodepool should scale to 2 nodes

Environment Summary

AKS Version: 1.16.10
Windows Nodepool Version: 1.16.10

CLI details:
Linux-4.15.0-1092-azure-x86_64-with-debian-stretch-sid (Cloud Shell)
Python 3.6.10
Installer: DEB

azure-cli 2.9.0 *

Additional Context

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
dineshsharmadscommented, Aug 5, 2020

Turns out this is a known CLI issue and fix is ready and pending deployment. To work around the issue, you may use az aks nodepool scale, same as the API used by Azure portal.

1reaction
dineshsharmadscommented, Aug 4, 2020

Thanks @TomGeske I have opened a support case.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Troubleshoot the InvalidParameter error code - Azure
Learn how to troubleshoot the InvalidParameter error when you try to create and deploy an Azure Kubernetes Service (AKS) cluster.
Read more >
Receiving a 'Invalid Parameter' SKU error when trying to ...
I am a beginner learning Terraform and need some advice. I am trying to create a Linux VM Scale Set in ...
Read more >
azure-cli · PyPI
A great cloud needs great tools; we're excited to introduce Azure CLI, our next generation multi-platform command line experience for Azure. Usage. $...
Read more >
Resource logs in Virtual Machine Scale Sets should be enabled
Resource logs in Virtual Machine Scale Sets should be enabled ... imageReference.sku properties.creationData.imageReference.id, false false false ...
Read more >
Is version mandatory while creating an Azure VM using ...
Yeah they do have versions but it is not attached as it is for Microsoft Platform ... value of parameter imageReference.version is invalid....
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