Skip to content

Installing latest aks-preview fails because of a failing checksum #10101

Description

Describe the bug

Installing latest aks-preview fails because of a failing checksum.

Related command

az extension add --name aks-preview --upgrade

Errors

No stable version of 'aks-preview' to install. Preview versions allowed.
Extension 'aks-preview' 21.0.0b7 is already installed.
It will be overridden with version 21.0.0b9.
An error occurred whilst updating.
The checksum of the extension does not match the expected value. Use --debug for more information.
Failed to update. Rolled aks-preview back to 21.0.0b7.

Issue script & Debug output

cli.azure.cli.core.extension.operations: Backing up the current extension: /home/bert-blommers/.azure/cliextensions/aks-preview to /tmp/tmpnvs7j82f/aks-preview
cli.azure.cli.core.extension.operations: Extension source is url? True
cli.azure.cli.core.extension.operations: Downloading https://azcliprod.blob.core.windows.net/cli-extensions/aks_preview-21.0.0b9-py2.py3-none-any.whl to /tmp/tmpv3e1rhk5/aks_preview-21.0.0b9-py2.py3-none-any.whl
urllib3.connectionpool: Starting new HTTPS connection (1): azcliprod.blob.core.windows.net:443
urllib3.connectionpool: https://azcliprod.blob.core.windows.net:443 "GET /cli-extensions/aks_preview-21.0.0b9-py2.py3-none-any.whl HTTP/1.1" 200 841813
cli.azure.cli.core.extension.operations: Downloaded to /tmp/tmpv3e1rhk5/aks_preview-21.0.0b9-py2.py3-none-any.whl
cli.azure.cli.core.extension.operations: Validating the extension /tmp/tmpv3e1rhk5/aks_preview-21.0.0b9-py2.py3-none-any.whl
cli.azure.cli.core.extension.operations: Invalid checksum for /tmp/tmpv3e1rhk5/aks_preview-21.0.0b9-py2.py3-none-any.whl. Expected 'ff4b0191c48984656b48319b06c493952f021725c27bb6209ca28b17f0225427', computed 'ae64156264aefec1c46c6dcb56f2f6f01cde3e03188fcc5bdc37fd177def1854'.
cli.azure.cli.core.extension.operations: An error occurred whilst updating.
cli.azure.cli.core.extension.operations: The checksum of the extension does not match the expected value. Use --debug for more information.
cli.azure.cli.core.extension.operations: Copying /tmp/tmpnvs7j82f/aks-preview to /home/bert-blommers/.azure/cliextensions/aks-preview
cli.azure.cli.core.azclierror: Traceback (most recent call last):
File "/opt/az/lib/python3.14/site-packages/azure/cli/core/extension/operations.py", line 429, in update_extension
_add_whl_ext(cli_ctx=cmd_cli_ctx, source=download_url, ext_sha256=ext_sha256,
~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
pip_extra_index_urls=pip_extra_index_urls, pip_proxy=pip_proxy)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/az/lib/python3.14/site-packages/azure/cli/core/extension/operations.py", line 143, in _add_whl_ext
raise CLIError("The checksum of the extension does not match the expected value. "
"Use --debug for more information.")
knack.util.CLIError: The checksum of the extension does not match the expected value. Use --debug for more information.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/opt/az/lib/python3.14/site-packages/knack/cli.py", line 233, in invoke
cmd_result = self.invocation.execute(args)
File "/opt/az/lib/python3.14/site-packages/azure/cli/core/commands/init.py", line 677, in execute
raise ex
File "/opt/az/lib/python3.14/site-packages/azure/cli/core/commands/init.py", line 820, in _run_jobs_serially
results.append(self._run_job(expanded_arg, cmd_copy))
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/az/lib/python3.14/site-packages/azure/cli/core/commands/init.py", line 789, in _run_job
result = cmd_copy(params)
File "/opt/az/lib/python3.14/site-packages/azure/cli/core/commands/init.py", line 335, in call
return self.handler(*args, **kwargs)
~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
File "/opt/az/lib/python3.14/site-packages/azure/cli/core/commands/command_operation.py", line 120, in handler
return op(**command_args)
File "/opt/az/lib/python3.14/site-packages/azure/cli/command_modules/extension/custom.py", line 16, in add_extension_cmd
return add_extension(cli_ctx=cmd.cli_ctx, source=source, extension_name=extension_name, index_url=index_url,
yes=yes, pip_extra_index_urls=pip_extra_index_urls, pip_proxy=pip_proxy, system=system,
version=version, upgrade=upgrade, allow_preview=allow_preview)
File "/opt/az/lib/python3.14/site-packages/azure/cli/core/extension/operations.py", line 341, in add_extension
update_extension(cmd=cmd, extension_name=extension_name, index_url=index_url, pip_extra_index_urls=pip_extra_index_urls, pip_proxy=pip_proxy, cli_ctx=cli_ctx, version=ext_version, download_url=source, ext_sha256=ext_sha256)
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/az/lib/python3.14/site-packages/azure/cli/core/extension/operations.py", line 438, in update_extension
raise CLIError('Failed to update. Rolled {} back to {}.'.format(extension_name, cur_version))
knack.util.CLIError: Failed to update. Rolled aks-preview back to 21.0.0b7.

Expected behavior

To not fail

Environment Summary

azure-cli 2.88.0

core 2.88.0
telemetry 1.1.0

Extensions:
aks-preview 21.0.0b7
application-insights 1.2.3

Dependencies:
msal 1.36.0
azure-mgmt-resource 24.0.0

Python location '/opt/az/bin/python3'
Config directory '/home/name/.azure'
Extensions directory '/home/name/.azure/cliextensions'

Python (Linux) 3.14.5 (main, Jun 30 2026, 10:52:58) [GCC 13.3.0]

Additional context

Previous occurances:

#2302
#2313

Activity

  1. added
    bugThis issue requires a change to an existing behavior in the product in order to be resolved.
    on Jul 13, 2026
  2. added
    questionThe issue doesn't require a change to the product in order to be resolved. Most issues start as that
    customer-reportedIssues that are reported by GitHub users external to the Azure organization.
    on Jul 13, 2026
  3. added
    Service AttentionThis issue is responsible by Azure service team.
    and removed
    questionThe issue doesn't require a change to the product in order to be resolved. Most issues start as that
    on Jul 13, 2026
  4. yonzhan commented on Jul 13, 2026

    @yonzhan
    Collaborator

    aks-preview

  5. FumingZhang commented on Jul 14, 2026

    @FumingZhang
    Member

    the issue has been fixed in #10104

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    AKSService AttentionThis issue is responsible by Azure service team.bugThis issue requires a change to an existing behavior in the product in order to be resolved.customer-reportedIssues that are reported by GitHub users external to the Azure organization.extension/aks-preview

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions