Skip to content

az network ip-group show fails with CredentialAdaptor error Azure CLI 2.70.0 #8563

@yoshit333

Description

@yoshit333

This is autogenerated. Please review and update as needed.

Describe the bug

The az network ip-group show command fails on Azure CLI version 2.70.0

Command Name
az network ip-group show Extension Name: ip-group. Version: 0.1.1.

Errors:

The command failed with an unexpected error. Here is the traceback:
'CredentialAdaptor' object has no attribute 'signed_session'
Traceback (most recent call last):
  File "/usr/lib64/az/lib/python3.9/site-packages/knack/cli.py", line 233, in invoke
    cmd_result = self.invocation.execute(args)
  File "/usr/lib64/az/lib/python3.9/site-packages/azure/cli/core/commands/__init__.py", line 666, in execute
    raise ex
  File "/usr/lib64/az/lib/python3.9/site-packages/azure/cli/core/commands/__init__.py", line 734, in _run_jobs_serially
    results.append(self._run_job(expanded_arg, cmd_copy))
  File "/usr/lib64/az/lib/python3.9/site-packages/azure/cli/core/commands/__init__.py", line 703, in _run_job
    result = cmd_copy(params)
  File "/usr/lib64/az/lib/python3.9/site-packages/azure/cli/core/commands/__init__.py", line 336, in __call__
    return self.handler(*args, **kwargs)
  File "/usr/lib64/az/lib/python3.9/site-packages/azure/cli/core/commands/command_operation.py", line 362, in handler
    show_exception_handler(ex)
  File "/usr/lib64/az/lib/python3.9/site-packages/azure/cli/core/commands/arm.py", line 432, in show_exception_handler
    raise ex
  File "/usr/lib64/az/lib/python3.9/site-packages/azure/cli/core/commands/command_operation.py", line 360, in handler
    return op(**command_args)
  File "/home/yoshi/.azure/cliextensions/ip-group/azext_ip_group/vendored_sdks/v2019_09_01/operations/_ip_groups_operations.py", line 92, in get
    response = self._client.send(request, stream=False, **operation_config)
  File "/usr/lib64/az/lib/python3.9/site-packages/msrest/service_client.py", line 336, in send
    pipeline_response = self.config.pipeline.run(request, **kwargs)
  File "/usr/lib64/az/lib/python3.9/site-packages/msrest/pipeline/__init__.py", line 197, in run
    return first_node.send(pipeline_request, **kwargs)  # type: ignore
  File "/usr/lib64/az/lib/python3.9/site-packages/msrest/pipeline/__init__.py", line 150, in send
    response = self.next.send(request, **kwargs)
  File "/usr/lib64/az/lib/python3.9/site-packages/msrest/pipeline/requests.py", line 65, in send
    self._creds.signed_session(session)
AttributeError: 'CredentialAdaptor' object has no attribute 'signed_session'

To Reproduce:

Steps to reproduce:

Install Azure CLI 2.70.0
Install Azure CLI and ip-group extension
Login using az login
Run: az network ip-group show --name --resource-group
Observe the CredentialAdaptor error

Expected Behavior

The command should retrieve the IP Group information successfully, as it does in Azure CLI 2.69.0.

Environment Summary

Linux-6.1.124.1-microsoft-standard-x86_64-with-glibc2.35 (Cloud Shell), CBL-Mariner/Linux
Python 3.9.19
Installer: RPM

azure-cli 2.70.0

Extensions:
ai-examples 0.2.5
ip-group 0.1.1
ml 2.35.0
ssh 2.0.6

Dependencies:
msal 1.31.2b1
azure-mgmt-resource 23.1.1

Additional Context

Metadata

Metadata

Assignees

Labels

Auto-AssignAuto assign by botAzure CLI TeamThe command of the issue is owned by Azure CLI teamNetworkcustomer-reportedIssues that are reported by GitHub users external to the Azure organization.questionThe issue doesn't require a change to the product in order to be resolved. Most issues start as that

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions