azure-cli 2.37.0-2 from debian unstable: API version 2021-08-01 does not have operation group 'network_interfaces'
See original GitHub issueDescribe the bug
Command Name
az vm list-ip-addresses
Errors:
The command failed with an unexpected error. Here is the traceback:
API version 2021-08-01 does not have operation group 'network_interfaces'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/knack/cli.py", line 231, 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/vm/custom.py", line 1281, in list_vm_ip_addresses
nics = network_client.network_interfaces.list_all()
File "/usr/lib/python3/dist-packages/azure/mgmt/network/_network_management_client.py", line 4475, in network_interfaces
raise ValueError("API version {} does not have operation group 'network_interfaces'".format(api_version))
ValueError: API version 2021-08-01 does not have operation group 'network_interfaces'
To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.
- Put any pre-requisite steps here…
az vm list-ip-addresses
Expected Behavior
Environment Summary
Linux-5.18.0-2-cloud-amd64-x86_64-with-glibc2.33, Debian GNU/Linux bookworm/sid
Python 3.10.5
Installer: DEB
azure-cli 2.37.0
Extensions:
azure-devops 0.24.0
Dependencies:
msal 1.18.0b1
azure-mgmt-resource 21.0.0
Additional Context
Issue Analytics
- State:
- Created a year ago
- Comments:15 (4 by maintainers)
Top Results From Across the Web
API version 2022-03-01 does not have operation group ...
I would suggest you use the below Azure Cli cmdlet to see the list of supported windows-11:win11-21h2-pro images to deploy a virtual machine....
Read more >azure-cli: az webapp commands failing: API version 2022-03 ...
Bug#1021338: azure-cli: az webapp commands failing: API version 2022-03-01 does not have operation group 'web_apps'. 11 views.
Read more >Release notes & updates – Azure CLI - Microsoft Learn
Learn about the latest Azure Command-Line Interface (CLI) release notes and updates for both the current and beta versions of the CLI.
Read more >Bugs in package azure-cli (version 2.42.0-1) in unstable
Debian Bug report logs: Bugs in package azure-cli (version 2.42.0-1) in unstable. Maintainers for azure-cli are Debian Python Team ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@zhoxing-ms, you are right.
2.37.0-2
is release by @bluca, not Microsoft.See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1014203 and https://github.com/Azure/azure-cli/issues/23094#issuecomment-1173262831