You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have Nautobot installed in a WSL Ubuntu environment. Using the device onboarding plugin I get a paramiko error
ERROR: A paramiko SSHException occurred during connection creation:Error reading SSH protocol banner
Output from the job below (there may be some extra output because I've hacked the installed file, but only added print/log statements in an attempt to troubleshoot).
2024-02-21 11:03:48.666333 | initialization | Info | — | Running job
2024-02-21 11:03:48.685867 | _parse_credentials | Info | — | Using napalm credentials configured in nautobot_config.py
2024-02-21 11:03:48.694279 | run | Info | — | START: onboarding devices
2024-02-21 11:03:48.699881 | _onboard | Info | — | Attempting to onboard an0.cano01.gn.local.
2024-02-21 11:03:48.706023 | _onboard | Info | — | NetDevKeeper object created
2024-02-21 11:03:48.733705 | run | Error | — | The following exception occurred when attempting to onboard an0.cano01.gn.local: fail-general - fail-connect - ERROR: A paramiko SSHException occurred during connection creation:Error reading SSH protocol banner
2024-02-21 11:03:48.752323 | post_run | Info | — | Job completed
Steps to Reproduce
Install ubuntu on WSL.
Install Nautobot + Nautobot onboarding plugin.
Try to onboard a network device (with no data loaded).
I have asked on the Slack channel, but wanted to follow up here as Slack is on a different machine and there are some corporate policies that make sending outout to Slack more tricky.
It is clear that the failure is happening in the part of the code where it is attempting to guess the OS (in this case an IOS-XR device). However, running the same code through the nautobot nbshell works successfully.
Googling suggests it might be a banner_timeout setting for paramiko.
The text was updated successfully, but these errors were encountered:
Looks like it - interestingly I am only seeing the issue on IOS XR and not on IOS XE. The related ticket in the Golden Config also applies to IOS XR devices.
Environment
Expected Behavior
Device would be onboarded!
Observed Behavior
I have Nautobot installed in a WSL Ubuntu environment. Using the device onboarding plugin I get a paramiko error
ERROR: A paramiko SSHException occurred during connection creation:Error reading SSH protocol banner
Output from the job below (there may be some extra output because I've hacked the installed file, but only added print/log statements in an attempt to troubleshoot).
Steps to Reproduce
I have asked on the Slack channel, but wanted to follow up here as Slack is on a different machine and there are some corporate policies that make sending outout to Slack more tricky.
It is clear that the failure is happening in the part of the code where it is attempting to guess the OS (in this case an IOS-XR device). However, running the same code through the nautobot nbshell works successfully.
Googling suggests it might be a
banner_timeout
setting for paramiko.The text was updated successfully, but these errors were encountered: