Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Listing public-ip failed #16875

Closed
lmcthbe opened this issue Feb 9, 2021 · 4 comments
Closed

Listing public-ip failed #16875

lmcthbe opened this issue Feb 9, 2021 · 4 comments
Assignees
Labels
feature-request Network az network vnet/lb/nic/dns/etc... OKR3.2 Candidate

Comments

@lmcthbe
Copy link

lmcthbe commented Feb 9, 2021

This is autogenerated. Please review and update as needed.

Describe the bug

Command Name
az network public-ip list

Errors:

cannot import name 'BatchManagementClient' from 'azure.mgmt.batch' (/usr/lib/python3/dist-packages/azure/mgmt/batch/__init__.py)
Traceback (most recent call last):
python3/dist-packages/knack/cli.py, ln 233, in invoke
    cmd_result = self.invocation.execute(args)
cli/core/commands/__init__.py, ln 558, in execute
    self.commands_loader.load_arguments(command)
...
network/private_link_resource_and_endpoint_connections/resource_providers/batch_provider.py, ln 6, in <module>
    from azure.mgmt.batch import BatchManagementClient
ImportError: cannot import name 'BatchManagementClient' from 'azure.mgmt.batch' (/usr/lib/python3/dist-packages/azure/mgmt/batch/__init__.py)

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 network public-ip list --subscription {}

Expected Behavior

Environment Summary

Linux-5.10.0-kali3-amd64-x86_64-with-glibc2.31
Python 3.9.1+
Installer: DEB

azure-cli 2.18.0 *

Extensions:
azure-devops 0.19.0

Additional Context

@ghost ghost added needs-triage This is a new issue that needs to be triaged to the appropriate team. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that labels Feb 9, 2021
@yonzhan yonzhan added the Network az network vnet/lb/nic/dns/etc... label Feb 9, 2021
@ghost ghost removed the needs-triage This is a new issue that needs to be triaged to the appropriate team. label Feb 9, 2021
@yonzhan yonzhan removed the question The issue doesn't require a change to the product in order to be resolved. Most issues start as that label Feb 9, 2021
@yonzhan yonzhan added this to the S184 milestone Feb 9, 2021
@yonzhan
Copy link
Collaborator

yonzhan commented Feb 9, 2021

network

@msyyc
Copy link
Member

msyyc commented Mar 18, 2021

I have a try and it works. Could you have a try to upgrade azure-cli ?

image

@yonzhan yonzhan modified the milestones: S185, S186 Apr 6, 2021
@yonzhan yonzhan modified the milestones: S186, S187 Apr 25, 2021
@yonzhan yonzhan assigned kairu-ms and unassigned msyyc May 21, 2021
@yonzhan yonzhan modified the milestones: S187, S188 May 21, 2021
@yonzhan yonzhan modified the milestones: S188, S189 Jun 13, 2021
@yonzhan yonzhan modified the milestones: S189, Jul 2021 (2021-08-03) Jul 2, 2021
@jsntcy jsntcy closed this as completed Jul 26, 2021
@jsntcy jsntcy reopened this Jul 26, 2021
@kairu-ms
Copy link
Contributor

Please upgrade your cli by command

az upgrade

@devigned
Copy link
Member

Similar: #19313

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request Network az network vnet/lb/nic/dns/etc... OKR3.2 Candidate
Projects
None yet
Development

No branches or pull requests

7 participants
@devigned @lmcthbe @jsntcy @yonzhan @kairu-ms @msyyc and others