Uploaded image for project: 'Multicloud'
  1. Multicloud
  2. MULTICLOUD-385

azure-plugin not sending REST calls to Azure cloud

XMLWordPrintable

      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. 

       

       

            tinni2806 tinni2806
            sudhakarreddy sudhakarreddy
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: