Webapp:Deploy of the .NET Core app failed
See original GitHub issueThis is autogenerated. Please review and update as needed.
Describe the bug
Command Name
az webapp up
Errors:
'NoneType' object has no attribute 'reserved'
Traceback (most recent call last):
python3.8/site-packages/knack/cli.py, ln 215, in invoke
cmd_result = self.invocation.execute(args)
cli/core/commands/__init__.py, ln 654, in execute
raise ex
cli/core/commands/__init__.py, ln 718, in _run_jobs_serially
results.append(self._run_job(expanded_arg, cmd_copy))
cli/core/commands/__init__.py, ln 709, in _run_job
cmd_copy.exception_handler(ex)
...
cli/core/commands/__init__.py, ln 325, in __call__
return self.handler(*args, **kwargs)
azure/cli/core/__init__.py, ln 545, in default_command_handler
return op(**command_args)
cli/command_modules/appservice/custom.py, ln 3237, in webapp_up
current_os = 'Linux' if plan_info.reserved else 'Windows'
AttributeError: 'NoneType' object has no attribute 'reserved'
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 webapp up -n {} --resource-group {}
Expected Behavior
Environment Summary
macOS-10.15.4-x86_64-i386-64bit
Python 3.8.2
Installer: HOMEBREW
azure-cli 2.6.0
Additional Context
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Troubleshoot ASP.NET Core on Azure App Service and IIS
NET Core CLR in-process, but it fails to start. The cause of a process startup failure can usually be determined from entries in...
Read more >ASP.Net Core fails to publish to Azure App Service
Net Core web application (DotNetCore.1.0.1 VS2015Tools.Preview2.0.2) which I'm trying to publish to an Azure App Service via Visual Studio.
Read more >Deploying .NET application to Azure App Service using Azure ...
After deploying your app to Azure App Service you see an error that tells you nothing. It happens to everybody, and it might...
Read more >IIS Web App Deploy suddenly fails, self-hosted W2012R2 ...
Today our deployments from Azure DevOps to our self-hosted servers started to fail. The problem seems to be a new version of the...
Read more >Deploy .NET Core web application using GitHub Actions
I naively changed that to use 3.0 , but that run failed as well: you need to use the full SDK version, so...
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
We solved with another CLI command. Thank you!
@Rinal can you please try with the latest CLI? I was unable to repro with v2.10.1