Unknown OAuth2 Token Access Request

asked 2016-03-20 15:09:27 -0700

koaps gravatar image

updated 2016-03-20 15:16:38 -0700

I'm trying to install opendaylight as a openvswitch controller but I keep running into the same issue.

I have a 3 node cluster so after running karaf I do the following on all the nodes:

feature:install odl-mdsal-clustering

Then I install dlux:

feature:install odl-dlux-core
feature:install odl-dlux-node
feature:install odl-dlux-yangui

but I can't login to it.

Looking at log:tail I see:

 2016-03-20 15:06:17,067 | INFO  | tp1991280899-146 | TokenAuthRealm                   | 236 - org.opendaylight.aaa.shiro - 0.3.0.Beryllium | Unknown OAuth2 Token Access Request
org.apache.shiro.authc.AuthenticationException: Could not validate the token admin
    at org.opendaylight.aaa.shiro.realm.TokenAuthRealm.validate(TokenAuthRealm.java:247)[236:org.opendaylight.aaa.shiro:0.3.0.Beryllium]
    at org.opendaylight.aaa.shiro.realm.TokenAuthRealm.doGetAuthenticationInfo(TokenAuthRealm.java:231)[236:org.opendaylight.aaa.shiro:0.3.0.Beryllium]
    at org.apache.shiro.realm.AuthenticatingRealm.getAuthenticationInfo(AuthenticatingRealm.java:568)[232:org.apache.shiro.core:1.2.3]
    at org.apache.shiro.authc.pam.ModularRealmAuthenticator.doSingleRealmAuthentication(ModularRealmAuthenticator.java:180)[232:org.apache.shiro.core:1.2.3]
    at org.apache.shiro.authc.pam.ModularRealmAuthenticator.doAuthenticate(ModularRealmAuthenticator.java:267)[232:org.apache.shiro.core:1.2.3]
    at org.apache.shiro.authc.AbstractAuthenticator.authenticate(AbstractAuthenticator.java:198)[232:org.apache.shiro.core:1.2.3]
    at org.apache.shiro.mgt.AuthenticatingSecurityManager.authenticate(AuthenticatingSecurityManager.java:106)[232:org.apache.shiro.core:1.2.3]
    at org.apache.shiro.mgt.DefaultSecurityManager.login(DefaultSecurityManager.java:270)[232:org.apache.shiro.core:1.2.3]
    at org.apache.shiro.subject.support.DelegatingSubject.login(DelegatingSubject.java:256)[232:org.apache.shiro.core:1.2.3]
    at org.apache.shiro.web.filter.authc.AuthenticatingFilter.executeLogin(AuthenticatingFilter.java:53)[231:org.apache.shiro.web:1.2.3]
    at org.apache.shiro.web.filter.authc.BasicHttpAuthenticationFilter.onAccessDenied(BasicHttpAuthenticationFilter.java:190)[231:org.apache.shiro.web:1.2.3]
    at org.apache.shiro.web.filter.AccessControlFilter.onAccessDenied(AccessControlFilter.java:133)[231:org.apache.shiro.web:1.2.3]
    at org.apache.shiro.web.filter.AccessControlFilter.onPreHandle(AccessControlFilter.java:162)[231:org.apache.shiro.web:1.2.3]
    at org.apache.shiro.web.filter.PathMatchingFilter.isFilterChainContinued(PathMatchingFilter.java:203)[231:org.apache.shiro.web:1.2.3]
    at org.apache.shiro.web.filter.PathMatchingFilter.preHandle(PathMatchingFilter.java:178)[231:org.apache.shiro.web:1.2.3]
    at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:131)[231:org.apache.shiro.web:1.2.3]
    at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)[231:org.apache.shiro.web:1.2.3]
    at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66)[231:org.apache.shiro.web:1.2.3]
    at org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:449)[231:org.apache.shiro.web:1.2.3]
    at org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365)[231:org.apache.shiro.web:1.2.3]
    at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90)[232:org.apache.shiro.core:1.2.3]
    at org ...
(more)
edit retag flag offensive close merge delete