Uploaded image for project: 'Virtual Function Controller'
  1. Virtual Function Controller
  2. VFC-1268

Error: Not authorized to use the API

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not a Bug
    • Icon: Medium Medium
    • Dublin Release
    • Casablanca Release
    • None

      When I onboard VNF in VFC, VFC send request to SDC get resources but with below error.

      I also use it in Casablanca Integration test. Does SDC new add authentication function?

      If you answer “YES”, can you teach me how to use it.

       

      2019-03-08 07:32:33|||||catalog.pub.utils.restcall||140289583507200||call_req||DEBUG||[56c417aa-4174-11e9-ae04-02b713e5f4e1]call_req('http://msb-iag:80/api','SDC','SDC',0,'/sdc/v1/catalog/resources','GET','')||||requestID= invocationID= serviceName= serviceIP=

      2019-03-08 07:32:34|||||catalog.pub.utils.restcall||140289583507200||call_req||DEBUG||[56c417aa-4174-11e9-ae04-02b713e5f4e1][0]status=403)||||requestID= invocationID= serviceName= serviceIP=

      2019-03-08 07:32:34|||||catalog.pub.utils.restcall||140289583507200||call_req||DEBUG||resp_body={

        "requestError": {

          "policyException":

      {       "messageId": "POL5003",       "text": "Error: Not authorized to use the API.",       "variables": []     }

        }

      }||||requestID= invocationID= serviceName= serviceIP=

      2019-03-08 07:32:34|||||catalog.pub.utils.restcall||140289583507200||call_req||DEBUG||[56c417aa-4174-11e9-ae04-02b713e5f4e1]ret=[1, u'{\n  "requestError": {\n    "policyException":

      {\n      "messageId": "POL5003",\n      "text": "Error: Not authorized to use the API.",\n      "variables": []\n    }

      \n  }\n}', '403']||||requestID= invocationID= serviceName= serviceIP=

      2019-03-08 07:32:34|||||catalog.pub.msapi.sdc||140289583507200||get_artifacts||ERROR||Status code is 403, detail is {

        "requestError": {

          "policyException":

      {       "messageId": "POL5003",       "text": "Error: Not authorized to use the API.",       "variables": []     }

        }

      }.||||requestID= invocationID= serviceName= serviceIP=

            yangyan yangyan
            haibin haibin
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: