Describe the bug
Installing the azure-firewall CLI extension version 2.2.1 fails with a checksum
mismatch. The sha256Digest recorded in the extension index does not match the
SHA-256 of the actual .whl published in blob storage, so az extension add aborts.
Version 2.2.0 installs correctly, so this is specific to the 2.2.1 release
artifact/index entry.
Related command
az extension add --name azure-firewall --version 2.2.1
Errors
ERROR: The checksum of the extension does not match the expected value. Use --debug for more information.
Issue script & Debug output
DEBUG: cli.azure.cli.core.extension._resolve: Chosen {'downloadUrl': 'https://azcliprod.blob.core.windows.net/cli-extensions/azure_firewall-2.2.1-py2.py3-none-any.whl', ... 'version': '2.2.1'}, 'sha256Digest': '1ff948c19b1579a0ee650595fb261cf7ac281a3dd60e461a501db942228e6f58'}
DEBUG: cli.azure.cli.core.extension.operations: Invalid checksum for ...\azure_firewall-2.2.1-py2.py3-none-any.whl. Expected '1ff948c19b1579a0ee650595fb261cf7ac281a3dd60e461a501db942228e6f58', computed 'ab86a2d1412ba8a23dec0f0e678fc992e4f540b38a6b7eab6193c8b62bb5afdb'.
knack.util.CLIError: The checksum of the extension does not match the expected value. Use --debug for more information.
Details:
The mismatch indicates the published .whl and the index entry are out of sync
(the blob was likely re-uploaded without updating the index sha256Digest, or vice versa).
Expected behavior
az extension add --name azure-firewall --version 2.2.1 installs successfully,
i.e. the index sha256Digest matches the SHA-256 of the published .whl.
Environment Summary
{
"azure-cli": "2.88.0",
"azure-cli-core": "2.88.0",
"azure-cli-telemetry": "1.1.0",
"extensions": {
"azure-devops": "1.0.5",
"storage-preview": "1.0.0b8"
}
}
Additional context
No response
Describe the bug
Installing the
azure-firewallCLI extension version 2.2.1 fails with a checksummismatch. The
sha256Digestrecorded in the extension index does not match theSHA-256 of the actual
.whlpublished in blob storage, soaz extension addaborts.Version 2.2.0 installs correctly, so this is specific to the 2.2.1 release
artifact/index entry.
Related command
az extension add --name azure-firewall --version 2.2.1Errors
Issue script & Debug output
Details:
1ff948c19b1579a0ee650595fb261cf7ac281a3dd60e461a501db942228e6f58ab86a2d1412ba8a23dec0f0e678fc992e4f540b38a6b7eab6193c8b62bb5afdbThe mismatch indicates the published
.whland the index entry are out of sync(the blob was likely re-uploaded without updating the index
sha256Digest, or vice versa).Expected behavior
az extension add --name azure-firewall --version 2.2.1installs successfully,i.e. the index
sha256Digestmatches the SHA-256 of the published.whl.Environment Summary
{
"azure-cli": "2.88.0",
"azure-cli-core": "2.88.0",
"azure-cli-telemetry": "1.1.0",
"extensions": {
"azure-devops": "1.0.5",
"storage-preview": "1.0.0b8"
}
}
Additional context
No response