[NETCONF-612] Netconf mount fails in master Created: 12/Apr/19  Updated: 03/Jul/19  Resolved: 19/Jun/19

Status: Resolved
Project: netconf
Component/s: netconf
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: High
Reporter: Luis Gomez Assignee: Jakub Morvay
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Relates
relates to NETCONF-630 Add acceptance/E2E tests to testtool Resolved

 Description   

As shown here: https://jenkins.opendaylight.org/releng/view/netconf/job/netconf-csit-1node-userfeatures-all-sodium/

This is the ERROR in Karaf:

2019-04-08T18:08:53,300 | WARN  | sshd-SshClient[39ced4d2]-nio2-thread-4 | AsyncSshHandler                  | 401 - org.opendaylight.netconf.netty-util - 1.7.0.SNAPSHOT | Unable to setup SSH connection on channel: [id: 0x9b505777]
org.apache.sshd.common.SshException: sendKexInit() no resolved signatures available
	at org.apache.sshd.client.session.ClientSessionImpl.handleDisconnect(ClientSessionImpl.java:132) ~[141:org.apache.sshd.core:2.0.0]
	at org.apache.sshd.common.session.helpers.AbstractSession.handleDisconnect(AbstractSession.java:761) ~[141:org.apache.sshd.core:2.0.0]
	at org.apache.sshd.common.session.helpers.AbstractSession.doHandleMessage(AbstractSession.java:585) ~[141:org.apache.sshd.core:2.0.0]
	at org.apache.sshd.common.session.helpers.AbstractSession.handleMessage(AbstractSession.java:555) ~[141:org.apache.sshd.core:2.0.0]
	at org.apache.sshd.common.session.helpers.AbstractSession.decode(AbstractSession.java:1527) ~[141:org.apache.sshd.core:2.0.0]
	at org.apache.sshd.common.session.helpers.AbstractSession.messageReceived(AbstractSession.java:516) ~[141:org.apache.sshd.core:2.0.0]
	at org.apache.sshd.common.session.helpers.AbstractSessionIoHandler.messageReceived(AbstractSessionIoHandler.java:63) ~[141:org.apache.sshd.core:2.0.0]
	at org.apache.sshd.common.io.nio2.Nio2Session.handleReadCycleCompletion(Nio2Session.java:339) ~[141:org.apache.sshd.core:2.0.0]
	at org.apache.sshd.common.io.nio2.Nio2Session$1.onCompleted(Nio2Session.java:318) ~[141:org.apache.sshd.core:2.0.0]
	at org.apache.sshd.common.io.nio2.Nio2Session$1.onCompleted(Nio2Session.java:315) ~[141:org.apache.sshd.core:2.0.0]
	at org.apache.sshd.common.io.nio2.Nio2CompletionHandler.lambda$completed$0(Nio2CompletionHandler.java:38) ~[141:org.apache.sshd.core:2.0.0]
	at java.security.AccessController.doPrivileged(Native Method) ~[?:?]
	at org.apache.sshd.common.io.nio2.Nio2CompletionHandler.completed(Nio2CompletionHandler.java:37) [141:org.apache.sshd.core:2.0.0]
	at sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:126) [?:?]
	at sun.nio.ch.Invoker$2.run(Invoker.java:218) [?:?]
	at sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112) [?:?]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:?]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:?]
	at java.lang.Thread.run(Thread.java:748) [?:?]


 Comments   
Comment by Eliezio Oliveira [ 19/Jun/19 ]

Hi Luis,

I was facing the same problem, at least with the very same symptom. Could you check if this fix (https://github.com/eliezio/netconf/commit/93d1a524a9998524de6a4b4646a6b7bcc800e102) solves your problem? If positive, I'll submit it as a merge request.

Comment by Luis Gomez [ 19/Jun/19 ]

The issue has been fixed according to: https://jenkins.opendaylight.org/releng/view/netconf/job/netconf-csit-1node-userfeatures-all-sodium

Comment by Eliezio Oliveira [ 19/Jun/19 ]

Thanks for the info but I wasn't able to see the proper fix on the org.opendaylight.netconf.test.tool.VirtualKeyPairProvider#loadKeys() method. How can I verify that this method was fixed?

Comment by Luis Gomez [ 20/Jun/19 ]

I cannot see your patch but it is something like this one:

https://git.opendaylight.org/gerrit/#/c/82572

Comment by Eliezio Oliveira [ 20/Jun/19 ]

Commit force-updated to https://github.com/eliezio/netconf/commit/9bdfa761b2dca6ab337722394071745d89751773

Comment by Eliezio Oliveira [ 20/Jun/19 ]

Now I see. It's the same fix but was authored by Anna Bencurova after your first comment, anyway. Thanks

Generated at Wed Feb 07 20:15:27 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.