Azure / azure-cli

Azure Command-Line Interface
MIT License
4.01k stars 2.98k forks source link

isuues with azure cli postgres up #20122

Closed giovannidmilana closed 1 year ago

giovannidmilana commented 2 years ago

This is autogenerated. Please review and update as needed.

Describe the bug

Command Name az postgres up

Errors:

No module named 'azure.cli.core.local_context'
Traceback (most recent call last):
lib/python3/dist-packages/knack/cli.py, ln 206, in invoke
    cmd_result = self.invocation.execute(args)
azure/cli/core/commands/__init__.py, ln 528, in execute
    self.commands_loader.load_arguments(command)
dist-packages/azure/cli/core/__init__.py, ln 300, in load_arguments
    loader.load_arguments(command)  # this adds entries to the argument registries
.azure/cliextensions/db-up/azext_db_up/__init__.py, ln 27, in load_arguments
    from ._params import load_arguments
.azure/cliextensions/db-up/azext_db_up/_params.py, ln 7, in <module>
    from azure.cli.core.local_context import LocalContextAttribute, LocalContextAction
ModuleNotFoundError: No module named 'azure.cli.core.local_context'

To Reproduce:

Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

Expected Behavior

Environment Summary

Linux-5.11.0-38-generic-x86_64-with-glibc2.29
Python 3.8.10
Shell: bash

azure-cli 2.0.81

Extensions:
db-up 0.2.6

Additional Context

yonzhan commented 2 years ago

postgres up

RakeshMohanMSFT commented 1 year ago

This is working now. Please upgrade to latest version of azure cli 2.43.0