Re: [netvirt-dev] Random errors while fetching JOLOKIA URLs in 3 node CSIT

Tom Pantelis

jolokia has a different security code path than restconf that interfaces with shiro. It starts with:

at [130:org.apache.shiro.core:1.3.2]
at org.apache.shiro.mgt.DefaultSubjectFactory.createSubject( [130:org.apache.shiro.core:1.3.2]
at org.apache.shiro.mgt.DefaultSecurityManager.doCreateSubject( [130:org.apache.shiro.core:1.3.2]
at org.apache.shiro.mgt.DefaultSecurityManager.createSubject( [130:org.apache.shiro.core:1.3.2]
at org.apache.shiro.mgt.DefaultSecurityManager.createSubject( [130:org.apache.shiro.core:1.3.2]
at org.apache.shiro.mgt.DefaultSecurityManager.login( [130:org.apache.shiro.core:1.3.2]
at [130:org.apache.shiro.core:1.3.2]
at []
at Proxy02007817_e19a_4a1a_8178_e2f238fd17a0.authenticate(Unknown Source) [?:?]
at [179:org.jolokia.osgi:1.5.0]
at org.ops4j.pax.web.service.internal.WebContainerContextWrapper.handleSecurity( [312:org.ops4j.pax.web.pax-web-runtime:6.0.9]
at org.ops4j.pax.web.service.jetty.internal.HttpServiceServletHandler.doHandle( [310:org.ops4j.pax.web.pax-web-jetty:6.0.9]

On Mon, Jul 2, 2018 at 12:44 PM, Sam Hague <shague@...> wrote:
Could this be related to the clustering bugs Vic and Jamo are following like [1] that deal with 500 responses?

On Mon, Jul 2, 2018 at 2:27 AM Vishal Thapar <vthapar@...> wrote:
I've seen this in my local testing during bringup or during ownership change. Sometimes it persists even post ownership change.

On Mon, Jul 2, 2018 at 11:24 AM, Faseela K <faseela.k@...> wrote:

Hello aaa-dev,

   I am trying to dump some of the MDSAL exposed MBeans with jolokia over HTTP , while am experimenting with some of the 3 node netvirt CSIT activities [0].

   The HTTP requests work most of the cases, but sometimes hit the below error randomly?

   Any pointers?


  <html> <head> <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"/> <title>Error 500 </title> </head> <body> <h2>HTTP ERROR: 500</h2> <p>Problem accessing /jolokia/read/org.opendaylight.controller:type=DistributedOperationalDatastore,Category=ShardManager,name=shard-manager-operational/LocalShards. Reason: <pre> org.apache.shiro.session.UnknownSessionException: There is no session with id [4050ca12-d12d-4965-8204-d3c11cb16e1b]</pre></p> <hr /> </body> </html>








netvirt-dev mailing list

netvirt-dev mailing list

aaa-dev mailing list

Join to automatically receive all group messages.