Not working: `az webapp`
See original GitHub issueThis is autogenerated. Please review and update as needed.
Describe the bug
Command Name
az webapp
Errors:
The command failed with an unexpected error. Here is the traceback:
No module named 'vsts_cd_manager'
Traceback (most recent call last):
File "/opt/az/lib/python3.8/site-packages/knack/cli.py", line 231, in invoke
cmd_result = self.invocation.execute(args)
File "/opt/az/lib/python3.8/site-packages/azure/cli/core/commands/__init__.py", line 583, in execute
parsed_args = self.parser.parse_args(args)
File "/opt/az/lib/python3.8/site-packages/knack/parser.py", line 261, in parse_args
return super().parse_args(args)
File "/opt/az/lib/python3.8/argparse.py", line 1768, in parse_args
args, argv = self.parse_known_args(args, namespace)
File "/opt/az/lib/python3.8/site-packages/azure/cli/core/parser.py", line 284, in parse_known_args
self._namespace, self._raw_arguments = super().parse_known_args(args=args, namespace=namespace)
File "/opt/az/lib/python3.8/argparse.py", line 1800, in parse_known_args
namespace, args = self._parse_known_args(args, namespace)
File "/opt/az/lib/python3.8/argparse.py", line 1988, in _parse_known_args
positionals_end_index = consume_positionals(start_index)
File "/opt/az/lib/python3.8/argparse.py", line 1965, in consume_positionals
take_action(action, args)
File "/opt/az/lib/python3.8/argparse.py", line 1874, in take_action
action(self, namespace, argument_values, option_string)
File "/opt/az/lib/python3.8/argparse.py", line 1159, in __call__
subnamespace, arg_strings = parser.parse_known_args(arg_strings, None)
File "/opt/az/lib/python3.8/site-packages/azure/cli/core/parser.py", line 284, in parse_known_args
self._namespace, self._raw_arguments = super().parse_known_args(args=args, namespace=namespace)
File "/opt/az/lib/python3.8/argparse.py", line 1800, in parse_known_args
namespace, args = self._parse_known_args(args, namespace)
File "/opt/az/lib/python3.8/argparse.py", line 2006, in _parse_known_args
start_index = consume_optional(start_index)
File "/opt/az/lib/python3.8/argparse.py", line 1946, in consume_optional
take_action(action, args, option_string)
File "/opt/az/lib/python3.8/argparse.py", line 1874, in take_action
action(self, namespace, argument_values, option_string)
File "/opt/az/lib/python3.8/argparse.py", line 1044, in __call__
parser.print_help()
File "/opt/az/lib/python3.8/argparse.py", line 2494, in print_help
self._print_message(self.format_help(), file)
File "/opt/az/lib/python3.8/site-packages/azure/cli/core/parser.py", line 195, in format_help
super(AzCliCommandParser, self).format_help()
File "/opt/az/lib/python3.8/site-packages/knack/parser.py", line 248, in format_help
self.cli_help.show_help(self.prog.split()[0],
File "/opt/az/lib/python3.8/site-packages/azure/cli/core/_help.py", line 165, in show_help
else self.group_help_cls(self, delimiters, parser)
File "/opt/az/lib/python3.8/site-packages/knack/help.py", line 253, in __init__
child.load(options)
File "/opt/az/lib/python3.8/site-packages/azure/cli/core/_help.py", line 303, in load
loader.versioned_load(self, options)
File "/opt/az/lib/python3.8/site-packages/azure/cli/core/_help_loaders.py", line 154, in versioned_load
super(CliHelpFile, help_obj).load(parser) # pylint:disable=bad-super-call
File "/opt/az/lib/python3.8/site-packages/knack/help.py", line 198, in load
description = getattr(options, 'description', None)
File "/opt/az/lib/python3.8/site-packages/knack/parser.py", line 241, in __getattribute__
self.description = self._description() \
File "/opt/az/lib/python3.8/site-packages/azure/cli/core/commands/command_operation.py", line 133, in description_loader
op = self.get_op_handler(self.op_path)
File "/opt/az/lib/python3.8/site-packages/azure/cli/core/commands/command_operation.py", line 59, in get_op_handler
handler = import_module(mod_to_import)
File "/opt/az/lib/python3.8/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
File "<frozen importlib._bootstrap>", line 991, in _find_and_load
File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 843, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/home/tkmbmbr/.azure/cliextensions/appservice-kube/azext_appservice_kube/custom.py", line 90, in <module>
from .vsts_cd_provider import VstsContinuousDeliveryProvider
File "/home/tkmbmbr/.azure/cliextensions/appservice-kube/azext_appservice_kube/vsts_cd_provider.py", line 8, in <module>
from vsts_cd_manager.continuous_delivery_manager import ContinuousDeliveryManager
ModuleNotFoundError: No module named 'vsts_cd_manager'
To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.
- Open Cloud Shell on https://docs.microsoft.com/ja-jp/azure/app-service/tutorial-connect-msi-sql-database?tabs=windowsclient%2Cefcore%2Cdotnet#code-try-9 .
- Type and Run
az webapp -h
.
Expected Behavior
Show az webapp
help.
Environment Summary
Linux-5.4.0-1077-azure-x86_64-with-glibc2.28 (Cloud Shell), Common Base Linux Delridge (quinault)
Python 3.8.13
Installer: DEB
azure-cli 2.36.0
Extensions:
aks-preview 0.5.31
spring-cloud 2.8.0
customlocation 0.1.2
connectedk8s 1.1.10
appservice-kube 0.1.20
k8s-extension 0.7.0
ai-examples 0.2.5
ssh 1.1.0
Dependencies:
msal 1.17.0
azure-mgmt-resource 20.0.0
Additional Context
Issue Analytics
- State:
- Created a year ago
- Comments:9 (5 by maintainers)
Top Results From Across the Web
`az webapp up` no longer works from dotnet publish directory
I applied the dotnet publish command and tried to run az webapp run from the published folder but the result was the same...
Read more >WebApp:az webapp up not working: interference with ... - GitHub
Describe the bug. az webapp up is not working. interference on the deployment in visual studio code, as well as cloud shell and...
Read more >az webapp | Microsoft Learn
Manage webapp authentication and authorization. To use v2 auth commands, run "az extension add --name authV2" to add the authV2 CLI extension.
Read more >Fixing an Azure web app zip deployment issue - Blimped
My Azure DevOps pipeline recently stopped zipdeploying to Azure App Service. This is how I fixed it.
Read more >Azure Web App Not Updating After Publish | How2Code.info
Also make sure you aren't connected through a web proxy that is caching your web app. Step 3 - File Locking Issues. File...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@tsubakimoto Glad to hear that the issue is resolved. Closing the issue.
@RakeshMohanMSFT Thank you so much. I upgraded
appservice-kube
and this error is fixed!Azure CLI version is below.