question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Webapp:Deploy of the .NET Core app failed

See original GitHub issue

This 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:closed
  • Created 3 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
Rinalcommented, Aug 28, 2020

We solved with another CLI command. Thank you!

0reactions
calvinsIDcommented, Aug 27, 2020

@Rinal can you please try with the latest CLI? I was unable to repro with v2.10.1

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found