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

Session log file is empty for fortinet type devices while the remote connection is still active #3378

Open
cbuons opened this issue Feb 2, 2024 · 0 comments

Comments

@cbuons
Copy link

cbuons commented Feb 2, 2024

Description of Issue/Question

Since updating to 4.3.0 (from 4.2.1), we've noticed an issue wherein the session log file is not written to until the remote connection is disconnected. This issue has only been observed on fortinet device types so far (due to our environment, though it may occur on other device types). In the past, we would tail the session log to monitor the read/write activity while executing network automation scripts since it was a "live" view of the device CLI, and allowed our engineers to watch for any unexpected activity or errors.

This issue has been reproduced on macOS 14.3, Ubuntu 22.04.3, and RHEL 7.9. Our current workaround has been to revert back to netmiko 4.2.1 for now.

Setup

Netmiko version

(Paste verbatim output from pip freeze | grep netmiko between quotes below)

netmiko==4.3.0

Netmiko device_type (if relevant to the issue)

(Paste device_type between quotes below)

fortinet

Steps to Reproduce the Issue

Send any batch of commands and follow the session log with `tail -f <PATH-TO-LOG>`
@cbuons cbuons changed the title Session log file is empty for fortinet type devices until the remote connection is disconnected Session log file is empty for fortinet type devices until the remote connection is disconnected Feb 2, 2024
@cbuons cbuons changed the title Session log file is empty for fortinet type devices until the remote connection is disconnected Session log file is empty for fortinet type devices while the remote connection is still active Feb 2, 2024
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