Uploaded image for project: 'Optimization Framework'
  1. Optimization Framework
  2. OPTFRA-750

Error 401 Unauthorized on OOF placement call for HPA

XMLWordPrintable

      Working on testing HPA placement.  The POST call of SO to oof is returning with an error.

      maybe there's just some configuration needs to be fixed?

      (i tried changing SO configmap for oof auth from 'test:testpwd' to 'so_test:so_testpwd' - same result either way)

      Log snip below,  log files from OSDF and SO BPMN attached.

       

       

      Posting to OOF Url: https://oof-osdf.onap:8698/api/oof/v1/placement

      Response from method:POST performed on uri:https://oof-osdf.onap:8698/api/oof/v1/placement has http status code:400 and response headers:

      {Content-Length=[860 ], content-type=[application/json; charset=utf-8], Date=[Tue, 05 May 2020 21:40:59 GMT], Server=[Werkzeug/1.0.1 Python/3.5.2]}

      2020-05-05T21:40:59.169Z|92400b05-9805-4f5d-b446-297a39aa6fec|o.o.logging.filter.base.PayloadLoggingClientFilter - {"externalApplicationDetails":

      {"httpStatusCode": 401, "responseMessage": "<html>\n<head>\n<meta http-equiv=\"Content-Type\" content=\"text/html;charset=utf- 8\"/>\n<title>Error 401 Unauthorized</title>\n</head>\n<body><h2>HTTP ERROR 401 Unauthorized</h2>\n<table>\n<tr><th>URI:</th><td>/policy/pdpx/v1/decision</td></tr>\n<tr><th>STATUS:</th><td>401</td></tr>\n<tr><th>MESSAGE:</th><td>Unauthorized</td></tr>\n<tr><th>SERVLET:</t h><td>org.glassfish.jersey.servlet.ServletContainer-71f67a79</td></tr>\n</table>\n<hr><a href=\"http://eclipse.org/jetty\">Powered by Jetty:// 9.4.24.v20191120</a><hr/>\n\n</body>\n</html>\n", "httpMethod": "POST", "url": "https://policy-xacml-pdp:6969/policy/pdpx/v1/deci sion"}

      , "serviceException": {"errorType": "InterfaceError", "text": "A solution couldn't be determined because an external application returned a HTTP error"}}

            ewmulta ewmulta
            ewmulta ewmulta
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: