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

MultiVIM broker does not support multipart/form-request

XMLWordPrintable

      Send a HTTP request to MultiVIM with content-type = multipart/form-data.

      The broker  is not able to forward this request to the plugin.  We are getting a Unicode error given below.

      This is required because a plugin accepts a tosca csar file with its related input as json. But the MultiVIM broker which does not seem to accept multipart/form-data request and is not able to forward the request to the plugin

       

      Below is the error trace:

      2018-03-09 05:00:39,952:[multivimbroker.pub.utils.restcall]:[restcall.py]-[63]

                 *[DEBUG]:request=https://aai-service.onap-aai:8443/aai/v11/cloud-infra*

      structure/cloud-regions/cloud-region/azure/azure)

      2018-03-09 12:32:02,874:[multivimbroker.forwarder.views]:[views.py]-[123]

            [DEBUG]:forward request

      2018-03-09 12:32:02,875:[multivimbroker.pub.utils.restcall]:[restcall.py]-[63]

                 *[DEBUG]:request=https://aai-service.onap-aai:8443/aai/v11/cloud-infra*

      structure/cloud-regions/cloud-region/azure/azure)

      2018-03-09 12:32:02,949:[multivimbroker.pub.utils.restcall]:[restcall.py]-[63]

                 *[DEBUG]:request=http://10.244.2.71:80/api/multicloud-azure/v0/azure_a*

      zure/createStack/servicestest2)

      2018-03-09 12:32:02,952:[multivimbroker.pub.utils.restcall]:[restcall.py]-[85]

                 [ERROR]:Traceback (most recent call last):

        File "/opt/multivimbroker/multivimbroker/pub/utils/restcall.py", line 81, in c

      all_req

          raise ex

      UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 178: ordina

      l not in range(128)

            avdhutk avdhutk
            avdhutk avdhutk
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: