<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:27:26 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>[ODLPARENT-33] ssh problems lead to netconf connector problems and bin/client failures</title>
                <link>https://jira.opendaylight.org/browse/ODLPARENT-33</link>
                <project id="10149" key="ODLPARENT">odlparent</project>
                    <description>&lt;p&gt;&lt;a href=&quot;https://jenkins.opendaylight.org/bgpcep/job/bgpcep-csit-1node-userfeatures-only-boron/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://jenkins.opendaylight.org/bgpcep/job/bgpcep-csit-1node-userfeatures-only-boron/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;the problems i ma hitting are the following ones:&lt;br/&gt;
1) bin/client is not able to connect to karaf&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;odl@tobereplaced distribution-karaf-0.5.0-SNAPSHOT&amp;#93;&lt;/span&gt;$ ./bin/client -u karaf&lt;br/&gt;
client: JAVA_HOME not set; results may vary&lt;br/&gt;
Logging in as karaf&lt;br/&gt;
453 [sshd-SshClient&lt;span class=&quot;error&quot;&gt;&amp;#91;694f9431&amp;#93;&lt;/span&gt;-nio2-thread-1] WARN org.apache.sshd.client.session.ClientSessionImpl - Exception caught&lt;br/&gt;
java.security.NoSuchAlgorithmException: EC KeyPairGenerator not available&lt;br/&gt;
               at java.security.KeyPairGenerator.getInstance(KeyPairGenerator.java:218)&lt;br/&gt;
               at org.apache.sshd.common.util.SecurityUtils.getKeyPairGenerator(SecurityUtils.java:155)&lt;br/&gt;
               at org.apache.sshd.common.kex.ECDH.&amp;lt;init&amp;gt;(ECDH.java:51)&lt;br/&gt;
               at org.apache.sshd.client.kex.ECDHP256.getDH(ECDHP256.java:48)&lt;br/&gt;
               at org.apache.sshd.client.kex.AbstractDHGClient.init(AbstractDHGClient.java:71)&lt;br/&gt;
               at org.apache.sshd.common.session.AbstractSession.doHandleMessage(AbstractSession.java:390)&lt;br/&gt;
               at org.apache.sshd.common.session.AbstractSession.handleMessage(AbstractSession.java:326)&lt;br/&gt;
               at org.apache.sshd.client.session.ClientSessionImpl.handleMessage(ClientSessionImpl.java:306)&lt;br/&gt;
               at org.apache.sshd.common.session.AbstractSession.decode(AbstractSession.java:780)&lt;br/&gt;
               at org.apache.sshd.common.session.AbstractSession.messageReceived(AbstractSession.java:308)&lt;br/&gt;
               at org.apache.sshd.common.AbstractSessionIoHandler.messageReceived(AbstractSessionIoHandler.java:54)&lt;br/&gt;
               at org.apache.sshd.common.io.nio2.Nio2Session$1.onCompleted(Nio2Session.java:184)&lt;br/&gt;
               at org.apache.sshd.common.io.nio2.Nio2Session$1.onCompleted(Nio2Session.java:170)&lt;br/&gt;
               at org.apache.sshd.common.io.nio2.Nio2CompletionHandler$1.run(Nio2CompletionHandler.java:32)&lt;br/&gt;
               at java.security.AccessController.doPrivileged(Native Method)&lt;br/&gt;
               at org.apache.sshd.common.io.nio2.Nio2CompletionHandler.completed(Nio2CompletionHandler.java:30)&lt;br/&gt;
               at sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:126)&lt;br/&gt;
               at sun.nio.ch.Invoker.invokeDirect(Invoker.java:157)&lt;br/&gt;
               at sun.nio.ch.UnixAsynchronousSocketChannelImpl.implRead(UnixAsynchronousSocketChannelImpl.java:553)&lt;br/&gt;
               at sun.nio.ch.AsynchronousSocketChannelImpl.read(AsynchronousSocketChannelImpl.java:276)&lt;br/&gt;
               at sun.nio.ch.AsynchronousSocketChannelImpl.read(AsynchronousSocketChannelImpl.java:297)&lt;br/&gt;
               at java.nio.channels.AsynchronousSocketChannel.read(AsynchronousSocketChannel.java:420)&lt;br/&gt;
               at org.apache.sshd.common.io.nio2.Nio2Session.startReading(Nio2Session.java:170)&lt;br/&gt;
               at org.apache.sshd.common.io.nio2.Nio2Connector$1.onCompleted(Nio2Connector.java:60)&lt;br/&gt;
               at org.apache.sshd.common.io.nio2.Nio2Connector$1.onCompleted(Nio2Connector.java:53)&lt;br/&gt;
               at org.apache.sshd.common.io.nio2.Nio2CompletionHandler$1.run(Nio2CompletionHandler.java:32)&lt;br/&gt;
               at java.security.AccessController.doPrivileged(Native Method)&lt;br/&gt;
               at org.apache.sshd.common.io.nio2.Nio2CompletionHandler.completed(Nio2CompletionHandler.java:30)&lt;br/&gt;
               at sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:126)&lt;br/&gt;
               at sun.nio.ch.Invoker$2.run(Invoker.java:218)&lt;br/&gt;
               at sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)&lt;br/&gt;
               at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)&lt;br/&gt;
               at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)&lt;br/&gt;
               at java.lang.Thread.run(Thread.java:745)&lt;br/&gt;
