[NETCONF-32] Feature install of odl-netconf-connector-ssh is very slow Created: 23/Jun/15 Updated: 15/Mar/19 Resolved: 27/Aug/18 |
|
| Status: | Verified |
| Project: | netconf |
| Component/s: | netconf |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Shaleen Saxena | Assignee: | Shaleen Saxena |
| Resolution: | Cannot Reproduce | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: All |
||
| Attachments: |
|
||||||||
| Issue Links: |
|
||||||||
| External issue ID: | 3842 | ||||||||
| Description |
|
This issue is seen with Lithium (RC built on June 23). I haven't tried previous builds of Lithium; but I am sure it will happen on them as well. The steps are:
I have attached the karaf.log. See the timestamps in the following snippet from it: 2015-06-23 09:12:27,661 | INFO | pool-8-thread-1 | DeferredResourceConfig | 219 - com.sun.jersey.jersey-server - 1.17.0 | Instantiated the Application class org.opendaylight.aaa.idm.IdmLightApplication |
| Comments |
| Comment by Shaleen Saxena [ 23/Jun/15 ] |
|
Attachment karaf.log has been added with description: Karaf log of install |
| Comment by Shaleen Saxena [ 23/Jun/15 ] |
|
jstack while odl-netconf-connector-ssh install is in progress. |
| Comment by Shaleen Saxena [ 23/Jun/15 ] |
|
Attachment jstack0.txt has been added with description: First jstack |
| Comment by Shaleen Saxena [ 23/Jun/15 ] |
|
jstack while odl-netconf-connector-ssh install is in progress. |
| Comment by Shaleen Saxena [ 23/Jun/15 ] |
|
Attachment jstack1.txt has been added with description: Second jstack |
| Comment by Tom Pantelis [ 23/Jun/15 ] |
|
Specifically, this thread reveals the culprit: java.lang.Thread.State: BLOCKED (on object monitor) NetconfSSHActivator is the activator for the netconf-ssh bundle. It is blocked trying to seed the native random number generator. This can cause a timeout for the 01-netconf config in the ConfigPusher waiting for the odl-netconfig-client-cfg capability b/c activation of the netconf-config-dispatcher bundle is delayed. |
| Comment by Maros Marsalek [ 24/Jun/15 ] |
|
We have experienced this only with the netconf testtool in a VM (it uses the same ssh proxy server). We have found a workaround, by disabling the Bouncycastle security provider (the default JDK one does not cause this issue) : Could you try disabling BC provider according to the link above and also removing lib/ext/bcprov-jdk15on-1.52.jar in your distribution ? Then just try again. Can you provide the more detailed information for your environment ? Java version, OS, VM or Native etc. |
| Comment by Shaleen Saxena [ 24/Jun/15 ] |
|
(In reply to Maros Marsalek from comment #4) The setup is a VM on OpenStack running Ubuntu 14.4. > uname -a > lsb_release -a > java -version After following the procedure you outlined, the install went much faster. |
| Comment by Maros Marsalek [ 25/Jun/15 ] |
|
Glad to hear that the workaround helped. Now we need to find out whats wrong with BouncyCastle, whether it affects only OpenJDK and if its linked somehow to using Ubuntu/VM. |
| Comment by Robert Varga [ 13/Nov/15 ] |
|
Move to NETCONFI project. |
| Comment by Robert Varga [ 27/Aug/18 ] |
|
ShaleenS is this still relevant? |
| Comment by Shaleen Saxena [ 27/Aug/18 ] |
|
Probably not. We can close this issue. |
| Comment by Shaleen Saxena [ 27/Aug/18 ] |
|
This is a very old issue. The release is no longer supported. |