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

AAF Authentication CSIT issues

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: High High
    • Casablanca Release
    • Casablanca Release
    • None
    • None

      • The value stored in perms.cache is throwing JSON load error on
        subsequent calls. Return the perms['roles'] from cache instead of perms dict.
      • CSIT stuck waiting for port 8100. Waiting for 172.17.0.6 port 8100 open. Make the internal port as 8100 for simulator as well.
      • RUN pip install oslo.log missing in aafsim Dockerfile
      • Add configuration to conductor.conf**
      • Expected string or buffer error in plans.py
        Postman response for create plan

      {

          "error_message": {

              "explanation": "Invalid credentials: username or password is incorrect",

              "code": 401,

              "error":

      {             "message": "This server could not verify that you are authorized to access the document you requested. Either you supplied the wrong credentials (e.g., bad password), or your browser does not understand how to supply the credentials required.",            "type": "HTTPUnauthorized"         }

      ,

              "title": "Unauthorized"

          }

      }

      Conductor API logs

      2018-09-28 01:45:04,524||139699962341120|INFO|plans|conductor.api.controllers.v1.plans: [-] Plan name: onap template with wrong version

      2018-09-28 01:45:04,525||139699962341120|DEBUG|aaf_authentication|conductor.api.adapters.aaf.aaf_authentication: [-] Returning cached value

      2018-09-28 01:45:04,525||139699962341120|ERROR|aaf_authentication|conductor.api.adapters.aaf.aaf_authentication: [-] Error Authenticating the user admin1 : expected string or buffer:

      2018-09-28 01:45:04,525||139699962341120|ERROR|plans|conductor.api.controllers.v1.plans: [-] Incorrect username=admin1 / password=plan.15

      2018-09-28 01:45:04,527||139699962341120|ERROR|errors|conductor.api.controllers.errors: [-] Invalid credentials: username or password is incorrect

      10.144.155.15 - - [28/Sep/2018 01:45:04] "POST /v1/plans HTTP/1.1" 401 414

            dileep.ranganathan dileep.ranganathan
            dileep.ranganathan dileep.ranganathan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: