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

Can't list HTTP settings by CLI on my machine #18714

Closed
doanhathanh opened this issue Jul 2, 2021 · 3 comments
Closed

Can't list HTTP settings by CLI on my machine #18714

doanhathanh opened this issue Jul 2, 2021 · 3 comments
Assignees
Labels
Network az network vnet/lb/nic/dns/etc...

Comments

@doanhathanh
Copy link

This is autogenerated. Please review and update as needed.

Describe the bug

Command Name
az network application-gateway http-settings 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 application-gateway http-settings list -g {} --gateway-name {}

Expected Behavior

Environment Summary

Linux-5.11.0-22-generic-x86_64-with-glibc2.33
Python 3.9.5
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 Jul 2, 2021
@yonzhan yonzhan added the Network az network vnet/lb/nic/dns/etc... label Jul 2, 2021
@ghost ghost removed the needs-triage This is a new issue that needs to be triaged to the appropriate team. label Jul 2, 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 Jul 2, 2021
@yonzhan yonzhan added this to the S189 milestone Jul 2, 2021
@yonzhan
Copy link
Collaborator

yonzhan commented Jul 2, 2021

network

@yonzhan yonzhan modified the milestones: S189, Jul 2021 (2021-08-03) Jul 2, 2021
@kairu-ms
Copy link
Contributor

kairu-ms commented Jul 7, 2021

Please update azure cli by the following command

az upgrade

@kairu-ms kairu-ms closed this as completed Jul 7, 2021
@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
Network az network vnet/lb/nic/dns/etc...
Projects
None yet
Development

No branches or pull requests

4 participants