<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:13:59 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>OpenDaylight JIRA</title>
    <link>https://jira.opendaylight.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>8.20.10</version>
        <build-number>820010</build-number>
        <build-date>22-06-2022</build-date>
    </build-info>


<item>
            <title>[NETCONF-32] Feature install of odl-netconf-connector-ssh is very slow</title>
                <link>https://jira.opendaylight.org/browse/NETCONF-32</link>
                <project id="10142" key="NETCONF">netconf</project>
                    <description>&lt;p&gt;This issue is seen with Lithium (RC built on June 23). I haven&apos;t tried previous builds of Lithium; but I am sure it will happen on them as well.&lt;/p&gt;

&lt;p&gt;The steps are:&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;Download and unzip distribution-karaf-0.3.0-Lithium.zip&lt;/li&gt;
	&lt;li&gt;Start the controller (bin/karaf)&lt;/li&gt;
	&lt;li&gt;Wait about 5 minute for controller start to finish&lt;/li&gt;
	&lt;li&gt;Install netconf (feature:install odl-netconf-connector-ssh)&lt;/li&gt;
	&lt;li&gt;Took over 10 minutes for install to finish.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;I have attached the karaf.log. See the timestamps in the following snippet from it:&lt;/p&gt;

&lt;p&gt;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&lt;br/&gt;
2015-06-23 09:22:18,449 | INFO  | config-pusher    | HydrogenDataBrokerAdapter        | 194 - org.opendaylight.controller.sal-binding-broker-impl - 1.2.0.Lithium | ForwardedBackwardsCompatibleBroker started.&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="21045">NETCONF-32</key>
            <summary>Feature install of odl-netconf-connector-ssh is very slow</summary>
                <type id="10104" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10303&amp;avatarType=issuetype">Bug</type>
                                                <status id="10004" iconUrl="https://jira.opendaylight.org/images/icons/status_generic.gif" description="">Verified</status>
                    <statusCategory id="3" key="done" colorName="green"/>
                                    <resolution id="10003">Cannot Reproduce</resolution>
                                        <assignee username="ShaleenS">Shaleen Saxena</assignee>
                                    <reporter username="ShaleenS">Shaleen Saxena</reporter>
                        <labels>
                    </labels>
                <created>Tue, 23 Jun 2015 16:33:27 +0000</created>
                <updated>Fri, 15 Mar 2019 22:22:11 +0000</updated>
                            <resolved>Mon, 27 Aug 2018 21:02:56 +0000</resolved>
                                                                    <component>netconf</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                                                                <comments>
                            <comment id="38822" author="ssaxena@luminanetworks.com" created="Tue, 23 Jun 2015 16:33:27 +0000"  >&lt;p&gt;Attachment karaf.log has been added with description: Karaf log of install&lt;/p&gt;</comment>
                            <comment id="38815" author="ssaxena@luminanetworks.com" created="Tue, 23 Jun 2015 18:40:51 +0000"  >&lt;p&gt;jstack while odl-netconf-connector-ssh install is in progress.&lt;/p&gt;</comment>
                            <comment id="38823" author="ssaxena@luminanetworks.com" created="Tue, 23 Jun 2015 18:40:51 +0000"  >&lt;p&gt;Attachment jstack0.txt has been added with description: First jstack&lt;/p&gt;</comment>
                            <comment id="38816" author="ssaxena@luminanetworks.com" created="Tue, 23 Jun 2015 18:41:18 +0000"  >&lt;p&gt;jstack while odl-netconf-connector-ssh install is in progress.&lt;/p&gt;</comment>
                            <comment id="38824" author="ssaxena@luminanetworks.com" created="Tue, 23 Jun 2015 18:41:18 +0000"  >&lt;p&gt;Attachment jstack1.txt has been added with description: Second jstack&lt;/p&gt;</comment>
                            <comment id="38817" author="tpantelis" created="Tue, 23 Jun 2015 21:05:53 +0000"  >&lt;p&gt;Specifically, this thread reveals the culprit:&lt;/p&gt;