Authentication failed&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;odl@tobereplaced distribution-karaf-0.5.0-SNAPSHOT&amp;#93;&lt;/span&gt;$&lt;/p&gt;

&lt;p&gt;i use&lt;br/&gt;
java -version&lt;br/&gt;
openjdk version &quot;1.8.0_51&quot;&lt;br/&gt;
OpenJDK Runtime Environment (build 1.8.0_51-b16) OpenJDK 64-Bit Server VM (build 25.51-b03, mixed mode)&lt;/p&gt;



&lt;p&gt;2) i am unable to configure e.g. bgp peer via netconf connector, because i receive 404 every time i want to use it.&lt;/p&gt;



&lt;p&gt;I believe this 2 things are related together.  &lt;br/&gt;
POssibly &lt;a href=&quot;https://bugs.opendaylight.org/show_bug.cgi?id=5917&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://bugs.opendaylight.org/show_bug.cgi?id=5917&lt;/a&gt; is something similar.&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="22156">ODLPARENT-33</key>
            <summary>ssh problems lead to netconf connector problems and bin/client failures</summary>
                <type id="10104" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10303&amp;avatarType=issuetype">Bug</type>
                                                <status id="5" iconUrl="https://jira.opendaylight.org/images/icons/statuses/resolved.png" description="A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.">Resolved</status>
                    <statusCategory id="3" key="done" colorName="green"/>
                                    <resolution id="10000">Done</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="pgubka@cisco.com">Peter Gubka</reporter>
                        <labels>
                    </labels>
                <created>Thu, 19 May 2016 13:46:09 +0000</created>
                <updated>Wed, 24 Jan 2018 14:27:02 +0000</updated>
                            <resolved>Wed, 24 Aug 2016 16:09:08 +0000</resolved>
                                                                    <component>General</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>6</watches>
                                                                                                                <comments>
                            <comment id="41790" author="rovarga" created="Thu, 19 May 2016 18:47:50 +0000"  >&lt;p&gt;Seems to be karaf-related.&lt;/p&gt;</comment>
                            <comment id="41791" author="pgubka@cisco.com" created="Thu, 26 May 2016 07:56:10 +0000"  >&lt;p&gt;&lt;a href=&quot;https://lists.opendaylight.org/pipermail/integration-dev/2016-May/006767.html&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://lists.opendaylight.org/pipermail/integration-dev/2016-May/006767.html&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="41792" author="vorburger" created="Mon, 30 May 2016 11:35:46 +0000"  >&lt;p&gt;I&apos;ve researched this a moment, and found other people having similar issues - it seems to have something to do with exact JDK version and installed JCE providers..&lt;/p&gt;

&lt;p&gt;Curiously, I&apos;m not able to easily reproduce this problem locally - are you? E.g. when trying to reproduce this using a Karaf built by &lt;a href=&quot;https://wiki.opendaylight.org/view/OpenDaylight_Controller:MD-SAL:Startup_Project_Archetype&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://wiki.opendaylight.org/view/OpenDaylight_Controller:MD-SAL:Startup_Project_Archetype&lt;/a&gt; as well as a distribution-karaf-0.4.1-Beryllium-SR1 DL&apos;d about 2 months ago, then &quot;./bin/client&quot; works for me. This is on OpenJDK Runtime Environment (build 1.8.0_91-8u91-b14-0ubuntu4~16.04.1-b14).  I doubt an upgrade of OpenJDK from 1.8.0_51 to a 1.8.0_91 helps, but maybe worth a try?  What OS are you seeing this on BTW?  (NOTE &lt;a href=&quot;https://github.com/ojdkbuild/ojdkbuild&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/ojdkbuild/ojdkbuild&lt;/a&gt;). BTW mine says this, looks like by default it accepts any connection (huh?):&lt;/p&gt;

