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
Napalm is not closing correctly the objects created for Arista SSH session. We identified this when noted a thread that remains open after a getter is completed for an EOS device. Trying to use the close() method is causing an exception (see below)
device.close() is commented as it causes an exception
Error Traceback
Traceback (most recent call last):
File "test_napalm.py", line 21, in <module>
device.close()
File ".../venv/lib/python3.8/site-packages/napalm/eos/eos.py", line 234, in close
if hasattr(self.device.connection, "close") and callable(
AttributeError: 'AristaSSH' object has no attribute 'connection'
The text was updated successfully, but these errors were encountered:
Description of Issue/Question
Napalm is not closing correctly the objects created for Arista SSH session. We identified this when noted a thread that remains open after a getter is completed for an EOS device. Trying to use the close() method is causing an exception (see below)
Did you follow the steps from https://github.com/napalm-automation/napalm#faq
Setup
napalm version
Network operating system version
Steps to Reproduce the Issue
Run a script including a Napalm getter inside a loop and monitor the threads. It will show a new thread after each run:
device.close() is commented as it causes an exception
Error Traceback
The text was updated successfully, but these errors were encountered: