Package: azure-cli
Version: 2.40.0-1
Severity: normal
Dear Maintainer,
az webapp commands are failing with the following stack trace:
$ az webapp list
The command failed with an unexpected error. Here is the traceback:
API version 2022-03-01 does not have operation group 'web_apps'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/knack/cli.py", line 233, in invoke
cmd_result = self.invocation.execute(args)
File "/usr/lib/python3/dist-packages/azure/cli/core/commands/__init__.py", line 663, in execute
raise ex
File "/usr/lib/python3/dist-packages/azure/cli/core/commands/__init__.py", line 726, in _run_jobs_serially
results.append(self._run_job(expanded_arg, cmd_copy))
File "/usr/lib/python3/dist-packages/azure/cli/core/commands/__init__.py", line 697, in _run_job
result = cmd_copy(params)
File "/usr/lib/python3/dist-packages/azure/cli/core/commands/__init__.py", line 333, in __call__
return self.handler(*args, **kwargs)
File "/usr/lib/python3/dist-packages/azure/cli/core/commands/command_operation.py", line 121, in handler
return op(**command_args)
File "/usr/lib/python3/dist-packages/azure/cli/command_modules/appservice/custom.py", line 967, in list_webapp
full_list = _list_app(cmd.cli_ctx, resource_group_name)
File "/usr/lib/python3/dist-packages/azure/cli/command_modules/appservice/custom.py", line 1006, in _list_app
result = list(client.web_apps.list())
File "/usr/lib/python3/dist-packages/azure/mgmt/web/_web_site_management_client.py", line 804, in web_apps
raise ValueError("API version {} does not have operation group 'web_apps'".format(api_version))
ValueError: API version 2022-03-01 does not have operation group 'web_apps'
According to this issue raised in the github project page, doing an install with the
non-Debian installer fixes the issue. Which seems to indicate that this package is in
need of an update.
https://github.com/Azure/azure-cli/issues/23848
-- System Information:
Debian Release: bookworm/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Versions of packages azure-cli depends on:
ii python3 3.10.6-1
ii python3-azure-cli 2.40.0-1