02-03-2020 06:00 AM
Hello,
I've seen some strange behavior when using the scp-to against Cisco IOS devices:
NSO Version | NED | Device | How? | File transfered | Result |
4.7.4.3 | 6.36.2 | CSR1000v | Using CLI | Yes | Session hangs until interrupted with CTRL + C |
4.7.4.3 | 6.36.2 | ISR4451x | Using CLI | Yes | Session hangs until interrupted with CTRL + C |
4.7.4.3 | 6.36.2 | CSR1000v | Using Python | Yes | Action Session hangs until request packages reload. |
5.2.1.2 | 6.43.2 | CSR1000v | Using CLI | Yes | Error: internal error |
5.2.1.2 | 6.43.2 | CSR1000v | using Python | Yes | Error: Python cb_action error. internal error (18): internal error |
5.3 | 6.43.2 | CSR1000v | using CLI | Yes | Action works as expected with Status OK. |
5.3.0.1 | 6.43.2 | CSR1000v | using CLI | Yes | Action works as expected with Status OK. |
All tested installations where local installations.
And in all combinations the file was transfered to the device succesfully..
I've tried to find anything in the changelog. I found some points related to scp-to/scp-from but nothing which fits exactly to the seen behavior.
Is this a kown behavior with older versions? If so is there or will there be a fix for the older version 4.7.x?
Regards Lothar
02-05-2020 06:04 AM
The underline causes for the multiple problems described in your post may be different.
It would be better if you open a TAC case and get the RCA for these problems, so you could have a precise answer for your question.
I hope I had a better answer than that, but, as you already did, I've searched the CHANGES file and found multiple changes to scp code in multiple releases. A TAC engineer would be able to assist you reproducing the problem and providing guidance on the supported releases which incorporated the fix.
Best regards
02-05-2020 07:04 AM
Hello Lothar,
I just saw this in the 5.2.2 CHANGES files:
5.2.2
- ncs: An internal error will no longer be displayed to the user when the
file transfer has finished using the /devices/device/scp-to or
/devices/device/scp-from action.
I followed it back to a one of the defect tracker systems and found this:
The fix will be available in NSO 4.7.7 / 5.1.3 / 5.2.2 / 5.3 with the following Change Note: "An internal error will no longer be displayed to the user when the file transfer has finished using the /devices/device/scp-to or /devices/device/scp-from action.
Regards.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide