Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with brocade_fastiron & ruckus_fastiron [Netmiko Login] #11

Open
evilmonkey19 opened this issue May 11, 2024 · 0 comments
Open

Issue with brocade_fastiron & ruckus_fastiron [Netmiko Login] #11

evilmonkey19 opened this issue May 11, 2024 · 0 comments

Comments

@evilmonkey19
Copy link
Contributor

Netmiko can enter the device correctly. However, once is connected it waits trying to read something in the enable mode:

Traceback (most recent call last):
  File ".../testing_netmiko.py", line 17, in <module>
    with ConnectHandler(**credentials) as conn:
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File ".../versions/fakenos-3.11/lib/python3.11/site-packages/netmiko/ssh_dispatcher.py", line 399, in ConnectHandler
    return ConnectionClass(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File ".../versions/fakenos-3.11/lib/python3.11/site-packages/netmiko/base_connection.py", line 488, in __init__
    self._open()
  File ".../versions/fakenos-3.11/lib/python3.11/site-packages/netmiko/base_connection.py", line 494, in _open
    self._try_session_preparation()
  File ".../versions/fakenos-3.11/lib/python3.11/site-packages/netmiko/base_connection.py", line 988, in _try_session_preparation
    self.session_preparation()
  File ".../versions/fakenos-3.11/lib/python3.11/site-packages/netmiko/ruckus/ruckus_fastiron.py", line 17, in session_preparation
    self.enable()
  File ".../versions/fakenos-3.11/lib/python3.11/site-packages/netmiko/ruckus/ruckus_fastiron.py", line 46, in enable
    new_data = self.read_until_prompt_or_pattern(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File ".../versions/fakenos-3.11/lib/python3.11/site-packages/netmiko/base_connection.py", line 860, in read_until_prompt_or_pattern
    return self.read_until_pattern(
           ^^^^^^^^^^^^^^^^^^^^^^^^
  File ".../versions/fakenos-3.11/lib/python3.11/site-packages/netmiko/base_connection.py", line 731, in read_until_pattern
    output = output + match_str
             ~~~~~~~^~~~~~~~~~~
TypeError: can only concatenate str (not "NoneType") to str

Please, may someone provide the output when connected to Ruckus Brocade Fastiron?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant