Latest `redisenterprise` module attempts to use API that is not available
Describe the bug
Version 1.1.0 of the redisenterprise module appears to be trying to use API version 2024-09-01-preview, that is not currently available.
Related command
az redisenterprise show
Errors
(NoRegisteredProviderFound) No registered resource provider found for location 'uksouth' and API version '2024-09-01-preview' for type 'redisEnterprise'. The supported api-versions are '2024-06-01-preview, 2024-03-01-preview, 2024-02-01, 2023-11-01, 2023-10-01-preview, 2023-07-01, 2023-03-01-preview, 2022-11-01-preview, 2022-01-01, 2021-08-01, 2021-03-01, 2021-02-01-preview, 2020-04-01-preview, 2020-10-01-preview'. The supported locations are 'eastus, swedencentral, westeurope, westus, eastus2, westus2, westus3, northcentralus, southcentralus, uksouth, southeastasia, australiaeast, northeurope, centralus, centralindia, westcentralus, canadacentral, brazilsouth, japaneast, eastasia, germanywestcentral'. Code: NoRegisteredProviderFound Message: No registered resource provider found for location 'uksouth' and API version '2024-09-01-preview' for type 'redisEnterprise'. The supported api-versions are '2024-06-01-preview, 2024-03-01-preview, 2024-02-01, 2023-11-01, 2023-10-01-preview, 2023-07-01, 2023-03-01-preview, 2022-11-01-preview, 2022-01-01, 2021-08-01, 2021-03-01, 2021-02-01-preview, 2020-04-01-preview, 2020-10-01-preview'. The supported locations are 'eastus, swedencentral, westeurope, westus, eastus2, westus2, westus3, northcentralus, southcentralus, uksouth, southeastasia, australiaeast, northeurope, centralus, centralindia, westcentralus, canadacentral, brazilsouth, japaneast, eastasia, germanywestcentral'.
Issue script & Debug output
DEBUG: cli.knack.cli: Command arguments: ['redisenterprise', 'show', '-g', 'XXX', '-n', 'XXX', '--debug']
DEBUG: cli.knack.cli: init debug log:
Cannot enable color.
DEBUG: cli.knack.cli: Event: Cli.PreExecute []
DEBUG: cli.knack.cli: Event: CommandParser.OnGlobalArgumentsCreate [<function CLILogging.on_global_arguments at 0x7f29c43f80e0>, <function OutputProducer.on_global_arguments at 0x7f29c43a62a0>, <function CLIQuery.on_global_arguments at 0x7f29c41bbd80>]
DEBUG: cli.knack.cli: Event: CommandInvoker.OnPreCommandTableCreate []
DEBUG: cli.azure.cli.core: Modules found from index for 'redisenterprise': ['azext_redisenterprise']
DEBUG: cli.azure.cli.core: Loading command modules:
DEBUG: cli.azure.cli.core: Name Load Time Groups Commands
DEBUG: cli.azure.cli.core: Total (0) 0.000 0 0
DEBUG: cli.azure.cli.core: These extensions are not installed and will be skipped: ['azext_ai_examples', 'azext_next']
DEBUG: cli.azure.cli.core: Loading extensions:
DEBUG: cli.azure.cli.core: Name Load Time Groups Commands Directory
DEBUG: cli.azure.cli.core: redisenterprise 0.132 3 18 /home/chris.butler/.azure/cliextensions/redisenterprise
DEBUG: cli.azure.cli.core: Total (1) 0.132 3 18
DEBUG: cli.azure.cli.core: Loaded 3 groups, 18 commands.
DEBUG: cli.azure.cli.core: Found a match in the command table.
DEBUG: cli.azure.cli.core: Raw command : redisenterprise show
DEBUG: cli.azure.cli.core: Command table: redisenterprise show
DEBUG: cli.knack.cli: Event: CommandInvoker.OnPreCommandTableTruncate [<function AzCliLogging.init_command_file_logging at 0x7f29c3480ea0>]
DEBUG: cli.azure.cli.core.azlogging: metadata file logging enabled - writing logs to '/home/chris.butler/.azure/commands/2024-09-26.19-57-35.redisenterprise_show.3828388.log'.
INFO: az_command_data_logger: command args: redisenterprise show -g {} -n {} --debug
DEBUG: cli.knack.cli: Event: CommandInvoker.OnPreArgumentLoad [<function register_global_subscription_argument.
ERROR: cli.azure.cli.core.azclierror: (NoRegisteredProviderFound) No registered resource provider found for location 'uksouth' and API version '2024-09-01-preview' for type 'redisEnterprise'. The supported api-versions are '2024-06-01-preview, 2024-03-01-preview, 2024-02-01, 2023-11-01, 2023-10-01-preview, 2023-07-01, 2023-03-01-preview, 2022-11-01-preview, 2022-01-01, 2021-08-01, 2021-03-01, 2021-02-01-preview, 2020-04-01-preview, 2020-10-01-preview'. The supported locations are 'eastus, swedencentral, westeurope, westus, eastus2, westus2, westus3, northcentralus, southcentralus, uksouth, southeastasia, australiaeast, northeurope, centralus, centralindia, westcentralus, canadacentral, brazilsouth, japaneast, eastasia, germanywestcentral'. Code: NoRegisteredProviderFound Message: No registered resource provider found for location 'uksouth' and API version '2024-09-01-preview' for type 'redisEnterprise'. The supported api-versions are '2024-06-01-preview, 2024-03-01-preview, 2024-02-01, 2023-11-01, 2023-10-01-preview, 2023-07-01, 2023-03-01-preview, 2022-11-01-preview, 2022-01-01, 2021-08-01, 2021-03-01, 2021-02-01-preview, 2020-04-01-preview, 2020-10-01-preview'. The supported locations are 'eastus, swedencentral, westeurope, westus, eastus2, westus2, westus3, northcentralus, southcentralus, uksouth, southeastasia, australiaeast, northeurope, centralus, centralindia, westcentralus, canadacentral, brazilsouth, japaneast, eastasia, germanywestcentral'. ERROR: az_command_data_logger: (NoRegisteredProviderFound) No registered resource provider found for location 'uksouth' and API version '2024-09-01-preview' for type 'redisEnterprise'. The supported api-versions are '2024-06-01-preview, 2024-03-01-preview, 2024-02-01, 2023-11-01, 2023-10-01-preview, 2023-07-01, 2023-03-01-preview, 2022-11-01-preview, 2022-01-01, 2021-08-01, 2021-03-01, 2021-02-01-preview, 2020-04-01-preview, 2020-10-01-preview'. The supported locations are 'eastus, swedencentral, westeurope, westus, eastus2, westus2, westus3, northcentralus, southcentralus, uksouth, southeastasia, australiaeast, northeurope, centralus, centralindia, westcentralus, canadacentral, brazilsouth, japaneast, eastasia, germanywestcentral'. Code: NoRegisteredProviderFound Message: No registered resource provider found for location 'uksouth' and API version '2024-09-01-preview' for type 'redisEnterprise'. The supported api-versions are '2024-06-01-preview, 2024-03-01-preview, 2024-02-01, 2023-11-01, 2023-10-01-preview, 2023-07-01, 2023-03-01-preview, 2022-11-01-preview, 2022-01-01, 2021-08-01, 2021-03-01, 2021-02-01-preview, 2020-04-01-preview, 2020-10-01-preview'. The supported locations are 'eastus, swedencentral, westeurope, westus, eastus2, westus2, westus3, northcentralus, southcentralus, uksouth, southeastasia, australiaeast, northeurope, centralus, centralindia, westcentralus, canadacentral, brazilsouth, japaneast, eastasia, germanywestcentral'. DEBUG: cli.knack.cli: Event: Cli.PostExecute [<function AzCliLogging.deinit_cmd_metadata_logging at 0x7f29c3481120>] INFO: az_command_data_logger: exit code: 1 INFO: cli.main: Command ran in 0.578 seconds (init: 0.248, invoke: 0.329) INFO: telemetry.main: Begin splitting cli events and extra events, total events: 1 INFO: telemetry.client: Accumulated 0 events. Flush the clients. INFO: telemetry.main: Finish splitting cli events and extra events, cli events: 1 INFO: telemetry.save: Save telemetry record of length 5332 in cache INFO: telemetry.main: Begin creating telemetry upload process. INFO: telemetry.process: Creating upload process: "/opt/az/bin/python3 /opt/az/lib/python3.11/site-packages/azure/cli/telemetry/init.py /home/chris.butler/.azure" INFO: telemetry.process: Return from creating process INFO: telemetry.main: Finish creating telemetry upload process.
Expected behavior
Expected to obtain details of our Redis Enterprise cache resource
Environment Summary
azure-cli 2.61.0 *
core 2.61.0 * telemetry 1.1.0
Extensions: redisenterprise 1.1.0
Dependencies: msal 1.28.0 azure-mgmt-resource 23.1.1
Python location '/opt/az/bin/python3' Extensions directory '/home/chris.butler/.azure/cliextensions' Python (Linux) 3.11.8 (main, May 16 2024, 03:47:41) [GCC 9.4.0]
Legal docs and information: aka.ms/AzureCliLegal
You have 2 update(s) available. Consider updating your CLI installation with 'az upgrade'
Additional context
No response
Thank you for opening this issue, we will look into it.
Pls revert to old version, we are working on fixing this:
This issue is applicable to both 1.1.0 and 1.2.0. Pls use 1.0.0 meanwhile until this bug is closed.