[AAA-132] rest-connector-default-impl occasionally takes too long to finish Created: 15/May/17  Updated: 21/Mar/19

Status: Confirmed
Project: aaa
Component/s: General
Affects Version/s: None
Fix Version/s: None

Type: Bug
Reporter: Vratko Polak Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


External issue ID: 8443

 Description   

This is visible in karaf.log [0] as the following:
2017-05-14 06:11:38,008 | WARN | saction-65-67'}} | DeadlockMonitor | 122 - org.opendaylight.controller.config-manager - 0.6.0.Carbon | ModuleIdentifier

{factoryName='rest-connector-impl', instanceName='rest-connector-default-impl'}

did not finish after 64975 ms

This affects CSIT results. Specifically, calls to Jolokia work correctly, but restconf calls such as remove-shard-replica result in status 401 [1].

This become visible after suites stopped waiting for /restconf/modules due to AAA-130.

[0] https://logs.opendaylight.org/releng/jenkins092/controller-csit-3node-clustering-only-carbon/684/archives/odl1_karaf.log.gz
[1] https://logs.opendaylight.org/releng/jenkins092/controller-csit-3node-clustering-only-carbon/684/archives/log.html.gz#s1-s25-t1-k2-k6-k3-k1-k4-k7-k1



 Comments   
Comment by Robert Varga [ 15/May/17 ]

The reason for this is that AAAService is not started yet and createInstance() is waiting for it. I am not sure why AAAService is not there in time.

Comment by Vratko Polak [ 16/May/17 ]

This still can happen even if odl-restconf-noauth is used instead of odl-restconf.
See for example [2] from 10:56:30,093.

[2] https://logs.opendaylight.org/releng/jenkins092/controller-csit-3node-clustering-only-carbon/689/archives/odl1_karaf.log.gz

Comment by Vratko Polak [ 25/May/17 ]

This has happened in an official Carbon-RC3 build test in all job. See karaf.log [3]:
2017-05-22 20:14:11,762 | WARN | ction-130-132'}} | DeadlockMonitor | 103 - org.opendaylight.controller.config-manager - 0.6.0.Carbon | ModuleIdentifier

{factoryName='rest-connector-impl', instanceName='rest-connector-default-impl'}

did not finish after 255078 ms

Otherwise nothing new.

[3] https://logs.opendaylight.org/releng/jenkins092/controller-csit-3node-clustering-all-carbon/328/archives/odl2_karaf.log.gz

Comment by Jakub Toth [ 29/May/17 ]

I'll do this from July.

Comment by Tomas Cere [ 12/Oct/17 ]

Seems like slow aaa start belongs into aaa project.

Generated at Wed Feb 07 19:08:43 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.