&lt;p&gt;java.lang.Thread.State: BLOCKED (on object monitor)&lt;br/&gt;
at sun.security.provider.NativePRNG$RandomIO.implGenerateSeed(NativePRNG.java:218)&lt;br/&gt;
waiting to lock &amp;lt;0x00000006c2e081a8&amp;gt; (a java.lang.Object)&lt;br/&gt;
at sun.security.provider.NativePRNG$RandomIO.access$300(NativePRNG.java:125)&lt;br/&gt;
at sun.security.provider.NativePRNG.engineGenerateSeed(NativePRNG.java:119)&lt;br/&gt;
at java.security.SecureRandom.generateSeed(SecureRandom.java:517)&lt;br/&gt;
at org.apache.sshd.common.random.BouncyCastleRandom.&amp;lt;init&amp;gt;(BouncyCastleRandom.java:57)&lt;br/&gt;
at org.apache.sshd.common.random.BouncyCastleRandom$Factory.create(BouncyCastleRandom.java:48)&lt;br/&gt;
at org.apache.sshd.common.random.BouncyCastleRandom$Factory.create(BouncyCastleRandom.java:41)&lt;br/&gt;
at org.apache.sshd.common.random.SingletonRandomFactory.&amp;lt;init&amp;gt;(SingletonRandomFactory.java:37)&lt;br/&gt;
at org.apache.sshd.SshBuilder$BaseBuilder.fillWithDefaultValues(SshBuilder.java:117)&lt;br/&gt;
at org.apache.sshd.SshBuilder$ServerBuilder.fillWithDefaultValues(SshBuilder.java:365)&lt;br/&gt;
at org.apache.sshd.SshBuilder$ServerBuilder.fillWithDefaultValues(SshBuilder.java:361)&lt;br/&gt;
at org.apache.sshd.SshBuilder$BaseBuilder.build(SshBuilder.java:234)&lt;br/&gt;
at org.apache.sshd.SshBuilder$BaseBuilder.build(SshBuilder.java:254)&lt;br/&gt;
at org.apache.sshd.SshServer.setUpDefaultServer(SshServer.java:366)&lt;br/&gt;
at org.opendaylight.controller.netconf.ssh.SshProxyServer.&amp;lt;init&amp;gt;(SshProxyServer.java:58)&lt;br/&gt;
at org.opendaylight.controller.netconf.ssh.osgi.NetconfSSHActivator.startSSHServer(NetconfSSHActivator.java:104)&lt;br/&gt;
at org.opendaylight.controller.netconf.ssh.osgi.NetconfSSHActivator.start(NetconfSSHActivator.java:58)&lt;br/&gt;
at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:711)&lt;/p&gt;


&lt;p&gt;NetconfSSHActivator is the activator for the netconf-ssh bundle. It is blocked trying to seed the native random number generator.&lt;/p&gt;

&lt;p&gt;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.&lt;/p&gt;</comment>
                            <comment id="38818" author="mmarsale@cisco.com" created="Wed, 24 Jun 2015 12:51:27 +0000"  >&lt;p&gt;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) : &lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://wiki.opendaylight.org/view/OpenDaylight_Controller:Netconf:Testtool#Slow_creation_of_devices_on_virtual_machines&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://wiki.opendaylight.org/view/OpenDaylight_Controller:Netconf:Testtool#Slow_creation_of_devices_on_virtual_machines&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;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.&lt;/p&gt;