&lt;p&gt;Logging in as karaf&lt;br/&gt;
377 [sshd-SshClient&lt;span class=&quot;error&quot;&gt;&amp;#91;7b3300e5&amp;#93;&lt;/span&gt;-nio2-thread-2] WARN org.apache.sshd.client.keyverifier.AcceptAllServerKeyVerifier - Server at &lt;span class=&quot;error&quot;&gt;&amp;#91;/0.0.0.0:8101, RSA, 70:5a:ba:43:83:a5:83:2a:46:92:db:1e:c3:6b:f1:c3&amp;#93;&lt;/span&gt; presented unverified {} key: {}&lt;/p&gt;

&lt;p&gt;Or... is this problem specific and only happens when you.. perhaps put your public key SSH into Karaf?  Or first enable security, somehow? Are there any specific set up steps / configurations you have taken which we should know about in order to try to reproduce this?&lt;/p&gt;

&lt;p&gt;PS: I don&apos;t see what this 1) error (&quot;NoSuchAlgorithmException: EC KeyPairGenerator not available&quot;) could have anything to do with 2) 404.. unless you see the same exception in the log when you access that HTTP, I would suspect these are unrelated.&lt;/p&gt;</comment>
                            <comment id="41793" author="rgoulding" created="Tue, 12 Jul 2016 14:46:51 +0000"  >&lt;p&gt;Peter,&lt;/p&gt;

&lt;p&gt;Can you please provide more environmental information surrounding how to reproduce this?  If not, I am tempted to say we resolve this as invalid... it appears to be related to your build environment.  That said, we are happy to make recommendations surrounding what works best for ODL environment setup.&lt;/p&gt;

&lt;p&gt;Regards,&lt;br/&gt;
Ryan&lt;/p&gt;</comment>
                            <comment id="41794" author="vorburger" created="Tue, 12 Jul 2016 15:49:28 +0000"  >&lt;p&gt;Luis Gomez knows more about this, see email thread &quot;Re: &lt;span class=&quot;error&quot;&gt;&amp;#91;integration-dev&amp;#93;&lt;/span&gt; bin/client advice&quot;, and &lt;a href=&quot;https://issues.apache.org/jira/browse/KARAF-4502&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://issues.apache.org/jira/browse/KARAF-4502&lt;/a&gt; ..&lt;/p&gt;</comment>
                            <comment id="41795" author="rgoulding" created="Tue, 12 Jul 2016 15:51:20 +0000"  >&lt;p&gt;Okay JCE related.  Thanks Michael... looks like if we upgrade to karaf 3.0.7 we could kill this bug too. Setting to confirmed.&lt;/p&gt;</comment>
                            <comment id="41796" author="pgubka@cisco.com" created="Wed, 13 Jul 2016 06:23:25 +0000"  >&lt;p&gt;(In reply to Ryan Goulding from comment #4)&lt;br/&gt;
&amp;gt; Peter,&lt;br/&gt;
&amp;gt; &lt;br/&gt;
&amp;gt; Can you please provide more environmental information surrounding how to&lt;br/&gt;
&amp;gt; reproduce this?  If not, I am tempted to say we resolve this as invalid...&lt;br/&gt;
&amp;gt; it appears to be related to your build environment.  That said, we are happy&lt;br/&gt;
&amp;gt; to make recommendations surrounding what works best for ODL environment&lt;br/&gt;
&amp;gt; setup.&lt;br/&gt;
&amp;gt; &lt;br/&gt;
&amp;gt; Regards,&lt;br/&gt;
&amp;gt; Ryan&lt;/p&gt;

&lt;p&gt;Hi.&lt;br/&gt;
lets mark it as invalid.&lt;br/&gt;
Peter&lt;/p&gt;</comment>
                            <comment id="41797" author="rgoulding" created="Tue, 9 Aug 2016 16:26:04 +0000"  >&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/40818/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/40818/&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="41798" author="vrpolak" created="Wed, 24 Aug 2016 16:07:16 +0000"  >&lt;p&gt;Re-opening as this appeared on Boron autorelease builds (not snapshots, frustrating).&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://logs.opendaylight.org/releng/jenkins092/integration-distribution-offline-boron/10/_console-output.log.gz&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://logs.opendaylight.org/releng/jenkins092/integration-distribution-offline-boron/10/_console-output.log.gz&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="41799" author="vrpolak" created="Wed, 24 Aug 2016 16:09:08 +0000"  >&lt;p&gt;Oops, sorry. Turns out that build is from before Karaf upgrade to 3.0.7 was merged.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </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>5923</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=5923]]></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="10309"><![CDATA[Boron]]></customfieldvalue>

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

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