-
Bug
-
Resolution: Done
-
High
-
Casablanca Release
-
None
Internally, Azure plugin uses aria orchestrator to parse the tosca template and create resources on Azure.
Aria will start an asynchronous process that will convert the node-templates to low-level REST APIs and send the request to azure.
With the plugin built on Django (using uwsgi for processing the requests) framework, the thread which is started by Aria is terminated with the below error stacktrace:
Traceback (most recent call last):
File "/tmp/pip-install-2LilPH/apache-ariatosca/aria/orchestrator/workflows/executor/process.py", line 350, in <module>
File "/tmp/pip-install-2LilPH/apache-ariatosca/aria/orchestrator/workflows/executor/process.py", line 347, in _main
File "/tmp/pip-install-2LilPH/apache-ariatosca/aria/orchestrator/workflows/executor/process.py", line 289, in failed
File "/tmp/pip-install-2LilPH/apache-ariatosca/aria/orchestrator/workflows/executor/process.py", line 308, in _send_message
AttributeError: 'LogRecord' object has no attribute 'task_id'
Tested the same flow using Flask and is working fine.