&lt;p&gt;Can you provide the more detailed information for your environment ? Java version, OS, VM or Native etc.&lt;/p&gt;</comment>
                            <comment id="38819" author="ssaxena@luminanetworks.com" created="Wed, 24 Jun 2015 17:46:46 +0000"  >&lt;p&gt;(In reply to Maros Marsalek from comment #4)&lt;/p&gt;

&lt;p&gt;The setup is a VM on OpenStack running Ubuntu 14.4.&lt;/p&gt;

&lt;p&gt;&amp;gt; uname -a&lt;br/&gt;
Linux ssaxena-dev 3.13.0-46-generic #79-Ubuntu SMP Tue Mar 10 20:06:50 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux&lt;/p&gt;

&lt;p&gt;&amp;gt; lsb_release -a&lt;br/&gt;
No LSB modules are available.&lt;br/&gt;
Distributor ID:	Ubuntu&lt;br/&gt;
Description:	Ubuntu 14.04.2 LTS&lt;br/&gt;
Release:	14.04&lt;br/&gt;
Codename:	trusty&lt;/p&gt;


&lt;p&gt;&amp;gt; java -version&lt;br/&gt;
java version &quot;1.7.0_79&quot;&lt;br/&gt;
OpenJDK Runtime Environment (IcedTea 2.5.5) (7u79-2.5.5-0ubuntu0.14.04.2)&lt;br/&gt;
OpenJDK 64-Bit Server VM (build 24.79-b02, mixed mode)&lt;/p&gt;

&lt;p&gt;After following the procedure you outlined, the install went much faster.&lt;/p&gt;</comment>
                            <comment id="38820" author="mmarsale@cisco.com" created="Thu, 25 Jun 2015 07:16:27 +0000"  >&lt;p&gt;Glad to hear that the workaround helped. &lt;/p&gt;

&lt;p&gt;Now we need to find out whats wrong with BouncyCastle, whether it affects only OpenJDK and if its linked somehow to using Ubuntu/VM.&lt;/p&gt;</comment>
                            <comment id="38821" author="rovarga" created="Fri, 13 Nov 2015 12:57:52 +0000"  >&lt;p&gt;Move to NETCONFI project.&lt;/p&gt;</comment>
                            <comment id="64784" author="rovarga" created="Mon, 27 Aug 2018 20:58:20 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.opendaylight.org/secure/ViewProfile.jspa?name=ShaleenS&quot; class=&quot;user-hover&quot; rel=&quot;ShaleenS&quot;&gt;ShaleenS&lt;/a&gt; is this still relevant?&lt;/p&gt;</comment>
                            <comment id="64786" author="ssaxena" created="Mon, 27 Aug 2018 21:02:26 +0000"  >&lt;p&gt;Probably not. We can close this issue.&lt;/p&gt;</comment>
                            <comment id="64787" author="ssaxena" created="Mon, 27 Aug 2018 21:02:56 +0000"  >&lt;p&gt;This is a very old issue. The release is no longer supported.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10000">
                    <name>Blocks</name>
                                            <outwardlinks description="blocks">
                                        <issuelink>
            <issuekey id="25966">CONTROLLER-1412</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="12635" name="jstack0.txt" size="55107" author="ShaleenS" created="Tue, 23 Jun 2015 18:40:51 +0000"/>
                            <attachment id="12636" name="jstack1.txt" size="53270" author="ShaleenS" created="Tue, 23 Jun 2015 18:41:18 +0000"/>
                            <attachment id="12634" name="karaf.log" size="75159" author="ShaleenS" created="Tue, 23 Jun 2015 16:33:27 +0000"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                            <customfield id="customfield_11400" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10208" key="com.atlassian.jira.plugin.system.customfieldtypes:textfield">
                        <customfieldname>External issue ID</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>3842</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10201" key="com.atlassian.jira.plugin.system.customfieldtypes:url">
                        <customfieldname>External issue URL</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[https://bugs.opendaylight.org/show_bug.cgi?id=3842]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10206" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Issue Type</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10300"><![CDATA[Bug]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10204" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>ODL SR Target Milestone</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10349"><![CDATA[Unspecified]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                    <customfield id="customfield_10000" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i01w1b:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                </customfields>
    </item>
</channel>
</rss>