[NETCONF-408] unable to mount Cisco NSO from Boron/Carbon Created: 25/Apr/17 Updated: 15/Mar/19 |
|
| Status: | Confirmed |
| Project: | netconf |
| Component/s: | netconf |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Giles Heron | Assignee: | Giles Heron |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: All |
||
| Attachments: |
|
| External issue ID: | 8297 |
| Description |
|
I can mount Cisco NSO 4.3.2 OK from Beryllium-SR4 using NETCONF/YANG but with Boron or Carbon I get this error: 2017-04-25 14:10:38,843 | DEBUG | oupCloseable-3-3 | AsyncSshHandler | 180 - org.opendaylight.netconf.netty-util - 1.1.3.Boron-SR3 | SSH session connecting on channel [id: 0x334cae26]. promise: null using the command line ssh client to connect to NSO (with "-v" enabled) I see: OpenSSH_7.2p2 Ubuntu-4ubuntu2.1, OpenSSL 1.0.2g 1 Mar 2016 to check that key I can do: giheron@ubuntu:~/.ssh$ ssh-keygen -l -f known_hosts so it looks like 2048 bits to me. that seems to match the key NSO thinks it's sending: giheron@ubuntu:/etc/ncs/ssh$ ssh-keygen -l -f ssh_host_rsa_key.pub any ideas? |
| Comments |
| Comment by Giles Heron [ 25/Apr/17 ] |
|
Attachment karaf.zip has been added with description: zipped logs |
| Comment by Tomas Cere [ 27/Apr/17 ] |
|
Are you loading the netconf features as initial-features? This seems awfully similar to a karaf issue we are already aware: https://wiki.fd.io/view/Honeycomb/Releases/1609/Honeycomb_and_ODL But theres not much we can do about it on netconf level, its a mina/karaf race. |
| Comment by Giles Heron [ 27/Apr/17 ] |
|
yes - I'm loading netconf as an initial feature. Would it work if I loaded it later instead? Or could i change the ssh jar as per the doc you linked? |
| Comment by Tomas Cere [ 27/Apr/17 ] |
|
either should work |
| Comment by Giles Heron [ 27/Apr/17 ] |
|
cool - tried loading odl-netconf-all and odl-netconf-topology after startup and it works now. thanks! |
| Comment by Vratko Polak [ 27/Apr/17 ] |
|
> https://wiki.fd.io/view/Honeycomb/Releases/1609/Honeycomb_and_ODL >> and replace it with: I think we can do such editing when building distributions. |
| Comment by Giles Heron [ 27/Apr/17 ] |
|
probably worth doing that Vratko? Certainly it's one more "gotcha" for people to be aware of if we don't fix it... And am guessing it might hit other platforms than NSO. |
| Comment by Vratko Polak [ 28/Apr/17 ] |
|
>>> org.bouncycast.openssl;version="[1.51,2)" >> editing when building distributions > worth doing that I do not have cycles for that this close to release. But Odlparent is the place which can do such manipulations here [1]. [1] https://github.com/opendaylight/odlparent/blob/master/karaf/karaf-parent/pom.xml#L382-L387 |
| Comment by Robert Varga [ 28/Apr/17 ] |
|
What is your JRE version? |
| Comment by Robert Varga [ 28/Apr/17 ] |
|
Ah, right, that's for JRE9 |
| Comment by Robert Varga [ 28/Apr/17 ] |
|
https://bugs.openjdk.java.net/browse/JDK-8168015 tracks the backport. |
| Comment by Tomas Cere [ 06/Jul/17 ] |
|
Reopening, bouncycastle in startup features does not help, guess we will have to do the rapackage in odlparent |
| Comment by Robert Varga [ 28/Aug/18 ] |
|
giheron@cisco.com is this still happening? |