azure-cli icon indicating copy to clipboard operation
azure-cli copied to clipboard

webapp config container set fail after network reset

Open gerhardcit opened this issue 6 years ago • 4 comments

This is autogenerated. Please review and update as needed.

Describe the bug

Command fails during network outage. Cannot run if again.

Command Name az webapp config container set

Errors:

'NoneType' object has no attribute 'reserved'
Traceback (most recent call last):
python3.7/site-packages/knack/cli.py, ln 206, in invoke
    cmd_result = self.invocation.execute(args)
cli/core/commands/__init__.py, ln 603, in execute
    raise ex
cli/core/commands/__init__.py, ln 661, in _run_jobs_serially
    results.append(self._run_job(expanded_arg, cmd_copy))
cli/core/commands/__init__.py, ln 654, in _run_job
    six.reraise(*sys.exc_info())
...
cli/command_modules/appservice/custom.py, ln 1049, in update_container_settings
    _add_fx_version(cmd, resource_group_name, name, docker_custom_image_name, slot)
cli/command_modules/appservice/custom.py, ln 804, in _add_fx_version
    linux_fx = fx_version if web_app.reserved else None
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 config container set --name {} --resource-group {} --docker-custom-image-name {}

Expected Behavior

Environment Summary

Darwin-18.7.0-x86_64-i386-64bit
Python 3.7.5
Shell: bash

azure-cli 2.0.77

Extensions:
front-door 1.0.2
webapp 0.2.24

Additional Context

gerhardcit avatar Dec 11 '19 14:12 gerhardcit

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @AzureAppServiceCLI @antcp

ghost avatar Dec 12 '19 06:12 ghost

Please re-try there is no change on our end here . Who re-trying run with --debug flag to get detailed errors.

panchagnula avatar Dec 17 '19 21:12 panchagnula

Closing since there was no update on this for more than 3 days. Please re-activate if this is still an issue. Thanks!

panchagnula avatar Dec 27 '19 00:12 panchagnula

I am experiencing the same error with the same az webapp config container set --name {} --resource-group {} --docker-custom-image-name {}. Is there any update?

JeffinBao avatar Apr 14 '20 17:04 JeffinBao