-
Notifications
You must be signed in to change notification settings - Fork 3.4k
AttributeError: 'NetworkProfile' object has no attribute #16499
Copy link
Copy link
Closed
Labels
Container Instancesaz containeraz containerError HandlingService AttentionThis issue is responsible by Azure service team.This issue is responsible by Azure service team.
Description
Hi,
I am trying to create an ACI in a VNet in West Europe (a supported region for this scenario) and on the first run I see the following error message.
If I run the command a second time it succeeds.
This is autogenerated. Please review and update as needed.
Describe the bug
Command Name
az container create
Errors:
'NetworkProfile' object has no attribute 'result'
Traceback (most recent call last):
Local\Temp\pip-unpacked-wheel-rpp6y7vh\knack\cli.py, ln 215, in invoke
azure\cli\core\commands\__init__.py, ln 659, in execute
azure\cli\core\commands\__init__.py, ln 722, in _run_jobs_serially
azure\cli\core\commands\__init__.py, ln 715, in _run_job
AppData\Local\Temp\pip-unpacked-wheel-igh1xymj\six.py, ln 703, in reraise
azure\cli\core\commands\__init__.py, ln 693, in _run_job
azure\cli\core\commands\__init__.py, ln 330, in __call__
pip-unpacked-wheel-34tyr6f2\azure\cli\core\__init__.py, ln 784, in default_command_handler
azure\cli\command_modules\container\custom.py, ln 190, in create_container
azure\cli\command_modules\container\custom.py, ln 348, in _get_vnet_network_profile
AttributeError: 'NetworkProfile' object has no attribute 'result'
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 container create --resource-group {} --name {} --image {} --vnet {} --subnet {}
Expected Behavior
Environment Summary
Windows-10-10.0.19041-SP0
Python 3.6.8
Installer: MSI
azure-cli 2.17.1
Extensions:
aks-preview 0.4.71
Additional Context
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Container Instancesaz containeraz containerError HandlingService AttentionThis issue is responsible by Azure service team.This issue is responsible by Azure service team.