1
0
-1

Using ONAP 1.1-staging-Latest.

I'm trying to login to Policy from Portal UI.but the error : required key [authentication_mechanism] not found in the policy logs.

This is same as the earlier question asked on Vid : VID: required key [authentication_mechanism] not found

As a work around,I tried accessing the policy externally by using the link :policy.api.simpledemo.openecomp.org:8443/ecomp and tried logging in with the credentials :

Username demo

Password Kp8bJ4SXszM0WX

And is giving Invalid login error.

Is there any way that I access the policy UI?

    CommentAdd your comment...

    1 answer

    1.  
      1
      0
      -1

      Seems you are hitting this issue:   https://jira.onap.org/browse/PORTAL-34

      You should be able to retrieve policy UI password by doing:

      docker exec -it -u 0 pap su - policy   # log on to pap container

      grep "javax.persistence.jdbc" /opt/app/policy/servers/pap/bin/xacml.pap.properties   # get mariadb credentials

      mysql -u<mariadbuser> -p<mariadbpassword> -h mariadb -e "select login_id,login_pwd from ecomp_sdk.fn_user"   # see login/password

      1. Sudhakar Reddy

        Thank you..That worked.

      CommentAdd your comment...