Azure / Azure/azure-cli

azure-cli 2.37.0-2 from debian unstable: API version 2021-08-01 does not have operation group 'network_interfaces'

Open
#23,094 16 comments 0 reactions 0 assignees View on GitHub
Auto-Assign customer-reported needs-team-attention Service Attention
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

## Describe 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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.